Highcharts charting with CSV format data

Source: Internet
Author: User
Highcharts charting with CSV format data

CSV (comma-separated values, comma-separated value text format) is a comma-delimited, plain-text data. Typically, each data is separated by a comma, and several related data consists of one row, and multiple rows of data form a CSV format data. Because of its plain text features, all kinds of databases can be exported and imported data in CSV format directly. The following is a simple CSV format data:
Mock exams, Scores
1,85
2,93
3,95
4,91
5,97
6,94
7,89
Where the first column is the value of the x-axis, and each subsequent column is a data column. Starting with the second value of the first row, each value is the name of a data column. In Highcharts, to introduce CSV data, you need to use a configuration item CSV. Its syntax is as follows:
Csv:string

The graphs generated using the above data are as follows:

Generate a chart using CSV format
PS: This content has been added to the "Web Diagram highcharts Practical tutorial Basic article" v1.2.4.

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Highcharts charting with CSV format data

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.