Question
I would like to put multiple charts on a single page. I have tried two things, charting two sets of data from a single table and duplicating the table, renaming it and plotting the second set of chart data from the second table.
Both ways give the same result, two charts which are identical and always plot the data referred to in the second
%CHART{}% instance.
Is this a bug or am I doing sometnig wrong?
Environment
--
GerryThompson - 19 Apr 2007
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
You need to name the tables when showing multiple
ChartPlugin charts in the same topic. See example at
TWikiOrgStatistics.
--
PeterThoeny - 19 Apr 2007
i looked at
TWikiOrgStatistics but it doesn't manifest the problem because, afaict, it has only
one table. i made
ChartPluginTestMultipleCharts to demonstrate the problem (though perhaps i'm not using the plugins correctly?)
--
WillNorris - 29 Apr 2007
Oh, I actually meant
ProductionReleaseStatistics. Also, the
ChartPlugin topic has multiple tables with multiple charts.
Will: If you give a table a name it must start with a number. A number refers to the n-th chart in the topic.
--
PeterThoeny - 29 Apr 2007
| Set Point |
Board Temp SOH |
Amplitude |
Linear Curve fit |
| -27 |
-20.1 |
-27.42 |
-27.44 |
| -22 |
-15.85 |
-27.47 |
-27.48 |
| -17 |
-11.16 |
-27.55 |
-27.52 |
| -7 |
-0.25 |
-27.63 |
-27.62 |
| +3 |
10.4 |
-27.67 |
-27.72 |
| +13 |
19.9 |
-27.71 |
-27.81 |
| +23 |
28.8 |
-27.93 |
-27.89 |
| +33 |
38.8 |
-28.01 |
-27.98 |
| +43 |
48.8 |
-28.07 |
-28.07 |
I have attached a table above. In graph one I want to chart columns 1 and 2. In graph 2 I want to chart columns 2, 3, 4. I always get the same data in both charts and it is always the last chart definition that prevails. Is it possible to do two unique charts from one table?
--
GerryThompson - 02 May 2007
could you please also paste in the CHART directives you are trying to use?
ChartPlugin is installed here at twiki.org
--
WillNorris - 06 May 2007
Every thing works now! I may have duplicated the name="" parameter in both my chart definitions. Thank you for your help!
--
GerryThompson - 07 May 2007