score:2
Accepted answer
The problem is that values are strings, for example, your data:
["2011-05-30 00:00:00","130"]
Should be instead:
[1306706400000, 130]
To it's timestamp in ms and true value.
You can read about JSON_NUMERIC_CHECK
option for json_encode(string, JSON_NUMERIC_CHECK)
to change strings to numbers. But dates to timestamps you need to change on your own.
Edit: Also the problem was with setting data in doubled array, changed from:
data: [rows]
to:
data: rows
Source: stackoverflow.com
Related Query
- Highcharts using JSON - graph not displaying mysql data
- Formatting JSON data monthwise for HighCharts using MySQL
- Highcharts not displaying series data for graph with multiple Y-axes
- JSON data not showing in highstock Candlestick chart using PHP & MYSQL
- Data and tooltip not working for graph using highcharts
- HighCharts Bubble graph JSON as data source
- Highchart json from mysql data not able to show up in line graph
- Highcharts Graph Blank Using JSON Data
- Highcharts not displaying json data in php
- Highcharts not being drawn in some cases when using data from MySQL (page elements created before database query complete?) PHP / MySQL
- HighCharts pie chart X-axies values are not displayed while trying to get data from MySQL database using PHP
- HighCharts Dates not filling in on xAxis using JSON data feed
- Load mysql data to Highcharts line chart using JSON
- Highcharts not displaying JSON data
- Highcharts not displaying JSON data
- Highcharts not displaying data labels for Pie chart in arabic
- Using Highcharts and displaying a message over or on the chart when there is no data
- Highcharts not displaying data at some zoom levels
- Using highcharts with rails not displaying plotLines
- Highcharts - Multiple Axis Graph not displaying labels
- Rails collecting and rendering JSON data in to a Highcharts graph
- Highcharts Not displaying function's data values
- Generating Highcharts from MySQL data with PHP does not work
- Highchart is not getting populated using external json data
- Highcharts display label for pie chart using html table as data source
- Plot a bar graph using Highcharts drilldown with two different JSON end points
- Highcharts not displaying data but drawing chart when reading from CSV file
- jquery show() not displaying properly for highcharts graph
- Having trouble JSON encoded data from MySQL through Highcharts
- HTML table as data source for highstock charts using highcharts
More Query from same tag
- How to set options?
- Highstock / Highcharts - Flag linecolor masking line below it
- Accessing another list in the dataLabels.formatter function in Highcharts
- highchart js, tickinterval of 2 years(odd years) in x-axis
- HIGHCHARTS - Jquery/Ajax access php variables from the php file called by ajax
- Highchart performance slow on plotting live data
- Highstock setExtremes not working properly
- Symbol-outline with pie chart -or- custom legend symbols
- Highcharts/Highstock : Auto scroll on the graph with overflow-x, instead of a scrollbar
- multiple Drilldown in Highcharts using values from database in ruby on rails
- Highcharts not displaying charts through angular controller
- Need to create this graph in Highcharts
- How can I plot regions using HighCharts GeoMaps?
- Highcharts - Large Tree Map: Show values below points name
- Enable all range selector's options in stock highcharts
- Highcharts with React Legend placement and more
- Dynamically load in series HighCharts
- Drawing a small vertical line on top of chart using High charts by specifying end coordinates
- Run Highcharts on Server side code to add to Word document
- Can we display a tooltip by default not by mouseover
- Do I need to download a specific js library to use highcharts-ng directive or is it already embedded in highcharts.js
- Highstock/Highchart cannot set Individual Point color
- Highcharts - synchronized-charts crosshair line and circle point display
- HIghcharts Scrollbar (w/ showFull false) displays after setExtremes called
- Highstock charts give "Uncaught TypeError: Cannot read property 'addPoint' of undefined" error
- Legend is disappearing on HighCharts pie refreshing
- Highcharts pie spacing title - chart - legend
- 3d chart for Highcharts with legends
- Including server tags within javascript
- How to display highchart y axis with constistant data