This topic is locked

Multiple Charts Search

11/4/2013 11:09:55 AM
PHPRunner General questions
Graphix author

I am using line charts to display date parameters over 24 charts I have followed the instructions to show multiple charts on one page which works perfectly.
The problem is that when I use the search page to refine the chart data only the first chart is modified the other 23 continue to display all the values in the table.
Is there a way I can make the search page for "Readings_Chart" affect Readings_Chart 1&2,3,4..... etc" one other thing how do I display them horizontally rather than vertically do I have to create a table to do that?
thank you

Kevan

Graphix author 11/5/2013



I am using line charts to display date parameters over 24 charts I have followed the instructions to show multiple charts on one page which works perfectly.
The problem is that when I use the search page to refine the chart data only the first chart is modified the other 23 continue to display all the values in the table.
Is there a way I can make the search page for "Readings_Chart" affect Readings_Chart 1&2,3,4..... etc" one other thing how do I display them horizontally rather than vertically do I have to create a table to do that?
thank you

Kevan


I have tried this but cannot find if(@$_REQUEST["a"]=="advsearch")
Hi,
you can edit generated ..._chart.php file.

Find this code:
Quote
if(@$_REQUEST["a"]=="advsearch")

{

...

$_SESSION[$strTableName."_pagenumber"]=1;

}
and replace it with this one:
Quote
if(@$_REQUEST["a"]=="advsearch")

{

...

$_SESSION[$strTableName."_pagenumber"]=1;

$oldtable=$strTableName;

$strTableName="chart2";

...

$strTableName=$oldtable;

}
Copy all code between { and } and paste it just after $strTableName="chart2";