score:7
Accepted answer
is this what you're looking for?
http://jsfiddle.net/twf6n/349/
$(function () {
data = {"aadata": [
[1, "70.1700", "2008-12-29 11:23:00"],
[2, "70.2600", "2008-12-29 16:22:00"],
[3, "70.6500", "2008-12-30 11:30:00"],
[4, "70.8700", "2008-12-30 16:10:00"],
[5, "70.5500", "2009-01-02 11:09:00"],
[6, "70.6400", "2009-01-02 16:15:00"]
]};
newdata = data.aadata.map( function(row) {
return [ new date(row[2]).gettime(), parseint(row[1]) ];
});
console.log(newdata);
var chart = new highcharts.chart({
chart: {
renderto: 'container'
},
xaxis: {
type: 'datetime'
},
series: [{
data: newdata
}]
});
});
Source: stackoverflow.com
Related Query
- how to parse json into highcharts
- How to parse JSON into HighCharts line graph?
- Highcharts / HighStock - How to parse JSON correctly
- Highcharts csv data loading and parse into separate array and json
- How to load custom JSON data into Highcharts mapbubble?
- How to fetch json array data into highcharts in angularjs
- how to import JSON data into VS2012 to plot highcharts
- How to pass json data to highcharts series?
- How to get multiple data series into Highcharts
- How to pass custom data into Highcharts graph click event
- How to output JSON in python so it can be used for Geckoboard's Highcharts plugin
- Highcharts phantomjs export server can't parse json string
- How to insert json within an array into highcharts?
- Importing JSON file into Highcharts for Bar Chart Visualization
- How to format my json data for stack column chart in HighCharts
- How to parse dates in highcharts from csv
- How to make Highcharts fetch data from external JSON file?
- How to input plot data into highcharts with rails
- How do i add mouse wheel code in Angular2 highcharts in typescript
- how to display 2 same highcharts without duplicate the code
- Python: How to transform DF into Json series?
- How to construct HighCharts data series to match returned Json via ajax call
- How to create data in Json format for highcharts
- How to edit tooltip in Highcharts C# code
- How to generate highcharts chart from multiple local json files
- Getting data from Postgres in JSON format in ROR into a Highcharts javascript
- passing json values to highcharts from .net code behind
- how to use highcharts tooltip formatter in python code
- passing formatting JavaScript code to HighCharts with JSON
- how to create highcharts formatted json structure with python
More Query from same tag
- How to create overlapping bar charts in angular js?
- Highstock xAxis datetime pointer line
- HighStocks with Reactjs - Make it occupy full size of div container
- How to highlight specific Point with Highcharts Js
- Tooltip for Highcharts graph shows "undefined" in Chrome, but the correct value in Firefox
- Date / Time problem in javascript with highcharts
- HighChart: Show custom label on series (spline)
- Chart area exceeding series length
- highchart not rending in rshiny but is working in my directory
- Parsing json.dumps to HighCharts in Django
- Highcharts v7.1.2 width scaling issue when using css transform scale
- Highcharts Node.js export server : Connection error
- Change color of marker on hover points - Highcharts
- How to format xAxis label as date for each value in Highcharts?
- Highcharts - load json data
- Highcharts - Return string to other container on hover
- How to calculate the trend line
- responsive highcharts with dynamic font size and widths
- PHP Cache external JSON API in local file - not working
- Can highcharts xrange labels be shown only if they fit the box?
- Highcharts Multi-Depth 3d pie chart
- Implement slider in highcharts
- Centered axes in highcharts
- Highcharts - Drag ColumRange
- Highchart.Chart() on Marionette App
- Highcharts add series dynamically
- In highcharts horizontal bar chart, I can't display the default ticks
- highcharts. How to determine the coordinates of the point where the CLICK was made?
- High Charts xAxis first label repeating on all ticks
- Highchart xAxis and value did not align