开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜