I started with the basic example: https://jsfiddle.net/gh/get/library/pur ... color-axis
... which is based on .getJSON() & modified it to match similar chart or stockChart working examples I have with csv...
For instance, I tried this simple replacement:
Code: Select all
series: [{
//... demo code ...
//data: data,
data: {
csvURL: 'http://localhost/testData.csv',
enablePolling: false
},
//... demo code ...
... which works for other chart types (line, bar, etc.) but doesn't work for mapChart?
For reference, testData.csv, contains the following:
Code: Select all
code,value,label
ND,13,42
SD,42,69
I've looked in the documentation, but can't find any special "callout" for mapChart, stating this functionality doesn't work for mapChart:
https://api.highcharts.com/highcharts/data.csvURL
I want to use data.csvURL because then it matches all my other code flows for the other types of charts.
Any help would be greatly appreciated.