score:1
Accepted answer
Highcharts can take data in several different ways. I think the one you're looking for is:
An array of arrays with 2 values. In this case, the values correspond to x,y. If the first value is a string, it is applied as the name of the point, and the x value is inferred.
data: [
[0, 1],
[1, 2],
[2, 8]
]
Source: stackoverflow.com
Related Query
- highcharts line chart passing in x values
- Highcharts - best way to handle and display zero (or negative) values in a line chart series with logarithmic Y axis
- passing json values to highcharts from .net code behind
- Highcharts - draw line chart with summed values but show breakup on hover
- HighCharts turn animation false for line chart
- Highcharts => Getting the id of a point when clicking on a line chart
- Improve performance of Highcharts line chart
- Total of values in HighCharts Pie Chart
- Highcharts line chart won't display line chart in IE
- Hide 0 values in Stacked Column Chart in Highcharts
- Highcharts - Scatter chart with a line connecting the dots in the series
- Highcharts line chart tooltips not showing correctly?
- Add dynamic data to line chart from mysql database with highcharts
- Highcharts Line - When Y axis min is set to 0, connecting line isn't shown for consecutive 0 values
- Highcharts reversed line chart is partially hidden at min value
- Add custom buttons in Angular Highcharts Line Chart
- Highcharts line with null values
- AJAX displaying values from two different functions in a single Highcharts chart instead of two different ones
- Highcharts - Area Chart - Stacking with series containing negative and positive values
- Highcharts column + line combination chart with multiple series. Issue aligning line over the column
- I want to add a line to each column in a Highcharts column chart
- Overlap datalabels line chart highcharts
- HighCharts Stock Chart error code 18
- Showing marker for separate values only in line chart in HIghchart
- How to add a horizontal line in Column bar chart in Highcharts plugin?
- Passing in Id for each data item in bar chart using highcharts
- Don't interpolate between missing values in Highcharts line chart?
- How to change space value between grid and yAxis in Highcharts line chart
- Highcharts line chart with multi colored areas
- Highcharts change symbol and hover text of individual points Line Chart
More Query from same tag
- How to breaks highcharts x-Axis category
- High Charts Stacked column with drilldown not working properly
- Commas in CSV values import into Highcharts Editor
- How to add image to High-chart?
- Highcharts Scatter plot - Add series from database as a different color
- HighCharts: context menu hidden for small charts
- Can not export renderer text using highcharts/highstock when click range selector
- Highcharts: how to get the data points in the zoomed window?
- Highcharts: get an event before drilldown?
- Highcharts markers on bar charts
- Enabling markers for hover doesn't appear to work
- High chart width issue
- Adding Series during componentWillReceiveProps does not work
- Highcharts: create a simple line graph with json data
- How to draw line from Data label to Marker in Highchart Scatter Plot
- Newline axis labels exporting to SVG
- High Charts Breaking jQuery Across Rails App
- Updating plotOptions bar color on a click event
- HighcharteR facetted item type chart
- Highcharts, trying to regulate maximum height of chart columns NOT including Axes
- Repeated values in x axis in dotnet highchart controls
- How to make map with overlaid column charts using highmaps
- How to give background color to selected x-axis label in highcarts gantt
- add a bar Highcharts series
- date time plotting in highcharts
- Highcharts - Show a string category label in the tooltip for a line graph
- Highchart Maps (Highmaps)- data
- Highcharts lines not being drawn until browser is resized
- Highcharts 4.0 iPhone/Touchscreen Scrolling
- Highcharts - Hide export menu in print page