javascript - How to create this picture?

WBOY
Release: 2016-08-23 09:17:52
Original
818 people have browsed it

javascript - How to create this picture?

Of course it’s impossible to do this troublesome thing, and you don’t need so many lines, just one:

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

What technology is used to generate these line graphs and statistical graphs?

php? JavaScript? Or something else?
What function do you use?

Reply content:

javascript - How to create this picture?

Of course it’s impossible to do this troublesome thing, and you don’t need so many lines, just one:

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

What technology is used to generate these line graphs and statistical graphs?

php? JavaScript? Or something else?
What function do you use?

echart bar Baidu

There are many such plug-ins, just choose the one that suits your business. Third-party chart plug-in, this is a Chinese chart plug-in, made of JavaScript. The data is provided by the server, just like you said PHP, PHP provides the data, and the chart plug-in provides the display.

Why do they look so much like the written test questions of Flush

K line chart, echarts can realize it. There is also a plug-in called highcharts, but it seems that it cannot implement K-line charts. Just try it yourself and get comfortable with it first.

highstock

Recommend highcharts, it’s pretty good. The process is: PHP gets the data from the database, organizes and calculates the data, and then passes the data to js. js can use the highcharts library just mentioned. According to a certain form, PHP puts the data Pass it to js, ​​which will then render it into the chart you need and display it in html.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!