score:1
HighCharts accepts datetime in to milliseconds
so first convert datetime string to milliseconds & then pass to HighCharts object.
score:1
Thanks a Lot @Waqar, the hint with the miliseconds brought me to this site link So I changed:
foreach ($dataDatum as &$value) {
$datetime1[] = date('y, n, j, G, i, s', strtotime($value));
}
unset($value); // Entferne die Referenz auf das letzte Element
foreach ($datetime1 as &$value) {
$datetime2[] = 'Date.UTC('.$value.')';
}
unset($value); // Entferne die Referenz auf das letzte Element
to
foreach ($dataDatum as &$value) {
$datetime1[] = strtotime($value);
}
unset($value); // Entferne die Referenz auf das letzte Element
foreach ($datetime1 as &$value) {
$datetime2[] = $value * 1000;
}
unset($value); // Entferne die Referenz auf das letzte Element
And this works totaly fine for me!
Source: stackoverflow.com
Related Query
- Highcharts / JavaScript month is incompatible with MySQL
- passing formatting JavaScript code to HighCharts with JSON
- Add dynamic data to line chart from mysql database with highcharts
- Highcharts - Global configuration with common code and unique data & Headings
- Data with timestamp group to month(like Jan, Feb, March) and showing as total count for month in Highcharts
- when printing page with highcharts using javascript this.print() width values in css in @media print seem to be ignored
- Highcharts - How to populate date with Mysql and PHP?
- Date / Time problem in javascript with highcharts
- c# WPF Webbrowser with Highchart, Javascript from external source not working "An error has occurred in the script on this page"
- Using Highcharts with mysql for Page Visits
- Generating Highcharts from MySQL data with PHP does not work
- Prevent from executing previous JavaScript with turbolinks and highcharts //LazyHighCharts
- highcharts with only javascript and no jquery
- HighCharts - making a Pie with MySQL and PHP
- Highcharts series visibility with csv data source
- Javascript Highcharts High buttons and calender with jquery
- Uncaught TypeError: Cannot read property '0' of undefined javascript error and with highcharts
- How to transform dict in list with JavaScript to return in Highcharts
- javascript associative array, looping, and / or scope issue with Highcharts JSON call
- How to have multiple highcharts with different series data in vuejs without repeating code
- Why code of Horizonal line(y-axis) on a single in Highcharts get applied to all other charts integrated with Webdatarocks
- Server-side c# and client side javascript with json loading Highcharts gantt chart Task Progress Indicator, need to change Tooltip and Label name
- Error: Data source must be a URL for refresh | console error | javascript | Highcharts
- Highcharts cloud issue with data source when duplicating chart
- highcharts with type scripts and vue, type incompatible error
- Compare one month of two year with Highcharts
- Dynamic chart using Highcharts with data from MySQL database
- Populating Highcharts chart with data received from MySQL
- Getting numbers on Y-axis to show up as percentages with code from a Highcharts code generator tool?
- Highcharts highstock update date filter with javascript
More Query from same tag
- Highcharts - PDF export format; font sizes for bar chart axis
- Highstock, multiple series chart, independent xAxis
- Highcharts GANTT Chart Tooltip Mouse-over Tracking Issue
- Hiding axis labels in non-aggregate columns during drillown
- HTML displaying values in JavaScript "data"
- Setting data with null values doesn't remove dots from the chart
- highcharts dynamic use of plugin grouped_categories
- Highstocks graph width not correctly rendered
- add scatter points on line chart, Highcharts
- Click event on bar high charts in angular 2
- Highlight serie hover highcharts
- Highcharts Error 13 on Ajax Result and Dynamic Div
- Highcharts calculated max value not working with 2+ Y axis
- if statement in Highcharts
- Can I set HighChart startOnTick/EndOnTick dynamically?
- Highcharts problem with decimals if there are many data points
- highcharts stacked columns and spline messed up yAxis display
- highchart not rending in rshiny but is working in my directory
- How to move line series in Highchart?
- Setting background text in Scatter Plot using Highcharts API
- Meteor: Reusing a Template With a Chart-Div
- Formatting data in correct format for HighCharts mvc asp.net
- HighCharts Line xas datetime
- HighCharts - Angular 7 - Sunburst drillup event not triggering
- highstock selected rangeSelector is computed from the current end date in the slider and not from the start date
- Can I Create a Single HighCharts Graph from Multiple Data Sources (Multiple GoogleSheets in this case)
- How to avoid cropped data labels in highcharts
- Column rang chart is not getting reset when click on legends in highcharts
- How to toggle date input datepicker in Highstock rangeSelector
- HighCharts - Make the pie chart 100% of the div