简体   繁体   中英

Commas in CSV values import into Highcharts Editor

Using the Highcharts editor demo,

http://editor.highcharts.com/full.html

To get some sample data, for the first step in the wizard, click 'sample data' and 'categorised, 4 data columns' (the first option).

Then replace

Jan,7,-0.2,-0.9,3.9

with

"A,B",7,-0.2,-0.9,3.9

and press import. Highcharts complains with error 14: http://www.highcharts.com/errors/14

It looks like the CSV format isn't fully supported, ie commas inside values supported by quotes. Are there any plans to allow that?

I created an issue on Highcharts repository:

https://github.com/highcharts/highcharts/issues/6503

As an alternative you can use different delimeter:

http://api.highcharts.com/highcharts/data.itemDelimiter

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM