开发者

PHP _google chart _ multiple files' data in 1 graph ... how to ? _ basic question

开发者 https://www.devze.com 2023-02-28 06:31 出处:网络
In google chart, <img src=\"<?php print $barChart->getUrl();?>\" /> <br> for today.is used to create the img corresponding to the graph.

In google chart,

<img src="<?php print $barChart->getUrl(); ?>" /> <br> for today. is used to create the img corresponding to the graph.

I have used LOOPS to read multiple text files, then extract values and put them in an array, then use this array to pass it to the $barChart->addDataSet function.

The problem is that only the graph for day 1 (i.e. file 1) gets displayed. Day 2 needs either:

  1. I NEED to CREATE A NEW STACK开发者_JAVA技巧 FOR each file. How do I achieve this?

    or

  2. I need to create separate graphs for each file on the same WEBPAGE. How do I achieve this?

Please help!!

It would be better if I can create a separate stack for each file.

0

精彩评论

暂无评论...
验证码 换一张
取 消