简体   繁体   中英

Read data from csv file in Highchart Angular

I want to read data from CSV file which is located into assets folder in my local system. And in CSV file there are 5,6 column in it.

Note: Angular Project, So there is no jquery.

Reference to comments - you should be able to define your data from CSV by using the seriesMapping , parsed or complete feature.

API: https://api.highcharts.com/highcharts/data.parsed

API: https://api.highcharts.com/highcharts/data.seriesMapping

API: https://api.highcharts.com/highcharts/data.complete

Please check the demo, test it and try to implement it to your needs. If this wouldn't help reproduce your case with the sample data on some online editor which I could work on.

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