score:2
Accepted answer
Your problem is in here:
data: [data[aIDs[i]].join(',')]
.join
returns a string, which isn't what you need. You probably need:
data: data[aIDs[i]]
Since data[aIDs[i]]
already appears to be an array.
However, since it's an array of string, there's one last step:
data: data[aIDs[i]].map(JSON.parse)
This should parse each individual string in data[aIDs[i]]
, and result in an array of {x: number, y: number}
elements.
Source: stackoverflow.com
Related Query
- Converted PHP code that built an array to JS and now highcharts doesn't work - what did I do wrong?
- Storing mysqli_query into multidimensional php array and utilizing that array as input to highcharts
- Highcharts code with same set of code/data works in PHP but does not work in JSfiddle
- Highcharts data series issue with ajax/json and PHP
- Using html2canvas to render a highcharts chart to pdf doesn't work on IE and Firefox
- Highcharts - Global configuration with common code and unique data & Headings
- How to populate a Highcharts axis with string formatted data from a PHP array
- Highcharts Column-chart with php and Ajax
- Highcharts - Series tooltip doesn't work when plotting lines that zigzag on the x axis
- Weekly PDF generation using PHP and Highcharts
- what means ${demo.css} in example files of highcharts ? That piece of code seems to be literal
- Creating depth chart using highcharts and creating bids and asks in such a way that bids and asks are created from center of chart
- making title in highcharts clickable and work with bootstrap popover?
- HighCharts and Javascript to pass data as array
- Node.js, express, jade, highcharts and 2D array
- plotBands Hide and Show parameters do not work in Highcharts
- Generating Highcharts from MySQL data with PHP does not work
- Simple, Open source PHP wrapper for Highcharts library
- Creating charts and including them in email, a PHP lib that can render to image?
- Highcharts - what is it about my data that causes "setExtremes" to not work correctly?
- Highcharts series doesnt show data and render the chart
- Yii2 How to pass php array data into highcharts
- Convering yyyy-mm-dd to unix timestamp in array and put it back at the same position after converted it. [Javascript]
- Php 2D array into javascript array in highcharts
- What's the code in Highcharts such that the bars (columns) in the same group use the same color?
- HighCharts - making a Pie with MySQL and PHP
- How to make sure that highcharts spline graphs stays between 0 and 1?
- How to display only last point on highcharts and that point should travel with chart line?
- Highcharts add several series with PHP array
- Highcharts doesnt work on pagination next page
More Query from same tag
- angular2-highcharts click on point, open user input, display user input in annotation
- highcharts: change color of pie slice on hover
- How do I transform between datetimes and chart coordinates in Highcharts Renderer?
- Highchart remove decimal places
- Convert bar bullet chart into column chart
- Highcharts categories from data array
- highcharts categories issues
- Enable/Disable `Navigator` pane in Highchart
- How to integrate Highmap chart with angular 5 Application?
- Highcharts: incorrect column placement with linked series?
- Implementing HighCharts
- HighCharts is it possible to pass an object to pointer config of Gauge chart?
- Highchart Treemap Colors
- Jquery, highchart: render plot on button click, roll backs
- Highcharts, set legend height dynamically
- Issues Getting Highcharts Export Server Running Under iisnode
- Size of graph in highcharts
- Keep Scroll on the Right Highchart
- Highcharts navigator handle height
- Highcharts 2 groups of series
- "HighCharts not showing in IE, works well with mozilla, chrome"
- HIGHCHART: HOW TO START TICK AT (0,0)
- Highcharts Legend Custom HTML
- Is it possible to trigger tooltip in highchart of a line chart ONLY when the mouse hovers over the point?
- Highcharts heatmap does not render correct colours according to specified colour stops
- Isolate a single series on Highcharts line chart
- ionic 2 highchart not visible
- Cannot read property 'type' of undefined highcharts highstock
- Add static content into highchart exported pdf header
- Highcharts capture selection