Javascript-how does this graph work?

Source: Internet
Author: User
Of course, this problem cannot be solved in the past, and there is no need for so many lines. you just need one line: {1: 888, 2: 777,3: 666, 4: 999 ...} in this case, what technologies are used to generate these line charts and statistical charts? Php? JavaScript? Or something else? What functions do they use?

Of course, this problem cannot be solved in the past, and there is no need for so many lines. just one line is enough:

For example
{
1: 888,
2: 777,
3: 666,
4: 999
...
}

In this case, what technologies are used to generate these line charts and statistical charts?

Php? JavaScript? Or something else?
What functions do they use?

Reply content:

Of course, this problem cannot be solved in the past, and there is no need for so many lines. just one line is enough:

For example
{
1: 888,
2: 777,
3: 666,
4: 999
...
}

In this case, what technologies are used to generate these line charts and statistical charts?

Php? JavaScript? Or something else?
What functions do they use?

Echart bar Baidu's

There are many such plug-ins. you just need to select one suitable for your own business. Third-party chart plug-in, which is a Chinese chart plug-in and made in JavaScript. Data is provided by the server. as you said in php, php provides data and the chart plug-in provides presentation.

Why are you looking at the similar pen questions?

The key line chart can be implemented by echarts. There is also a plug-in named highcharts, but it seems that the k-line chart cannot be implemented. You just need to try the first one.

Highstock

We recommend highcharts, which is quite good. the process is: PHP obtains data from the database, organizes and computes the data, and then transmits the data to js. js can use the database highcharts just mentioned, in a certain form, PHP transmits the data to js, and js renders the data into the expected chart, which is displayed in html.

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.