pChart 2.x forum

When draw line how to include data from other file or page?
Page 1 of 1

Author:  maxwell [ Wed Oct 02, 2013 10:24 am ]
Post subject:  When draw line how to include data from other file or page?

Hi all:

When I want to draw line, I want the data can be reference from other place,

e.g. a txt file or a html file or some other place.

In the examples, something like :


I want to change it to something like :

date_01 = include(file_name_01.txt)
date_02 = include(file_name_02.txt)
date_03 = include(file_name_03.txt)

The file_name_01.txt only have numbers, if one number like 2.3 or some numbers like 3.5,50,22
The file_name_02.txt also like file_name_01.txt

Then the $MyData will auto inlude the data in the file_name_01 and file_name_02 and so on.

So I not need to modify the php file every time.

The reasion why I want this function is I use Dokuwiki, and want the date can auto reference from other wiki page,

I have install the "include" plugin, it can use somethiong like the {{page>:some_page_link}} to include the data from other page.

I want the pCharthart can work like that. I think if add an new symbol, can do some assignment or include work will be great!

I just beginning to use the pChart.

First I want to install the pChart in Dokuwiki, but the pchart download link at Dokuwiki I can't access or not invalid?

https://www.dokuwiki.org/plugin:pchart and http://pchart.sourceforge.net/

I can't download the pChart plugin.

Second I want the function I have said can achieve.

If someone can help me get the plugin of the Dokuwiki(Weatherwax) it will very thanks.

And if the pChart already have this function please let me know it:)

I will keep to update this topic, and now I will study the code of pChart. Maybe need a long-term.

And last, I am the first time came to this place, hope everyone the GOOD LUCK!


Hi all:

I have download the pChart 2.13, and it can run with my webserver.

And I patch the syntax.php follow dokuwiki website https://www.dokuwiki.org/plugin:pchart .

replace getHtmlCode and doChart and getAllowedTypes and preg_replace and DoBar.

I input sample code and nothing display on the webpage.But the pChart not work.

Author:  maxwell [ Fri Oct 04, 2013 1:20 pm ]
Post subject:  Re: When draw line how to include data from other file or pa

I think I shold begnig at the pDraw.class.php and pData.class.php

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group