How to use php to generate a K-line chart similar to the stock market
Source: Internet
Author: User
How to use php to generate a K-line chart similar to the stock market? suppose: & nbsp; I have a two-dimensional array: & nbsp; $ data = array (& nbsp; array ('time' = & gt; 'xxxx-XX-XX_1 ', how to use php to generate a key line chart similar to the stock market
Suppose:
I have a two-dimensional array:
$ Data = array (
Array ('time' => 'xxxx-XX-XX_1 ', 'moeny' => '0. 00 '),
Array ('time' => 'xxxx-XX-XX_2 ', 'Money' => '1. 00 '),
Array ('time' => 'xxxx-XX-XX_3 ', 'Money' => '2. 00 '),
Array ('time' => 'xxxx-XX-XX_4 ', 'Money' => '3. 00 ')
);
Requirement: how can we use this two-dimensional array to implement a K-line chart similar to the stock market (the x axis is time, and the y axis is money)? do you have an idea or a ready-made reference column?
------ Solution --------------------
Open flash chart.
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