Home  >  Article  >  Backend Development  >  怎么利用php生成类似于股市的K线图

怎么利用php生成类似于股市的K线图

WBOY
WBOYOriginal
2016-06-13 13:39:441720browse

如何利用php生成类似于股市的K线图
假如:
  我有个一二维数组:
  $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')
);
要求:怎么才能实现利用这个二维数组,实现一个类似于股市的K线图(X轴为时间,Y轴为金钱);大家有想法或者是有现成的参考列子吗?

------解决方案--------------------
open flash chart.

Statement:
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