<<O>>  Difference Topic ChartPluginTests (r1.4 - 30 Aug 2004 - PeterThoeny)

META TOPICPARENT ChartPlugin
Chart Plugin tests
Line: 7 to 7

TOC: No TOC in "TWiki.ChartPluginTests"
Changed:
<
<

Good Charts with various parameters

The following 2 tables are used for testing purposes. The 2nd table is the same as the 1st except that the data is row oriented instead of column oriented. Some of the tests reference other web.topics and the referenced web.topics are described in the comments section for each chart.

>
>

Tables used by tests


Added:
>
>
The following 4 tables are used for testing purposes.

Table #1

Added:
>
>
%TABLE{name="table1"}%

Nr Period Min Acceptable Target Exceptional Actual Comment
1 Start 0 50 70 90 39 initial measure
2 FY03-Q1 0 35 75 95 55  
Line: 21 to 21

6 FY04-Q1 0 40 80 100 68  

Table #2

Added:
>
>
This table is the same as the 1st except that the data is row oriented instead of column oriented.

Added:
>
>
%TABLE{name="table2"}%

Nr 1 2 3 5 5 6
Period Start FY03-Q1 FY03-Q2 FY03-Q3 FY03-Q4 FY04-Q1
Min 0 0 0 0 0 0
Line: 31 to 33

Actual 39 55 36 62 72 68
Comment initial measure          
Deleted:
<
<

Line Tests

Simple single line. No other markings at all

%CHART{ type="line" name="line_1" title="line test #1"  table="1" data="R2:C7..R7:C7" }%

ChartPlugin error: Required Perl module 'GD' not found
Add X axis to above

%CHART{ type="line" name="line_2" title="line test #2" table="1" data="R2:C7..R7:C7" xaxis="R2:C2..R7:C2" }%

ChartPlugin error: Required Perl module 'GD' not found
Add Y axis to above

%CHART{ type="line" name="line_3" title="line test #3" table="1" data="R2:C7..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" }%

ChartPlugin error: Required Perl module 'GD' not found
Add ymin="0" to above

%CHART{ type="line" name="line_4" title="line test #4" table="1" data="R2:C7..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" }%

ChartPlugin error: Required Perl module 'GD' not found
Add ymax="100" to above

%CHART{ type="line" name="line_5" title="line test #5" table="1" data="R2:C7..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" }%

ChartPlugin error: Required Perl module 'GD' not found
Add ylabel="Hello there" to above

%CHART{ type="line" name="line_6" title="line test #6"  table="1" data="R2:C7..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" }%

ChartPlugin error: Required Perl module 'GD' not found
Add numygrids="5" to above

%CHART{ type="line" name="line_6b" title="line test #6b"  table="1" data="R2:C7..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" numygrids="5"}%

ChartPlugin error: Required Perl module 'GD' not found
Change numygrids="2" to above

%CHART{ type="line" name="line_6c" title="line test #6c"  table="1" data="R2:C7..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" numygrids="2"}%

ChartPlugin error: Required Perl module 'GD' not found
Remove numygrids from above and add xlabel="Yep, an X title"

%CHART{ type="line" name="line_7" title="line test #7"  table="1" data="R2:C7..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" }%

ChartPlugin error: Required Perl module 'GD' not found
Add datalabel="on" to above

%CHART{ type="line" name="line_8" title="line test #8"  table="1" data="R2:C7..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="on" }%

ChartPlugin error: Required Perl module 'GD' not found
Add datalabel="box" to above

%CHART{ type="line" name="line_9" title="line test #9"  table="1" data="R2:C7..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="box" }%

ChartPlugin error: Required Perl module 'GD' not found
Add legend to above

%CHART{ type="line" name="line_10" title="line test #10"  table="1" data="R2:C7..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="box" legend="R1:C7..R1:C7" }%

ChartPlugin error: Required Perl module 'GD' not found
Add additional data lines to above and update legend

%CHART{ type="line" name="line_11" title="line test #11" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="box" legend="R1:C4..R1:C7" }%

ChartPlugin error: Required Perl module 'GD' not found
Specify different colors to above. Now are lite red, lite green, lite blue, gray instead of #FF0000, #FFCC00, #00CC00, #FF00FF, #33CCCC, #FF8000, #009900, #FF6666, #3333FF, #800080

%CHART{ type="line" name="line_12" title="line test #12" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="box" legend="R1:C4..R1:C7" colors="#ffAAAA,#AAffAA,#AAAAff,#AAAAAA" }%

ChartPlugin error: Required Perl module 'GD' not found
Restore default colors and change datalabel such that only the last line has values in boxes and the 2nd to last has values (no box) to above

%CHART{ type="line" name="line_13" title="line test #13" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off on box" legend="R1:C4..R1:C7" }%

ChartPlugin error: Required Perl module 'GD' not found
Change ygrid="on" to above

%CHART{ type="line" name="line_14" title="line test #14" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off on box" legend="R1:C4..R1:C7" ygrid="on" }%

ChartPlugin error: Required Perl module 'GD' not found
Change ygrid="off" to above

%CHART{ type="line" name="line_15" title="line test #15" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off on box" legend="R1:C4..R1:C7" ygrid="off" }%

ChartPlugin error: Required Perl module 'GD' not found
Change xgrid="on" to above

%CHART{ type="line" name="line_16" title="line test #16" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off on box" legend="R1:C4..R1:C7" ygrid="off" xgrid="on" }%

ChartPlugin error: Required Perl module 'GD' not found
Change xgrid="off" to above

%CHART{ type="line" name="line_17" title="line test #17" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off on box" legend="R1:C4..R1:C7" ygrid="off" xgrid="off" }%

ChartPlugin error: Required Perl module 'GD' not found
Change width="300"

%CHART{ type="line" name="line_18" title="line test #18" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off on box" legend="R1:C4..R1:C7" ygrid="off" xgrid="off" width="300" }%

ChartPlugin error: Required Perl module 'GD' not found
Change height="150"

%CHART{ type="line" name="line_19" title="line test #19" title="line test #18" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off on box" legend="R1:C4..R1:C7" ygrid="off" xgrid="off" height="150" width="300" }%

ChartPlugin error: Required Perl module 'GD' not found
Default width/height. Get data from ChartPluginTestsRemote. Specify table="2" on new topic="ChartPluginTestsRemote" and web="TWiki". Actual values should show up incremented by 0.52 since data is from a different topic page and the 0.02 denotes the data is from the 2nd table. Legend should show up with Remote since the data on the remote page was set up to include Remote in the legends

%CHART{ type="line" name="line_20" title="line test #20" web="TWiki" topic="ChartPluginTestsRemote" table="2" data="R4:C2..R7:C7" xaxis="R2:C2..R2:C7" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off on box" legend="R4:C1..R7:C1" xgrid="off" ygrid="off" }%

ChartPlugin error: Required Perl module 'GD' not found
Same as above except add an additional data set (averages) that is calculated by %CALC%.

%CHART{ type="line" name="line_21" title="line test #21" web="TWiki" topic="ChartPluginTestsRemote" table="2" data="R4:C2..R8:C7" xaxis="R2:C2..R2:C7" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off on box" legend="R4:C1..R8:C1" xgrid="off" ygrid="off" }%

ChartPlugin error: Required Perl module 'GD' not found
Set title="New title for line test #22" to above

%CHART{ type="line" name="line_22" title="New title for line test #22" web="TWiki" topic="ChartPluginTestsRemote" table="2" data="R4:C2..R8:C7" xaxis="R2:C2..R2:C7" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off on box" legend="R4:C1..R8:C1" xgrid="off" ygrid="off" }%

ChartPlugin error: Required Perl module 'GD' not found
Same as above except add alt="This is the alt tag"

%CHART{ type="line" name="line_23" title="New title for line test #23" web="TWiki" topic="ChartPluginTestsRemote" table="2" data="R4:C2..R8:C7" xaxis="R2:C2..R2:C7" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off on box" legend="R4:C1..R8:C1" xgrid="off" ygrid="off" alt="This is the alt tag" }%

ChartPlugin error: Required Perl module 'GD' not found

Area Tests

Simple area. No other markings at all

%CHART{ type="area" name="area_1" title="area test #1" table="1" data="R2:C7..R7:C7" }%

ChartPlugin error: Required Perl module 'GD' not found
Add X axis to above

%CHART{ type="area" name="area_2" title="area test #2" table="1" data="R2:C7..R7:C7" xaxis="R2:C2..R7:C2" }%

ChartPlugin error: Required Perl module 'GD' not found
Add Y axis to above

%CHART{ type="area" name="area_3" title="area test #3" table="1" data="R2:C7..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" }%

ChartPlugin error: Required Perl module 'GD' not found
Add ymin="0" to above

%CHART{ type="area" name="area_4" title="area test #4" table="1" data="R2:C7..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" }%

ChartPlugin error: Required Perl module 'GD' not found
Add ymax="100" to above

%CHART{ type="area" name="area_5" title="area test #5" table="1" data="R2:C7..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" }%

ChartPlugin error: Required Perl module 'GD' not found
Add ylabel="Hello there" to above

%CHART{ type="area" name="area_6" title="area test #6"  table="1" data="R2:C7..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" }%

ChartPlugin error: Required Perl module 'GD' not found
Add xlabel="Yep, an X title" to above

%CHART{ type="area" name="area_7" title="area test #7"  table="1" data="R2:C7..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" }%

ChartPlugin error: Required Perl module 'GD' not found
Add datalabel="on" to above

%CHART{ type="area" name="area_8" title="area test #8"  table="1" data="R2:C7..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="on" }%

ChartPlugin error: Required Perl module 'GD' not found
Add datalabel="box" to above

%CHART{ type="area" name="area_9" title="area test #9"  table="1" data="R2:C7..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="box" }%

ChartPlugin error: Required Perl module 'GD' not found
Add legend to above

%CHART{ type="area" name="area_10" title="area test #10"  table="1" data="R2:C7..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="box" legend="R1:C7..R1:C7" }%

ChartPlugin error: Required Perl module 'GD' not found
Add additional data areas to above and update legend

%CHART{ type="area" name="area_11" title="area test #11" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="box" legend="R1:C4..R1:C7" }%

ChartPlugin error: Required Perl module 'GD' not found
Specify different colors to above. Now are lite red, lite green, lite blue, gray instead of #FF3333, #FFFF33, #33FF33, #CC66FF, #99FFFF, #FFCC00, #008000, #FF8080, #3366CC, #800080

%CHART{ type="area" name="area_12" title="area test #12" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="box" legend="R1:C4..R1:C7" colors="#ffAAAA,#AAffAA,#AAAAff,#AAAAAA" }%

ChartPlugin error: Required Perl module 'GD' not found
Restore default colors and change datalabel such that only the last area has values in boxes and the 2nd to last has values (no box) to above

%CHART{ type="area" name="area_13" title="area test #13" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off on box" legend="R1:C4..R1:C7" }%

ChartPlugin error: Required Perl module 'GD' not found
Change ygrid="on" to above

%CHART{ type="area" name="area_14" title="area test #14" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off on box" legend="R1:C4..R1:C7" ygrid="on" }%

ChartPlugin error: Required Perl module 'GD' not found
Change ygrid="off" to above

%CHART{ type="area" name="area_15" title="area test #15" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off on box" legend="R1:C4..R1:C7" ygrid="off" }%

ChartPlugin error: Required Perl module 'GD' not found
Change xgrid="on" to above

%CHART{ type="area" name="area_16" title="area test #16" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off on box" legend="R1:C4..R1:C7" ygrid="off" xgrid="on" }%

ChartPlugin error: Required Perl module 'GD' not found
Change xgrid="off" to above

%CHART{ type="area" name="area_17" title="area test #17" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off on box" legend="R1:C4..R1:C7" ygrid="off" xgrid="off" }%

ChartPlugin error: Required Perl module 'GD' not found
Change width="300"

%CHART{ type="area" name="area_18" title="area test #18" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off on box" legend="R1:C4..R1:C7" ygrid="off" xgrid="off" width="300" }%

ChartPlugin error: Required Perl module 'GD' not found
Change height="150"

%CHART{ type="area" name="area_19" title="area test #19" title="area test #18" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off on box" legend="R1:C4..R1:C7" ygrid="off" xgrid="off" height="150" width="300" }%

ChartPlugin error: Required Perl module 'GD' not found
Default width/height. Get data from ChartPluginTestsRemote. Specify table="2" on new topic="ChartPluginTestsRemote" and web="TWiki". Actual values should show up incremented by 0.52 since data is from a different topic page and the 0.02 denotes the data is from the 2nd table. Legend should show up with Remote since the data on the remote page was set up to include Remote in the legends

%CHART{ type="area" name="area_20" title="area test #20" web="TWiki" topic="ChartPluginTestsRemote" table="2" data="R4:C2..R7:C7" xaxis="R2:C2..R2:C7" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off on box" legend="R4:C1..R7:C1" xgrid="off" ygrid="off" }%

ChartPlugin error: Required Perl module 'GD' not found
Same as above except add an additional data set (averages) that is calculated by %CALC%.

%CHART{ type="area" name="area_21" title="area test #21" web="TWiki" topic="ChartPluginTestsRemote" table="2" data="R4:C2..R8:C7" xaxis="R2:C2..R2:C7" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off on box" legend="R4:C1..R8:C1" xgrid="off" ygrid="off" }%

ChartPlugin error: Required Perl module 'GD' not found
Set title="New title for area test #22" to above

%CHART{ type="area" name="area_22" title="New title for area test #22" web="TWiki" topic="ChartPluginTestsRemote" table="2" data="R4:C2..R8:C7" xaxis="R2:C2..R2:C7" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off on box" legend="R4:C1..R8:C1" xgrid="off" ygrid="off" }%

ChartPlugin error: Required Perl module 'GD' not found
Same as above except add alt="This is the alt tag"

%CHART{ type="area" name="area_23" title="New title for area test #23" web="TWiki" topic="ChartPluginTestsRemote" table="2" data="R4:C2..R8:C7" xaxis="R2:C2..R2:C7" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off on box" legend="R4:C1..R8:C1" xgrid="off" ygrid="off" alt="This is the alt tag"}%

ChartPlugin error: Required Perl module 'GD' not found

Combo Tests

Single area (no datatype so defaults to "line"). No other markings at all

%CHART{ type="combo" name="combo_1" title="combo test #1"  table="1" data="R2:C7..R7:C7" }%

ChartPlugin error: Required Perl module 'GD' not found
Multiple areas, single line (datatype not specified)

%CHART{ type="combo" name="combo_2" title="combo test #2" table="1" data="R2:C4..R7:C7" }%

ChartPlugin error: Required Perl module 'GD' not found
Add datatype="area line area line" to above

%CHART{ type="combo" name="combo_3" title="combo test #3" table="1" data="R2:C4..R7:C7" datatype="area line area line" }%

ChartPlugin error: Required Perl module 'GD' not found
Change to datatype="line point pline line"

%CHART{ type="combo" name="combo_4" title="combo test #4" table="1" data="R2:C4..R7:C7" datatype="line line line line" }%

ChartPlugin error: Required Perl module 'GD' not found
Change to datatype="line area line line"

%CHART{ type="combo" name="combo_5" title="combo test #5" table="1" data="R2:C4..R7:C7" datatype="line line line area" }%

ChartPlugin error: Required Perl module 'GD' not found
Change to datatype="area area area line"

%CHART{ type="combo" name="combo_6" title="combo test #6" table="1" data="R2:C4..R7:C7" datatype="area area area line" }%

ChartPlugin error: Required Perl module 'GD' not found
Add X axis to above

%CHART{ type="combo" name="combo_7" title="combo test #7" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" }%

ChartPlugin error: Required Perl module 'GD' not found
Add Y axis to above

%CHART{ type="combo" name="combo_8" title="combo test #8" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" }%

ChartPlugin error: Required Perl module 'GD' not found
Add ymin="0" to above

%CHART{ type="combo" name="combo_9" title="combo test #9" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" }%

ChartPlugin error: Required Perl module 'GD' not found
Add ymax="200" to above

%CHART{ type="combo" name="combo_10" title="combo test #10" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="200" }%

ChartPlugin error: Required Perl module 'GD' not found
Restore default ymax and add ylabel="Hello there" to above

%CHART{ type="combo" name="combo_11" title="combo test #11" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" }%

ChartPlugin error: Required Perl module 'GD' not found
Add xlabel="Yep, an X title" to above

%CHART{ type="combo" name="combo_12" title="combo test #12" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" }%

ChartPlugin error: Required Perl module 'GD' not found
Add datalabel="on" to above

%CHART{ type="combo" name="combo_13" title="combo test #13" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" datalabel="on" }%

ChartPlugin error: Required Perl module 'GD' not found
Add datalabel="box" to above

%CHART{ type="combo" name="combo_14" title="combo test #14" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" datalabel="box" }%

ChartPlugin error: Required Perl module 'GD' not found
Add legend to above

%CHART{ type="combo" name="combo_15" title="combo test #15" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" datalabel="box" legend="R1:C4..R1:C7" }%

ChartPlugin error: Required Perl module 'GD' not found
Specify different colors to above. Now are lite red, lite green, lite blue, gray instead of #FF3333, #FFFF33, #33FF33, #CC66FF, #99FFFF, #FFCC00, #008000, #FF8080, #3366CC, #800080

%CHART{ type="combo" name="combo_16" title="combo test #16" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" datalabel="box" legend="R1:C4..R1:C7" colors="#ffAAAA,#AAffAA,#AAAAff,#AAAAAA" }%

ChartPlugin error: Required Perl module 'GD' not found
Restore default colors and change datalabel such that only the last area has values in boxes and the 2nd to last has values (no box) to above

%CHART{ type="combo" name="combo_17" title="combo test #17" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R1:C4..R1:C7" datalabel="off off on box" }%

ChartPlugin error: Required Perl module 'GD' not found
Change ygrid="on" to above and change legend so only the last data set shows values in boxes

%CHART{ type="combo" name="combo_18" title="combo test #18" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R1:C4..R1:C7" datalabel="off off off box" ygrid="on" }%

ChartPlugin error: Required Perl module 'GD' not found
Change ygrid="off" to above

%CHART{ type="combo" name="combo_19" title="combo test #19" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R1:C4..R1:C7" datalabel="off off off box" ygrid="off" }%

ChartPlugin error: Required Perl module 'GD' not found
Change xgrid="on" to above

%CHART{ type="combo" name="combo_20" title="combo test #20" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R1:C4..R1:C7" datalabel="off off off box" ygrid="off" xgrid="on" }%

ChartPlugin error: Required Perl module 'GD' not found
Change xgrid="off" to above

%CHART{ type="combo" name="combo_21" title="combo test #21" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R1:C4..R1:C7" datalabel="off off off box" ygrid="off" xgrid="off" }%

ChartPlugin error: Required Perl module 'GD' not found
Change to width="300"

%CHART{ type="combo" name="combo_22" title="combo test #22" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R1:C4..R1:C7" datalabel="off off off box" ygrid="off" xgrid="off" width="300" }%

ChartPlugin error: Required Perl module 'GD' not found
Change to height="150"

%CHART{ type="combo" name="combo_23" title="combo test #23" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R1:C4..R1:C7" datalabel="off off off box" ygrid="off" xgrid="off" width="300" height="150" }%

ChartPlugin error: Required Perl module 'GD' not found
Default width/height. Get data from ChartPluginTestsRemote. Specify table="2" on new topic="ChartPluginTestsRemote". Actual values should show up incremented by 0.52 since data is from a different topic page and the 0.02 denotes the data is from the 2nd table. Legend should show up with Remote since the data on the remote page was set up to include Remote in the legends

%CHART{ type="combo" name="combo_24" title="combo test #24" web="TWiki" topic="ChartPluginTestsRemote" table="2" data="R4:C2..R7:C7" datatype="area area area line" xaxis="R2:C2..R2:C7" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R4:C1..R7:C1" datalabel="off off off box" ygrid="off" xgrid="off" }%

ChartPlugin error: Required Perl module 'GD' not found
Same as above except add an additional data set (averages) that is calculated by %CALC%.

%CHART{ type="combo" name="combo_25" title="combo test #25" web="TWiki" topic="ChartPluginTestsRemote" table="2" data="R4:C2..R8:C7" datatype="area area area line" xaxis="R2:C2..R2:C7" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R4:C1..R8:C1" datalabel="off off off box" ygrid="off" xgrid="off" }%

ChartPlugin error: Required Perl module 'GD' not found
Same as above except specify bgcolor light blue and orange.

%CHART{ type="combo" name="combo_25b" title="combo test #25 with bgcolor" web="TWiki" topic="ChartPluginTestsRemote" table="2" data="R4:C2..R8:C7" datatype="area area area line" xaxis="R2:C2..R2:C7" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R4:C1..R8:C1" datalabel="off off off box" ygrid="off" xgrid="off" bgcolor="#EEEEFF #FFA000"}%

ChartPlugin error: Required Perl module 'GD' not found
Set title="Set new title, combo test #26" to above

%CHART{ type="combo" name="combo_26" title="Set new title, combo test #26" web="TWiki" topic="ChartPluginTestsRemote" table="2" data="R4:C2..R8:C7" datatype="area area area line" xaxis="R2:C2..R2:C7" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R4:C1..R8:C1" datalabel="off off off box" ygrid="off" xgrid="off" }%

ChartPlugin error: Required Perl module 'GD' not found
Same as above except add alt="This is the alt tag"

%CHART{ type="combo" name="combo_27" title="Set new title, combo test #27" web="TWiki" topic="ChartPluginTestsRemote" table="2" data="R4:C2..R8:C7" datatype="area area area line" xaxis="R2:C2..R2:C7" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R4:C1..R8:C1" datalabel="off off off box" ygrid="off" xgrid="off" alt="This is the alt tag" }%

ChartPlugin error: Required Perl module 'GD' not found

Some Combo Tests with Extreme Values

Show a wide chart with width="500"

%CHART{ type="combo" name="combo15e1" title="combo test #15 extreme #1" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" datatype="area area area line" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off off box" legend="R1:C4..R1:C7" ygrid="off" xgrid="off" width="500" }%

ChartPlugin error: Required Perl module 'GD' not found
Show a tall chart with height="500"

%CHART{ type="combo" name="combo15e2" title="combo test #15 extreme #2" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" datatype="area area area line" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off off box" legend="R1:C4..R1:C7" ygrid="off" xgrid="off" height="500" }%

ChartPlugin error: Required Perl module 'GD' not found
Show a wide and tall chart with width="500" and height="500"

%CHART{ type="combo" name="combo15e3" title="combo test #15 extreme #3" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" datatype="area area area line" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off off box" legend="R1:C4..R1:C7" ygrid="off" xgrid="off" width="500" height="500" }%

ChartPlugin error: Required Perl module 'GD' not found
Show a simple chart using bgcolor = #EEEEEE

%CHART{ type="line" name="line_16" title="Test bgcolor #EEEEEE" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="box" legend="R1:C4..R1:C7" bgcolor="#EEEEEE" }%

ChartPlugin error: Required Perl module 'GD' not found
Show a simple chart using bgcolor = "#FFFFFF #EEEEEE"

%CHART{ type="line" name="line_17" title="Test bgcolor #FFFFFF #EEEEEE" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="box" legend="R1:C4..R1:C7" bgcolor="#FFFFFF #EEEEEE" }%

ChartPlugin error: Required Perl module 'GD' not found
Show a simple chart using bgcolor = "#EEEEEE #EEFFEE"

%CHART{ type="line" name="line_18" title="Test bgcolor #EEEEEE #EEFFEE" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="box" legend="R1:C4..R1:C7" bgcolor="#EEEEEE #EEFFEE" }%

ChartPlugin error: Required Perl module 'GD' not found

Table #3

Added:
>
>
This table is used for showing scatter graphs.

%TABLE{name="table3"}%
Changed:
<
<
  line 1 line 2 line 3 line 4 sparse 1 sparse 2 log10 line
>
>
A B C D E
1 3 6 33 2
1.4 6 22 2 4
1.8 2 5   6
2.5 4 3   8
4 7 6 43 10
5 13 44 25 12
7 8 1 4 14
6 35 3 8 16
8 2 22 4 18
9 7 6 13 20

Table #4

This table is used for various legend placement tests as well as logarithmic data.

%TABLE{name="table4"}%

  line 1 line 2 line 3 line 4 sparse 1 sparse 2 semilog line

1990 0 0 0 0 0   0.2
1991 0 0 0 0   35 1
1992 2 12 22 32 35.5   5
Line: 137 to 63

1996 40 40 40 40 38.1   3125
1997 40 41 42 43   35 15625
Changed:
<
<

Test various legend placement situations

Test that when all lines overlap on the very bottom of the chart, the legends all show up non-overlapped

%CHART{type="line" name="table3_test1" table="table3" xaxis="R2:C1..R7:C1" data="R2:C2..R3:C5" yaxis="on" legend="R1:C2..R1:C5" ymin="0" ymax="1" title="Test overlap @ bottom"}%

ChartPlugin error: Required Perl module 'GD' not found
Test that when the lines don't overlap, that the legends get placed where you expect them to

%CHART{type="line" name="table3_test2" table="table3" xaxis="R2:C1..R7:C1" data="R2:C2..R4:C5" yaxis="on" legend="R1:C2..R1:C5" title="Test non-overlap"}%

ChartPlugin error: Required Perl module 'GD' not found
Test that when two lines overlap in the middle of the chart, the legends get correctly placed

%CHART{type="line" name="table3_test3" table="table3" xaxis="R2:C1..R7:C1" data="R2:C2..R5:C5" yaxis="on" legend="R1:C2..R1:C5" title="Test overlap @ middle"}%

ChartPlugin error: Required Perl module 'GD' not found
Similar to the test above, except the data is changed such that the placement of the legends for the two middle lines should be reversed

=%CHART{type="line" name="table3_test4" table="table3" xaxis="R2:C1..R7:C1" data="R2:C2..R6:C5" yaxis="on" legend="R1:C2..R1:C5" title="Test overlap @ middle"}%

ChartPlugin error: Required Perl module 'GD' not found
Test that when 4 lines are close to overlapping and are all located at the top of the chart, the legends get correctly placed.

=%CHART{type="line" name="table3_test5" table="table3" xaxis="R2:C1..R8:C1" data="R2:C2..R7:C5" yaxis="on" legend="R1:C2..R1:C5" title="Test overlap @ top" ymax="40"}%

ChartPlugin error: Required Perl module 'GD' not found
Test that when 4 lines do exactly overlap at the top of the chart, the legends get correctly placed.

=%CHART{type="line" name="table3_test6" table="table3" xaxis="R2:C1..R8:C1" data="R2:C2..R8:C5" yaxis="on" legend="R1:C2..R1:C5" title="Test overlap @ top" ymax="40"}%

ChartPlugin error: Required Perl module 'GD' not found
Test that the arrangement of legends of 4 lines located at the top of a chart is correct.

=%CHART{type="line" name="table3_test7" table="table3" xaxis="R2:C1..R8:C1" data="R2:C2..R9:C5" yaxis="on" legend="R1:C2..R1:C5" title="Test overlap @ top" ymax="40"}%

ChartPlugin error: Required Perl module 'GD' not found
Test that even with a ymax set too low such that the lines go off the top of the chart, the legends still stay on the chart.

=%CHART{type="line" name="table3_test8" table="table3" xaxis="R2:C1..R8:C1" data="R2:C2..R4:C5" yaxis="on" legend="R1:C2..R1:C5" title="Test legends falling off top" ymax="20"}%

ChartPlugin error: Required Perl module 'GD' not found
Test that even with a ymin set too high such that some lines don't even show up on the chart because the fall below the chart, the legends still stay on the chart.

=%CHART{type="line" name="table3_test9" table="table3" xaxis="R2:C1..R8:C1" data="R2:C2..R4:C5" yaxis="on" legend="R1:C2..R1:C5" title="Test legends falling off top" ymin="21"}%

ChartPlugin error: Required Perl module 'GD' not found
Test extremes that even when ymin is set higher than all data, that the legends still get drawn on the chart.

=%CHART{type="line" name="table3_test10" table="table3" xaxis="R2:C1..R8:C1" data="R2:C2..R4:C5" yaxis="on" legend="R1:C2..R1:C5" title="Test legends falling off bottom" ymin="50" ymax="60"}%

ChartPlugin error: Required Perl module 'GD' not found
Test extremes that even when ymax is set lower than all data, that the legends still get drawn on the chart.

=%CHART{type="line" name="table3_test11" table="table3" xaxis="R2:C1..R8:C1" data="R2:C2..R4:C5" yaxis="on" legend="R1:C2..R1:C5" title="Test legends falling off top" ymin="-50" ymax="-10"}%

ChartPlugin error: Required Perl module 'GD' not found

Test new CHART options numxgrids and xaxisangle

Show what happens when there is so much data that the X axis labels overlap

%CHART{type="line" name="table3b_test1" table="table3" width="200" xaxis="R2:C1..R99:C1" data="R2:C2..R99:C5" yaxis="on" legend="R1:C2..R1:C5" title="Overlapping X labels"}%

ChartPlugin error: Required Perl module 'GD' not found
Take the above graph and specify numxgrids = 2 making the X axis labels more readable. Note: There should be 3 X grids drawn since 2 grids would fall between data points.

%CHART{type="line" name="table3b_test2" table="table3" numxgrids="2" width="200" xaxis="R2:C1..R99:C1" data="R2:C2..R99:C5" yaxis="on" legend="R1:C2..R1:C5" title="Using numxgrids"}%

ChartPlugin error: Required Perl module 'GD' not found
Take the first graph and specify xaxisangle = 90, changing the X axis label angle = 90 degrees

%CHART{type="line" name="table3b_test3" table="table3" width="200" xaxis="R2:C1..R99:C1" data="R2:C2..R99:C5" yaxis="on" legend="R1:C2..R1:C5" xaxisangle="90" title="Using xaxisangle"}%

ChartPlugin error: Required Perl module 'GD' not found

Test new CHART option defaultdata

Show what happens when there is sparse data. defaultdata = 0

%CHART{type="line" name="table3c_test1" table="table3" xaxis="R2:C1..R99:C1" data="R2:C6..R99:C7" defaultdata="0" datalabel="box" yaxis="on" legend="R1:C6..R1:C7" title="Defaultdata equal 0"}%

ChartPlugin error: Required Perl module 'GD' not found
Same as above, but now defaultdata = 10

%CHART{type="line" name="table3c_test2" table="table3" xaxis="R2:C1..R99:C1" data="R2:C6..R99:C7" defaultdata="10" datalabel="box" yaxis="on" legend="R1:C6..R1:C7" title="Defaultdata equal 10"}%

ChartPlugin error: Required Perl module 'GD' not found
Same as above, but now defaultdata = 'none' (empty)

%CHART{type="line" name="table3c_test3" table="table3" xaxis="R2:C1..R99:C1" data="R2:C6..R99:C7" defaultdata="none" datalabel="box" yaxis="on" legend="R1:C6..R1:C7" title="Defaultdata equal 'none'"}%

ChartPlugin error: Required Perl module 'GD' not found

Test new CHART options scale and ytics

Show how scale=semilog makes the chart easier to read. Since ytics is NOT specified, it defaults to 8.

%CHART{type="line" name="table3d_test1" table="table3" scale="semilog" xaxis="R2:C1..R99:C1" data="R2:C8..R99:C8" yaxis="on" legend="R1:C8..R1:C8" title="semilogrithmic scale"}%

ChartPlugin error: Required Perl module 'GD' not found
Show the above plotted data on a base10 scale with ytics=1=

=%CHART{type="line" name="table3d_test2" table="table3" xaxis="R2:C1..R99:C1" data="R2:C8..R99:C8" yaxis="on" ytics="1" legend="R1:C8..R1:C8" title="base10 scale with ytics set to 1"}%

ChartPlugin error: Required Perl module 'GD' not found

Table #4

%TABLE{name="table4"}%
A B C D
1 3 6 33
1.4 6 22 2
1.8 2 5  
2.5 4 3  
4 7 6 43
5 13 44 25
7 8 1 4
6 35 3 8
8 2 22 4
9 7 6 13

Test new scatter graph

Show standard lines first with type="line".

%CHART{type="line" name="table3e_test1" table="table4" xaxis="R2:C1..R99:C1" data="R2:C2..R99:C99" yaxis="on" legend="R1:C2..R1:C99" xgrid="off" ygrid="off" }%

ChartPlugin error: Required Perl module 'GD' not found
Same as above, but as a scatter graph with type="scatter" and subtype="pline".

%CHART{type="scatter" subtype="pline" name="table3e_test2" table="table4" xaxis="R2:C1..R99:C1" data="R2:C2..R99:C99" yaxis="on" legend="R1:C2..R1:C99" xgrid="off" ygrid="off" numxgrids="8" }%

ChartPlugin error: Required Perl module 'GD' not found
Same as above, but as the first graph but a combo graph with type="combo" and subtype="area area line".

=%CHART{type="combo" subtype="area area line" name="table3e_test3" table="table4" xaxis="R2:C1..R99:C1" data="R2:C2..R99:C99" yaxis="on" legend="R1:C2..R1:C99" xgrid="off" ygrid="off" }%

ChartPlugin error: Required Perl module 'GD' not found
Same as the last graph, but as a scatter graph.

%CHART{type="scatter" name="table3e_test4" table="table4" xaxis="R2:C1..R99:C1" data="R2:C2..R99:C99" yaxis="on" datatype="area area line" legend="R1:C2..R1:C99" xgrid="off" ygrid="off" numxgrids="8" }%

ChartPlugin error: Required Perl module 'GD' not found

Chart error handling

>
>

General tests

line tests

Simple single line. No other markings at all

%CHART{data="R2:C7..R7:C7" name="line_1" table="table1" type="line" ygrid="off"}%

ChartPlugin error: Required Perl module 'GD' not found
Simple single line, add title.

%CHART{data="R2:C7..R7:C7" name="line_2" table="table1" title="line test #2" type="line" ygrid="off"}%

ChartPlugin error: Required Perl module 'GD' not found
Add X axis to above

%CHART{data="R2:C7..R7:C7" name="line_3" table="table1" title="line test #3" type="line" xaxis="R2:C2..R7:C2" ygrid="off"}%

ChartPlugin error: Required Perl module 'GD' not found
Add Y axis to above

%CHART{data="R2:C7..R7:C7" name="line_4" table="table1" title="line test #4" type="line" xaxis="R2:C2..R7:C2" yaxis="on"}%

ChartPlugin error: Required Perl module 'GD' not found
Add ymin = 0 to above

%CHART{data="R2:C7..R7:C7" name="line_5" table="table1" title="line test #5" type="line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Add ymax = 100 to above

%CHART{data="R2:C7..R7:C7" name="line_6" table="table1" title="line test #6" type="line" xaxis="R2:C2..R7:C2" yaxis="on" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Add ylabel "Hello there" to above

%CHART{data="R2:C7..R7:C7" name="line_7" table="table1" title="line test #7" type="line" xaxis="R2:C2..R7:C2" yaxis="on" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Add numygrids="5" above

%CHART{data="R2:C7..R7:C7" name="line_8" numygrids="5" table="table1" title="line test #8" type="line" xaxis="R2:C2..R7:C2" yaxis="on" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Change numygrids="2" above

%CHART{data="R2:C7..R7:C7" name="line_9" numygrids="2" table="table1" title="line test #9" type="line" xaxis="R2:C2..R7:C2" yaxis="on" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Remove numygrids from above and add xlabel "Yep, an X title" to above

%CHART{data="R2:C7..R7:C7" name="line_10" table="table1" title="line test #10" type="line" xaxis="R2:C2..R7:C2" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Add datalabel = on to above

%CHART{data="R2:C7..R7:C7" datalabel="on" name="line_11" table="table1" title="line test #11" type="line" xaxis="R2:C2..R7:C2" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Add datalabel = box to above

%CHART{data="R2:C7..R7:C7" datalabel="box" name="line_12" table="table1" title="line test #12" type="line" xaxis="R2:C2..R7:C2" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Add legend to above

%CHART{data="R2:C7..R7:C7" datalabel="box" legend="R1:C7..R1:C7" name="line_13" table="table1" title="line test #13" type="line" xaxis="R2:C2..R7:C2" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Add additional data lines to above and update legend

%CHART{data="R2:C4..R7:C7" datalabel="box" legend="R1:C4..R1:C7" name="line_14" table="table1" title="line test #14" type="line" xaxis="R2:C2..R7:C2" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Specify different colors to above. Now are lite red, lite green, lite blue, gray instead of defaults

%CHART{colors="#ffAAAA,#AAffAA,#AAAAff,#AAAAAA" data="R2:C4..R7:C7" datalabel="box" legend="R1:C4..R1:C7" name="line_15" table="table1" title="line test #15" type="line" xaxis="R2:C2..R7:C2" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Restore default colors and change datalabel such that only the last line has values in boxes and the 2nd to last has values (no box) to above

%CHART{data="R2:C4..R7:C7" datalabel="off off on box" legend="R1:C4..R1:C7" name="line_16" table="table1" title="line test #16" type="line" xaxis="R2:C2..R7:C2" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Same as above except specify bgcolor="#EEEEEE"

=%CHART{bgcolor="#EEEEFF" data="R2:C4..R7:C7" datalabel="off off on box" legend="R1:C4..R1:C7" name="line_17" table="table1" title="line test #17" type="line" xaxis="R2:C2..R7:C2" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Change bgcolor="#FFFFFF #EEEEEE"

=%CHART{bgcolor="#FFFFFF #EEEEFF" data="R2:C4..R7:C7" datalabel="off off on box" legend="R1:C4..R1:C7" name="line_18" table="table1" title="line test #18" type="line" xaxis="R2:C2..R7:C2" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Change bgcolor="#EEEEEE #EEFFEE"

=%CHART{bgcolor="#EEEEEE #EEFFFF" data="R2:C4..R7:C7" datalabel="off off on box" legend="R1:C4..R1:C7" name="line_19" table="table1" title="line test #19" type="line" xaxis="R2:C2..R7:C2" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Restore bgcolor and change ygrid = on to above

%CHART{data="R2:C4..R7:C7" datalabel="off off on box" legend="R1:C4..R1:C7" name="line_20" table="table1" title="line test #20" type="line" xaxis="R2:C2..R7:C2" xlabel="Yep, an X title" yaxis="on" ygrid="on" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Change ygrid = off to above

%CHART{data="R2:C4..R7:C7" datalabel="off off on box" legend="R1:C4..R1:C7" name="line_21" table="table1" title="line test #21" type="line" xaxis="R2:C2..R7:C2" xlabel="Yep, an X title" yaxis="on" ygrid="off" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Change xgrid = on to above

%CHART{data="R2:C4..R7:C7" datalabel="off off on box" legend="R1:C4..R1:C7" name="line_22" table="table1" title="line test #22" type="line" xaxis="R2:C2..R7:C2" xgrid="on" xlabel="Yep, an X title" yaxis="on" ygrid="off" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Change xgrid = off to above

%CHART{data="R2:C4..R7:C7" datalabel="off off on box" legend="R1:C4..R1:C7" name="line_23" table="table1" title="line test #23" type="line" xaxis="R2:C2..R7:C2" xgrid="off" xlabel="Yep, an X title" yaxis="on" ygrid="off" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Change width = 450

%CHART{data="R2:C4..R7:C7" datalabel="off off on box" legend="R1:C4..R1:C7" name="line_24" table="table1" title="line test #24" type="line" width="450" xaxis="R2:C2..R7:C2" xgrid="off" xlabel="Yep, an X title" yaxis="on" ygrid="off" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Change height = 150

%CHART{data="R2:C4..R7:C7" datalabel="off off on box" height="150" legend="R1:C4..R1:C7" name="line_25" table="table1" title="line test #25" type="line" width="450" xaxis="R2:C2..R7:C2" xgrid="off" xlabel="Yep, an X title" yaxis="on" ygrid="off" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Default width/height. Get data from ChartPluginTestsRemote. Specify table="2" on new topic = ChartPluginTestsRemote. Actual values should show up incremented by 0.52 since data is from a different topic page and the 0.02 denotes the data is from the 2nd table. Legend should show up with Remote since the data on the remote page was set up to include Remote in the legends

%CHART{data="R4:C2..R7:C7" datalabel="off off on box" legend="R4:C1..R7:C1" name="line_26" table="2" title="line test #26" topic="ChartPluginTestsRemote" type="line" xaxis="R2:C2..R2:C7" xgrid="off" xlabel="Yep, an X title" yaxis="on" ygrid="off" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Same as above except add an additional data set (averages) that is calculated by %CALC%. Also shows that since only 4 default line colors are specified, the 5th line reuses the 1st default line color.

%CHART{data="R4:C2..R8:C7" datalabel="off off on box" legend="R4:C1..R8:C1" name="line_27" table="2" title="line test #26" topic="ChartPluginTestsRemote" type="line" xaxis="R2:C2..R2:C7" xgrid="off" xlabel="Yep, an X title" yaxis="on" ygrid="off" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Set title = "Set a new title" to above

%CHART{data="R4:C2..R8:C7" datalabel="off off on box" legend="R4:C1..R8:C1" name="line_28" table="2" title="Set a new title" topic="ChartPluginTestsRemote" type="line" xaxis="R2:C2..R2:C7" xgrid="off" xlabel="Yep, an X title" yaxis="on" ygrid="off" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Same as above except add the alt tag = This is the alt tag

%CHART{alt="This is the alt tag" data="R4:C2..R8:C7" datalabel="off off on box" legend="R4:C1..R8:C1" name="line_29" table="2" title="Set a new title" topic="ChartPluginTestsRemote" type="line" xaxis="R2:C2..R2:C7" xgrid="off" xlabel="Yep, an X title" yaxis="on" ygrid="off" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found

area tests

Simple single area. No other markings at all

%CHART{data="R2:C7..R7:C7" name="area_1" table="table1" type="area" ygrid="off"}%

ChartPlugin error: Required Perl module 'GD' not found
Simple single area, add title.

%CHART{data="R2:C7..R7:C7" name="area_2" table="table1" title="area test #2" type="area" ygrid="off"}%

ChartPlugin error: Required Perl module 'GD' not found
Add X axis to above

%CHART{data="R2:C7..R7:C7" name="area_3" table="table1" title="area test #3" type="area" xaxis="R2:C2..R7:C2" ygrid="off"}%

ChartPlugin error: Required Perl module 'GD' not found
Add Y axis to above

%CHART{data="R2:C7..R7:C7" name="area_4" table="table1" title="area test #4" type="area" xaxis="R2:C2..R7:C2" yaxis="on"}%

ChartPlugin error: Required Perl module 'GD' not found
Add ymin = 0 to above

%CHART{data="R2:C7..R7:C7" name="area_5" table="table1" title="area test #5" type="area" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Add ymax = 100 to above

%CHART{data="R2:C7..R7:C7" name="area_6" table="table1" title="area test #6" type="area" xaxis="R2:C2..R7:C2" yaxis="on" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Add ylabel "Hello there" to above

%CHART{data="R2:C7..R7:C7" name="area_7" table="table1" title="area test #7" type="area" xaxis="R2:C2..R7:C2" yaxis="on" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Add numygrids="5" above

%CHART{data="R2:C7..R7:C7" name="area_8" numygrids="5" table="table1" title="area test #8" type="area" xaxis="R2:C2..R7:C2" yaxis="on" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Change numygrids="2" above

%CHART{data="R2:C7..R7:C7" name="area_9" numygrids="2" table="table1" title="area test #9" type="area" xaxis="R2:C2..R7:C2" yaxis="on" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Remove numygrids from above and add xlabel "Yep, an X title" to above

%CHART{data="R2:C7..R7:C7" name="area_10" table="table1" title="area test #10" type="area" xaxis="R2:C2..R7:C2" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Add datalabel = on to above

%CHART{data="R2:C7..R7:C7" datalabel="on" name="area_11" table="table1" title="area test #11" type="area" xaxis="R2:C2..R7:C2" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Add datalabel = box to above

%CHART{data="R2:C7..R7:C7" datalabel="box" name="area_12" table="table1" title="area test #12" type="area" xaxis="R2:C2..R7:C2" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Add legend to above

%CHART{data="R2:C7..R7:C7" datalabel="box" legend="R1:C7..R1:C7" name="area_13" table="table1" title="area test #13" type="area" xaxis="R2:C2..R7:C2" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Add additional data areas to above and update legend

%CHART{data="R2:C4..R7:C7" datalabel="box" legend="R1:C4..R1:C7" name="area_14" table="table1" title="area test #14" type="area" xaxis="R2:C2..R7:C2" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Specify different colors to above. Now are lite red, lite green, lite blue, gray instead of defaults

%CHART{colors="#ffAAAA,#AAffAA,#AAAAff,#AAAAAA" data="R2:C4..R7:C7" datalabel="box" legend="R1:C4..R1:C7" name="area_15" table="table1" title="area test #15" type="area" xaxis="R2:C2..R7:C2" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Restore default colors and change datalabel such that only the last area has values in boxes and the 2nd to last has values (no box) to above

%CHART{data="R2:C4..R7:C7" datalabel="off off on box" legend="R1:C4..R1:C7" name="area_16" table="table1" title="area test #16" type="area" xaxis="R2:C2..R7:C2" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Same as above except specify bgcolor="#EEEEEE"

=%CHART{bgcolor="#EEEEFF" data="R2:C4..R7:C7" datalabel="off off on box" legend="R1:C4..R1:C7" name="area_17" table="table1" title="area test #17" type="area" xaxis="R2:C2..R7:C2" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Change bgcolor="#FFFFFF #EEEEEE"

=%CHART{bgcolor="#FFFFFF #EEEEFF" data="R2:C4..R7:C7" datalabel="off off on box" legend="R1:C4..R1:C7" name="area_18" table="table1" title="area test #18" type="area" xaxis="R2:C2..R7:C2" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Change bgcolor="#EEEEEE #EEFFEE"

=%CHART{bgcolor="#EEEEEE #EEFFFF" data="R2:C4..R7:C7" datalabel="off off on box" legend="R1:C4..R1:C7" name="area_19" table="table1" title="area test #19" type="area" xaxis="R2:C2..R7:C2" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Restore bgcolor and change ygrid = on to above

%CHART{data="R2:C4..R7:C7" datalabel="off off on box" legend="R1:C4..R1:C7" name="area_20" table="table1" title="area test #20" type="area" xaxis="R2:C2..R7:C2" xlabel="Yep, an X title" yaxis="on" ygrid="on" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Change ygrid = off to above

%CHART{data="R2:C4..R7:C7" datalabel="off off on box" legend="R1:C4..R1:C7" name="area_21" table="table1" title="area test #21" type="area" xaxis="R2:C2..R7:C2" xlabel="Yep, an X title" yaxis="on" ygrid="off" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Change xgrid = on to above

%CHART{data="R2:C4..R7:C7" datalabel="off off on box" legend="R1:C4..R1:C7" name="area_22" table="table1" title="area test #22" type="area" xaxis="R2:C2..R7:C2" xgrid="on" xlabel="Yep, an X title" yaxis="on" ygrid="off" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Change xgrid = off to above

%CHART{data="R2:C4..R7:C7" datalabel="off off on box" legend="R1:C4..R1:C7" name="area_23" table="table1" title="area test #23" type="area" xaxis="R2:C2..R7:C2" xgrid="off" xlabel="Yep, an X title" yaxis="on" ygrid="off" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Change width = 450

%CHART{data="R2:C4..R7:C7" datalabel="off off on box" legend="R1:C4..R1:C7" name="area_24" table="table1" title="area test #24" type="area" width="450" xaxis="R2:C2..R7:C2" xgrid="off" xlabel="Yep, an X title" yaxis="on" ygrid="off" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Change height = 150

%CHART{data="R2:C4..R7:C7" datalabel="off off on box" height="150" legend="R1:C4..R1:C7" name="area_25" table="table1" title="area test #25" type="area" width="450" xaxis="R2:C2..R7:C2" xgrid="off" xlabel="Yep, an X title" yaxis="on" ygrid="off" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Default width/height. Get data from ChartPluginTestsRemote. Specify table="2" on new topic = ChartPluginTestsRemote. Actual values should show up incremented by 0.52 since data is from a different topic page and the 0.02 denotes the data is from the 2nd table. Legend should show up with Remote since the data on the remote page was set up to include Remote in the legends

%CHART{data="R4:C2..R7:C7" datalabel="off off on box" legend="R4:C1..R7:C1" name="area_26" table="2" title="area test #26" topic="ChartPluginTestsRemote" type="area" xaxis="R2:C2..R2:C7" xgrid="off" xlabel="Yep, an X title" yaxis="on" ygrid="off" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Same as above except add an additional data set (averages) that is calculated by %CALC%. Also shows that since only 4 default area colors are specified, the 5th area reuses the 1st default area color.

%CHART{data="R4:C2..R8:C7" datalabel="off off on box" legend="R4:C1..R8:C1" name="area_27" table="2" title="area test #26" topic="ChartPluginTestsRemote" type="area" xaxis="R2:C2..R2:C7" xgrid="off" xlabel="Yep, an X title" yaxis="on" ygrid="off" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Set title = "Set a new title" to above

%CHART{data="R4:C2..R8:C7" datalabel="off off on box" legend="R4:C1..R8:C1" name="area_28" table="2" title="Set a new title" topic="ChartPluginTestsRemote" type="area" xaxis="R2:C2..R2:C7" xgrid="off" xlabel="Yep, an X title" yaxis="on" ygrid="off" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Same as above except add the alt tag = This is the alt tag

%CHART{alt="This is the alt tag" data="R4:C2..R8:C7" datalabel="off off on box" legend="R4:C1..R8:C1" name="area_29" table="2" title="Set a new title" topic="ChartPluginTestsRemote" type="area" xaxis="R2:C2..R2:C7" xgrid="off" xlabel="Yep, an X title" yaxis="on" ygrid="off" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found

bar tests

Simple single bar. No other markings at all

%CHART{data="R2:C7..R7:C7" name="bar_1" table="table1" type="bar" ygrid="off"}%

ChartPlugin error: Required Perl module 'GD' not found
Simple single bar, add title.

%CHART{data="R2:C7..R7:C7" name="bar_2" table="table1" title="bar test #2" type="bar" ygrid="off"}%

ChartPlugin error: Required Perl module 'GD' not found
Add X axis to above

%CHART{data="R2:C7..R7:C7" name="bar_3" table="table1" title="bar test #3" type="bar" xaxis="R2:C2..R7:C2" ygrid="off"}%

ChartPlugin error: Required Perl module 'GD' not found
Add Y axis to above

%CHART{data="R2:C7..R7:C7" name="bar_4" table="table1" title="bar test #4" type="bar" xaxis="R2:C2..R7:C2" yaxis="on"}%

ChartPlugin error: Required Perl module 'GD' not found
Add ymin = 0 to above

%CHART{data="R2:C7..R7:C7" name="bar_5" table="table1" title="bar test #5" type="bar" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Add ymax = 100 to above

%CHART{data="R2:C7..R7:C7" name="bar_6" table="table1" title="bar test #6" type="bar" xaxis="R2:C2..R7:C2" yaxis="on" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Add ylabel "Hello there" to above

%CHART{data="R2:C7..R7:C7" name="bar_7" table="table1" title="bar test #7" type="bar" xaxis="R2:C2..R7:C2" yaxis="on" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Add numygrids="5" above

%CHART{data="R2:C7..R7:C7" name="bar_8" numygrids="5" table="table1" title="bar test #8" type="bar" xaxis="R2:C2..R7:C2" yaxis="on" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Change numygrids="2" above

%CHART{data="R2:C7..R7:C7" name="bar_9" numygrids="2" table="table1" title="bar test #9" type="bar" xaxis="R2:C2..R7:C2" yaxis="on" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Remove numygrids from above and add xlabel "Yep, an X title" to above

%CHART{data="R2:C7..R7:C7" name="bar_10" table="table1" title="bar test #10" type="bar" xaxis="R2:C2..R7:C2" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Add datalabel = on to above

%CHART{data="R2:C7..R7:C7" datalabel="on" name="bar_11" table="table1" title="bar test #11" type="bar" xaxis="R2:C2..R7:C2" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Add datalabel = box to above

%CHART{data="R2:C7..R7:C7" datalabel="box" name="bar_12" table="table1" title="bar test #12" type="bar" xaxis="R2:C2..R7:C2" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Add legend to above

%CHART{data="R2:C7..R7:C7" datalabel="box" legend="R1:C7..R1:C7" name="bar_13" table="table1" title="bar test #13" type="bar" xaxis="R2:C2..R7:C2" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Add additional data bars to above and update legend

%CHART{data="R2:C4..R7:C7" datalabel="box" legend="R1:C4..R1:C7" name="bar_14" table="table1" title="bar test #14" type="bar" xaxis="R2:C2..R7:C2" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Specify different colors to above. Now are lite red, lite green, lite blue, gray instead of defaults

%CHART{colors="#ffAAAA,#AAffAA,#AAAAff,#AAAAAA" data="R2:C4..R7:C7" datalabel="box" legend="R1:C4..R1:C7" name="bar_15" table="table1" title="bar test #15" type="bar" xaxis="R2:C2..R7:C2" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Restore default colors and change datalabel such that only the last bar has values in boxes and the 2nd to last has values (no box) to above

%CHART{data="R2:C4..R7:C7" datalabel="off off on box" legend="R1:C4..R1:C7" name="bar_16" table="table1" title="bar test #16" type="bar" xaxis="R2:C2..R7:C2" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Same as above except specify bgcolor="#EEEEEE"

=%CHART{bgcolor="#EEEEFF" data="R2:C4..R7:C7" datalabel="off off on box" legend="R1:C4..R1:C7" name="bar_17" table="table1" title="bar test #17" type="bar" xaxis="R2:C2..R7:C2" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Change bgcolor="#FFFFFF #EEEEEE"

=%CHART{bgcolor="#FFFFFF #EEEEFF" data="R2:C4..R7:C7" datalabel="off off on box" legend="R1:C4..R1:C7" name="bar_18" table="table1" title="bar test #18" type="bar" xaxis="R2:C2..R7:C2" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Change bgcolor="#EEEEEE #EEFFEE"

=%CHART{bgcolor="#EEEEEE #EEFFFF" data="R2:C4..R7:C7" datalabel="off off on box" legend="R1:C4..R1:C7" name="bar_19" table="table1" title="bar test #19" type="bar" xaxis="R2:C2..R7:C2" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Restore bgcolor and change ygrid = on to above

%CHART{data="R2:C4..R7:C7" datalabel="off off on box" legend="R1:C4..R1:C7" name="bar_20" table="table1" title="bar test #20" type="bar" xaxis="R2:C2..R7:C2" xlabel="Yep, an X title" yaxis="on" ygrid="on" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Change ygrid = off to above

%CHART{data="R2:C4..R7:C7" datalabel="off off on box" legend="R1:C4..R1:C7" name="bar_21" table="table1" title="bar test #21" type="bar" xaxis="R2:C2..R7:C2" xlabel="Yep, an X title" yaxis="on" ygrid="off" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Change xgrid = on to above

%CHART{data="R2:C4..R7:C7" datalabel="off off on box" legend="R1:C4..R1:C7" name="bar_22" table="table1" title="bar test #22" type="bar" xaxis="R2:C2..R7:C2" xgrid="on" xlabel="Yep, an X title" yaxis="on" ygrid="off" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Change xgrid = off to above

%CHART{data="R2:C4..R7:C7" datalabel="off off on box" legend="R1:C4..R1:C7" name="bar_23" table="table1" title="bar test #23" type="bar" xaxis="R2:C2..R7:C2" xgrid="off" xlabel="Yep, an X title" yaxis="on" ygrid="off" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Change width = 450

%CHART{data="R2:C4..R7:C7" datalabel="off off on box" legend="R1:C4..R1:C7" name="bar_24" table="table1" title="bar test #24" type="bar" width="450" xaxis="R2:C2..R7:C2" xgrid="off" xlabel="Yep, an X title" yaxis="on" ygrid="off" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Change height = 150

%CHART{data="R2:C4..R7:C7" datalabel="off off on box" height="150" legend="R1:C4..R1:C7" name="bar_25" table="table1" title="bar test #25" type="bar" width="450" xaxis="R2:C2..R7:C2" xgrid="off" xlabel="Yep, an X title" yaxis="on" ygrid="off" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Default width/height. Get data from ChartPluginTestsRemote. Specify table="2" on new topic = ChartPluginTestsRemote. Actual values should show up incremented by 0.52 since data is from a different topic page and the 0.02 denotes the data is from the 2nd table. Legend should show up with Remote since the data on the remote page was set up to include Remote in the legends

%CHART{data="R4:C2..R7:C7" datalabel="off off on box" legend="R4:C1..R7:C1" name="bar_26" table="2" title="bar test #26" topic="ChartPluginTestsRemote" type="bar" xaxis="R2:C2..R2:C7" xgrid="off" xlabel="Yep, an X title" yaxis="on" ygrid="off" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Same as above except add an additional data set (averages) that is calculated by %CALC%. Also shows that since only 4 default bar colors are specified, the 5th bar reuses the 1st default bar color.

%CHART{data="R4:C2..R8:C7" datalabel="off off on box" legend="R4:C1..R8:C1" name="bar_27" table="2" title="bar test #26" topic="ChartPluginTestsRemote" type="bar" xaxis="R2:C2..R2:C7" xgrid="off" xlabel="Yep, an X title" yaxis="on" ygrid="off" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Set title = "Set a new title" to above

%CHART{data="R4:C2..R8:C7" datalabel="off off on box" legend="R4:C1..R8:C1" name="bar_28" table="2" title="Set a new title" topic="ChartPluginTestsRemote" type="bar" xaxis="R2:C2..R2:C7" xgrid="off" xlabel="Yep, an X title" yaxis="on" ygrid="off" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Same as above except add the alt tag = This is the alt tag

%CHART{alt="This is the alt tag" data="R4:C2..R8:C7" datalabel="off off on box" legend="R4:C1..R8:C1" name="bar_29" table="2" title="Set a new title" topic="ChartPluginTestsRemote" type="bar" xaxis="R2:C2..R2:C7" xgrid="off" xlabel="Yep, an X title" yaxis="on" ygrid="off" ylabel="Hello there" ymax="100" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found

combo tests

Simple combo graph using table #2. Since no datatype is defined and only a single data set, combo defaults to a single line.

%CHART{data="R7:C2..R7:C7" name="combo_1" table="table2" type="combo" width="600" xaxis="R2:C2..R2:C7" xgrid="off" ygrid="off"}%

ChartPlugin error: Required Perl module 'GD' not found
Change so 3 data sets are drawn as areas and the last drawn as a line

%CHART{data="R4:C2..R7:C7" name="combo_2" table="table2" title="combo test #2" type="combo" width="600" xaxis="R2:C2..R2:C7" xgrid="off" ygrid="off"}%

ChartPlugin error: Required Perl module 'GD' not found
Same as above, adding grid lines and both X and Y axis labels and titles

%CHART{data="R4:C2..R7:C7" legend="R4:C1..R7:C1" name="combo_3" table="table2" title="combo test #3" type="combo" width="600" xaxis="R2:C2..R2:C7" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there"}%

ChartPlugin error: Required Perl module 'GD' not found
Same as above adding subtype="area" which should force all data sets to be drawn as area. Since the last data set would fall behind the previously drawn areas, it is drawn as a line

%CHART{data="R4:C2..R7:C7" legend="R4:C1..R7:C1" name="combo_4" subtype="area" table="table2" title="combo test #4" type="combo" width="600" xaxis="R2:C2..R2:C7" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there"}%

ChartPlugin error: Required Perl module 'GD' not found
Same as above changing subtype="line" which should force all data sets to be drawn as line

%CHART{data="R4:C2..R7:C7" legend="R4:C1..R7:C1" name="combo_5" subtype="line" table="table2" title="combo test #5" type="combo" width="600" xaxis="R2:C2..R2:C7" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there"}%

ChartPlugin error: Required Perl module 'GD' not found
Same as above changing subtype="bar" which should force all data sets to be drawn as bar

%CHART{data="R4:C2..R7:C7" legend="R4:C1..R7:C1" name="combo_6" subtype="bar" table="table2" title="combo test #6" type="combo" width="600" xaxis="R2:C2..R2:C7" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there"}%

ChartPlugin error: Required Perl module 'GD' not found
Same as above changing subtype="pline" which should force all data sets to be drawn as pline

%CHART{data="R4:C2..R7:C7" legend="R4:C1..R7:C1" name="combo_7" subtype="pline" table="table2" title="combo test #7" type="combo" width="600" xaxis="R2:C2..R2:C7" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there"}%

ChartPlugin error: Required Perl module 'GD' not found
Same as above changing subtype="point" which should force all data sets to be drawn as point

%CHART{data="R4:C2..R7:C7" legend="R4:C1..R7:C1" name="combo_8" subtype="point" table="table2" title="combo test #8" type="combo" width="600" xaxis="R2:C2..R2:C7" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there"}%

ChartPlugin error: Required Perl module 'GD' not found
Same as above changing subtype="area line pline point"

%CHART{data="R4:C2..R7:C7" legend="R4:C1..R7:C1" name="combo_9" subtype="area line pline point" table="table2" title="combo test #9" type="combo" width="600" xaxis="R2:C2..R2:C7" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there"}%

ChartPlugin error: Required Perl module 'GD' not found
Same as above changing subtype="line pline point area"

%CHART{data="R4:C2..R7:C7" legend="R4:C1..R7:C1" name="combo_10" subtype="line pline point area" table="table2" title="combo test #10" type="combo" width="600" xaxis="R2:C2..R2:C7" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there"}%

ChartPlugin error: Required Perl module 'GD' not found
Same as above changing subtype="pline pline point bar"

%CHART{data="R4:C2..R7:C7" legend="R4:C1..R7:C1" name="combo_11" subtype="pline pline point bar" table="table2" title="combo test #11" type="combo" width="600" xaxis="R2:C2..R2:C7" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there"}%

ChartPlugin error: Required Perl module 'GD' not found
Same as above changing subtype="area pline point bar". This should produce an error as you can't combine area and bar subtypes

%CHART{data="R4:C2..R7:C7" legend="R4:C1..R7:C1" name="combo_12" subtype="area pline point bar" table="table2" title="combo test #12" type="combo" width="600" xaxis="R2:C2..R2:C7" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there"}%

ChartPlugin error: Required Perl module 'GD' not found

scatter tests

Simple scatter graph using table #3. Defaults to all data sets drawn as point

%CHART{data="R2:C2..R99:C99" name="scatter_1" table="table3" type="scatter" width="600" xaxis="R2:C1..R99:C1" xgrid="off" ygrid="off"}%

ChartPlugin error: Required Perl module 'GD' not found
Same as above, adding title, grid lines and both X and Y axis labels and titles

%CHART{data="R2:C2..R99:C99" legend="R1:C2..R1:C99" name="scatter_2" table="table3" title="scatter test #2" type="scatter" width="600" xaxis="R2:C1..R99:C1" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there"}%

ChartPlugin error: Required Perl module 'GD' not found
Same as above adding subtype="line"

%CHART{data="R2:C2..R99:C99" legend="R1:C2..R1:C99" name="scatter_3" subtype="line" table="table3" title="scatter test #3" type="scatter" width="600" xaxis="R2:C1..R99:C1" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there"}%

ChartPlugin error: Required Perl module 'GD' not found
Same as above changing subtype="pline"

%CHART{data="R2:C2..R99:C99" legend="R1:C2..R1:C99" name="scatter_4" subtype="pline" table="table3" title="scatter test #4" type="scatter" width="600" xaxis="R2:C1..R99:C1" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there"}%

ChartPlugin error: Required Perl module 'GD' not found
Same as above changing subtype="point"

%CHART{data="R2:C2..R99:C99" legend="R1:C2..R1:C99" name="scatter_5" subtype="point" table="table3" title="scatter test #5" type="scatter" width="600" xaxis="R2:C1..R99:C1" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there"}%

ChartPlugin error: Required Perl module 'GD' not found
Same as above changing subtype="bar"

%CHART{data="R2:C2..R99:C99" legend="R1:C2..R1:C99" name="scatter_6" subtype="bar" table="table3" title="scatter test #6" type="scatter" width="600" xaxis="R2:C1..R99:C1" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there"}%

ChartPlugin error: Required Perl module 'GD' not found
Same as above changing subtype="point bar line pline"

%CHART{data="R2:C2..R99:C99" legend="R1:C2..R1:C99" name="scatter_7" subtype="point bar line pline" table="table3" title="scatter test #7" type="scatter" width="600" xaxis="R2:C1..R99:C1" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there"}%

ChartPlugin error: Required Perl module 'GD' not found
Same as above changing subtype="bar line pline point"

%CHART{data="R2:C2..R99:C99" legend="R1:C2..R1:C99" name="scatter_8" subtype="bar line pline point" table="table3" title="scatter test #8" type="scatter" width="600" xaxis="R2:C1..R99:C1" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there"}%

ChartPlugin error: Required Perl module 'GD' not found
Same as above changing subtype="line pline point bar"

%CHART{data="R2:C2..R99:C99" legend="R1:C2..R1:C99" name="scatter_9" subtype="line pline point bar" table="table3" title="scatter test #9" type="scatter" width="600" xaxis="R2:C1..R99:C1" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there"}%

ChartPlugin error: Required Perl module 'GD' not found
Same as above changing subtype="pline point bar line"

%CHART{data="R2:C2..R99:C99" legend="R1:C2..R1:C99" name="scatter_10" subtype="pline point bar line" table="table3" title="scatter test #10" type="scatter" width="600" xaxis="R2:C1..R99:C1" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there"}%

ChartPlugin error: Required Perl module 'GD' not found
Same as above changing subtype="bar bar bar pline"

%CHART{data="R2:C2..R99:C99" legend="R1:C2..R1:C99" name="scatter_11" subtype="bar bar bar pline" table="table3" title="scatter test #11" type="scatter" width="600" xaxis="R2:C1..R99:C1" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there"}%

ChartPlugin error: Required Perl module 'GD' not found
Same as above changing subtype="area pline point bar". This should produce an error as you can't combine area and bar subtypes

%CHART{data="R2:C2..R99:C99" legend="R1:C2..R1:C99" name="scatter_12" subtype="area pline point bar" table="table3" title="scatter test #12" type="scatter" width="600" xaxis="R2:C1..R99:C1" xlabel="Yep, an X title" yaxis="on" ylabel="Hello there"}%

ChartPlugin error: Required Perl module 'GD' not found

New functionality tests

Test various legend placement situations

Test that when all lines overlap on the very bottom of the chart, the legends all show up non-overlapped

%CHART{data="R2:C2..R3:C5" legend="R1:C2..R1:C5" name="line_30" table="table4" title="Test overlap @ bottom" type="line" xaxis="R2:C1..R9:C1" yaxis="on" ygrid="off" ymax="1" ymin="0"}%

ChartPlugin error: Required Perl module 'GD' not found
Test that when two lines overlap in the middle of the chart, the legends get correctly placed

%CHART{data="R2:C2..R5:C5" legend="R1:C2..R1:C5" name="line_31" table="table4" title="Test overlap @ middle" type="line" xaxis="R2:C1..R9:C1" yaxis="on" ygrid="off"}%

ChartPlugin error: Required Perl module 'GD' not found
Similar to the test above, except the data is changed such that the placement of the legends for the two middle lines should be reversed

%CHART{data="R2:C2..R6:C5" legend="R1:C2..R1:C5" name="line_32" table="table4" title="Test overlap @ middle" type="line" xaxis="R2:C1..R9:C1" yaxis="on" ygrid="off"}%

ChartPlugin error: Required Perl module 'GD' not found
Test that when 4 lines are close to overlapping and are all located at the top of the chart, the legends get correctly placed.

%CHART{data="R2:C2..R7:C5" legend="R1:C2..R1:C5" name="line_33" table="table4" title="Test overlap @ top" type="line" xaxis="R2:C1..R9:C1" yaxis="on" ygrid="off" ymax="40"}%

ChartPlugin error: Required Perl module 'GD' not found
Test that when 4 lines do exactly overlap at the top of the chart, the legends get correctly placed.

%CHART{data="R2:C2..R8:C5" legend="R1:C2..R1:C5" name="line_34" table="table4" title="Test overlap @ top" type="line" xaxis="R2:C1..R9:C1" yaxis="on" ygrid="off" ymax="40"}%

ChartPlugin error: Required Perl module 'GD' not found
Test that the arrangement of legends of 4 lines located at the top of a chart is correct.

%CHART{data="R2:C2..R9:C5" legend="R1:C2..R1:C5" name="line_35" table="table4" title="Test overlap @ top" type="line" xaxis="R2:C1..R9:C1" yaxis="on" ygrid="off" ymax="40"}%

ChartPlugin error: Required Perl module 'GD' not found
Test that even with a ymax set too low such that the lines go off the top of the chart, the legends still stay on the chart.

%CHART{data="R2:C2..R4:C5" legend="R1:C2..R1:C5" name="line_36" table="table4" title="Test legends falling off top" type="line" xaxis="R2:C1..R9:C1" yaxis="on" ygrid="off" ymax="20"}%

ChartPlugin error: Required Perl module 'GD' not found
Test that even with a ymin set too high such that some lines do not even show up on the chart because they fall below the chart, the legends still stay on the chart.

%CHART{data="R2:C2..R4:C5" legend="R1:C2..R1:C5" name="line_37" table="table4" title="Test legends falling off top" type="line" xaxis="R2:C1..R9:C1" yaxis="on" ygrid="off" ymin="21"}%

ChartPlugin error: Required Perl module 'GD' not found
Test extremes that even when ymin is set higher than all data, that the legends still get drawn on the chart.

%CHART{data="R2:C2..R4:C5" legend="R1:C2..R1:C5" name="line_38" table="table4" title="Test legends falling off bottom" type="line" xaxis="R2:C1..R9:C1" yaxis="on" ygrid="off" ymax="60" ymin="50"}%

ChartPlugin error: Required Perl module 'GD' not found
Test extremes that even when ymax is set lower than all data, that the legends still get drawn on the chart.

%CHART{data="R2:C2..R4:C5" legend="R1:C2..R1:C5" name="line_39" table="table4" title="Test legends falling off top" type="line" xaxis="R2:C1..R9:C1" yaxis="on" ygrid="off" ymax="-10" ymin="-50"}%

ChartPlugin error: Required Perl module 'GD' not found

Test numxgrids and xaxisangle options

Show what happens when there is so much data that the X axis labels overlap

%CHART{data="R2:C2..R99:C5" legend="R1:C2..R1:C5" name="line_40" table="table4" title="Overlapping X labels" type="line" width="200" xaxis="R2:C1..R99:C1" yaxis="on"}%

ChartPlugin error: Required Perl module 'GD' not found
Take the above graph and specify numxgrids = "3" making the X axis labels more readable

%CHART{data="R2:C2..R99:C5" legend="R1:C2..R1:C5" name="line_41" numxgrids="3" table="table4" title="Change numxgrids" type="line" width="200" xaxis="R2:C1..R99:C1" yaxis="on"}%

ChartPlugin error: Required Perl module 'GD' not found
Take the first graph and specify xaxisangle = 90, changing the X axis label angle = 90 degrees

%CHART{data="R2:C2..R99:C5" legend="R1:C2..R1:C5" name="line_42" numxgrids="9" table="table4" title="Change xaxisangle" type="line" width="200" xaxis="R2:C1..R99:C1" xaxisangle="90" yaxis="on"}%

ChartPlugin error: Required Perl module 'GD' not found

Test scale and ytics options

Show how scale=semilog makes the chart easier to read. Since ytics is NOT specified, it defaults to 8.

%CHART{data="R2:C8..R99:C8" legend="R1:C8..R1:C8" name="line_43" scale="semilog" table="table4" title="semilogrithmic scale" type="line" xaxis="R2:C1..R99:C1" yaxis="on"}%

ChartPlugin error: Required Perl module 'GD' not found
Show the above plotted data on a linear scale with ytics=1

%CHART{data="R2:C8..R99:C8" legend="R1:C8..R1:C8" name="line_44" table="table4" title="base10 scale with ytics set to 1" type="line" xaxis="R2:C1..R99:C1" yaxis="on" ytics="1"}%

ChartPlugin error: Required Perl module 'GD' not found

Test defaultdata option

Show what happens when there is sparse data. defaultdata = 0

%CHART{data="R2:C6..R99:C7" datalabel="box" defaultdata="0" legend="R1:C6..R1:C7" name="line_45" table="table4" title="Defaultdata equal 0" type="line" xaxis="R2:C1..R99:C1" yaxis="on"}%

ChartPlugin error: Required Perl module 'GD' not found
Same as above, but now defaultdata = 10

%CHART{data="R2:C6..R99:C7" datalabel="box" defaultdata="10" legend="R1:C6..R1:C7" name="line_46" table="table4" title="Defaultdata equal 0" type="line" xaxis="R2:C1..R99:C1" yaxis="on"}%

ChartPlugin error: Required Perl module 'GD' not found
Same as above, but now defaultdata = "none" (empty)

%CHART{data="R2:C6..R99:C7" datalabel="box" defaultdata="none" legend="R1:C6..R1:C7" name="line_47" table="table4" title="Defaultdata equal 0" type="line" xaxis="R2:C1..R99:C1" yaxis="on"}%

ChartPlugin error: Required Perl module 'GD' not found

Test gridcolor option

Show default grid color with solid grid lines.

%CHART{data="R2:C7..R7:C7" name="line_48" table="table1" title="line test #48" type="line" xaxis="R2:C2..R7:C2" xgrid="on" ygrid="on"}%

ChartPlugin error: Required Perl module 'GD' not found
Change the grid color to blue.

%CHART{data="R2:C7..R7:C7" gridcolor="#0000FF" name="line_49" table="table1" title="line test #49" type="line" xaxis="R2:C2..R7:C2" xgrid="on" ygrid="on"}%

ChartPlugin error: Required Perl module 'GD' not found
Change the grid color back to the default but make them dotted

%CHART{data="R2:C7..R7:C7" name="line_50" table="table1" title="line test #50" type="line" xaxis="R2:C2..R7:C2" xgrid="dot" ygrid="dot"}%

ChartPlugin error: Required Perl module 'GD' not found
Change the grid style to be 5 black dots and 5 transparent dots.

%CHART{data="R2:C7..R7:C7" gridcolor="#000000, #000000, #000000, #000000, #000000, transparent, transparent, transparent, transparent, transparent," name="line_51" table="table1" title="line test #51" type="line" xaxis="R2:C2..R7:C2" xgrid="dot" ygrid="dot"}%

ChartPlugin error: Required Perl module 'GD' not found
Change the grid style to be 4 red dots, 4 green dots, 4 blue dots and 4 transparent dots.

%CHART{data="R2:C7..R7:C7" gridcolor="#FF0000, #FF0000, #FF0000, #FF0000, #00FF00, #00FF00, #00FF00, #00FF00, #0000FF, #0000FF, #0000FF, #0000FF, transparent, transparent, transparent, transparent," name="line_52" table="table1" title="line test #52" type="line" xaxis="R2:C2..R7:C2" xgrid="dot" ygrid="dot"}%

ChartPlugin error: Required Perl module 'GD' not found
Change the grid style to be 1 black dot which basically makes a solid line

%CHART{data="R2:C7..R7:C7" gridcolor="#000000" name="line_53" table="table1" title="line test #53" type="line" xaxis="R2:C2..R7:C2" xgrid="dot" ygrid="dot"}%

ChartPlugin error: Required Perl module 'GD' not found

Error handling tests


Description Expected Output Output
Changed:
<
<
no parameters passed to CHART error about required parameter type missing ChartPlugin error: Required Perl module 'GD' not found
name not specified error about required parameter name missing ChartPlugin error: Required Perl module 'GD' not found
Invalid type of badtype error about unrecognized type badtype ChartPlugin error: Required Perl module 'GD' not found
Missing topic page error about the specified topic not existing ChartPlugin error: Required Perl module 'GD' not found
Missing web error about the specified web not existing ChartPlugin error: Required Perl module 'GD' not found
Invalid table number error about specified table not existing ChartPlugin error: Required Perl module 'GD' not found
No data specified error about no data specified ChartPlugin error: Required Perl module 'GD' not found
invalid xaxis value error about an invalid xaxis range that specifies multiple rows and columns ChartPlugin error: Required Perl module 'GD' not found
invalid legend error about an invalid legend range that specifies multiple rows and columns ChartPlugin error: Required Perl module 'GD' not found
ymin == ymax such that there is no chart height error about chart height = 0 ChartPlugin error: Required Perl module 'GD' not found
The same as combo test #15 except the xaxis value contains an invalid table range of just 'R2:C2' error about invalid xaxis range ChartPlugin error: Required Perl module 'GD' not found
The same as combo test #15 except the data value contains an invalid table range of just 'R2:C4' error about an invalid data range ChartPlugin error: Required Perl module 'GD' not found
The same as combo test #15 except the legend value contains an invalid table range of just 'R1:C4' error about invalid legend range ChartPlugin error: Required Perl module 'GD' not found
scale=semilog and data <= 0 error about invalid data for semilog scale ChartPlugin error: Required Perl module 'GD' not found
>
>
no parameters passed to CHART

%CHART{}%

ChartPlugin error: parameter name must be specified ChartPlugin error: Required Perl module 'GD' not found
Define type but name not specified

%CHART{type="bar"}%

ChartPlugin error: parameter name must be specified ChartPlugin error: Required Perl module 'GD' not found
Invalid type of badtype

%CHART{type="badtype"}%

ChartPlugin error: Invalid value of badtype for parameter type ChartPlugin error: Required Perl module 'GD' not found
Missing topic page

%CHART{name="err1" topic="DoesNotExist" type="line"}%

ChartPlugin error: Error retrieving TWiki topic DoesNotExist? ChartPlugin error: Required Perl module 'GD' not found
Missing web

%CHART{name="err1" type="line" web="DoesNotExist"}%

ChartPlugin error: Error retrieving TWiki topic ChartPluginTests? ChartPlugin error: Required Perl module 'GD' not found
Invalid table number

%CHART{name="err1" table="999" type="line"}%

ChartPlugin error: parameter table is not valid table; the specified table '999' does not exist. ChartPlugin error: Required Perl module 'GD' not found
No data specified

%CHART{name="err1" type="line"}%

ChartPlugin error: parameter data must be specified ChartPlugin error: Required Perl module 'GD' not found
invalid xaxis value

%CHART{data="R2:C4..R7:C7" name="err1" type="line" xaxis="R2:C4..R7:C7"}%

ChartPlugin error: parameter xaxis specifies multiple rows and columns. ChartPlugin error: Required Perl module 'GD' not found
invalid legend

%CHART{data="R1:C1..R2:C2" legend="R1:C1..R2:C2" name="err1" type="line" xaxis="R1:C1..R2:C2"}%

ChartPlugin error: parameter legend specifies multiple rows and columns. ChartPlugin error: Required Perl module 'GD' not found
ymin == ymax such that there is no chart height

%CHART{data="R1:C1..R2:C2" name="err1" type="line" xaxis="R1:C1..R1:C2" ymax="10" ymin="10"}%

ChartPlugin error: chart error: name=err1: Chart height = 0 (ymin(10) == ymax(10)) ChartPlugin error: Required Perl module 'GD' not found
xmin == xmax such that there is no chart width

%CHART{data="R2:C4..R7:C4" name="err1" type="scatter" xaxis="R2:C3..R7:C3"}%

ChartPlugin error: chart error: name=err1: Chart width = 0 (xmin(0) = xmax(0)) ChartPlugin error: Required Perl module 'GD' not found
Use an invalid xaxis range

%CHART{data="R2:C4..R7:C7" name="err1" xaxis="R2:C2"}%

ChartPlugin error: parameter xaxis value of 'R2:C2' is not valid ChartPlugin error: Required Perl module 'GD' not found
Use an invalid data range

%CHART{data="R2:C4" name="err1"}%

ChartPlugin error: parameter data value of 'R2:C4' is not valid ChartPlugin error: Required Perl module 'GD' not found
Use an invalid legend range

%CHART{data="R2:C4..R7:C7" legend="R1:C4" name="err1"}%

ChartPlugin error: parameter legend contains an invalid value 'R1:C4'. ChartPlugin error: Required Perl module 'GD' not found
scale=semilog and data <= 0

%CHART{data="R2:C3..R7:C7" name="err1" scale="semilog"}%

ChartPlugin error: data (0) <= 0 not valid when scale=semilog ChartPlugin error: Required Perl module 'GD' not found

Changed:
<
<
-- TWiki:Main.TaitCyrus - 11 May 2004
-- TWiki:Main.PeterThoeny - 14 May 2004
>
>
-- TWiki:Main.TaitCyrus - 3 June 2004
-- TWiki:Main.PeterThoeny - 14 Sept 2002

 <<O>>  Difference Topic ChartPluginTests (r1.3 - 14 May 2004 - PeterThoeny)

META TOPICPARENT ChartPlugin
Chart Plugin tests
Line: 85 to 85

Set title="New title for area test #22" to above

%CHART{ type="area" name="area_22" title="New title for area test #22" web="TWiki" topic="ChartPluginTestsRemote" table="2" data="R4:C2..R8:C7" xaxis="R2:C2..R2:C7" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off on box" legend="R4:C1..R8:C1" xgrid="off" ygrid="off" }%

ChartPlugin error: Required Perl module 'GD' not found
Same as above except add alt="This is the alt tag"

%CHART{ type="area" name="area_23" title="New title for area test #23" web="TWiki" topic="ChartPluginTestsRemote" table="2" data="R4:C2..R8:C7" xaxis="R2:C2..R2:C7" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off on box" legend="R4:C1..R8:C1" xgrid="off" ygrid="off" alt="This is the alt tag"}%

ChartPlugin error: Required Perl module 'GD' not found
Changed:
<
<

Arealine Tests

>
>

Combo Tests


Changed:
<
<
Single area (no datatype so defaults to "line"). No other markings at all

%CHART{ type="arealine" name="arealine_1" title="arealine test #1"  table="1" data="R2:C7..R7:C7" }%

ChartPlugin error: Required Perl module 'GD' not found
Multiple areas, single line (datatype not specified)

%CHART{ type="arealine" name="arealine_2" title="arealine test #2" table="1" data="R2:C4..R7:C7" }%

ChartPlugin error: Required Perl module 'GD' not found
Add datatype="area line area line" to above

%CHART{ type="arealine" name="arealine_3" title="arealine test #3" table="1" data="R2:C4..R7:C7" datatype="area line area line" }%

ChartPlugin error: Required Perl module 'GD' not found
Change to datatype="line line line line"

%CHART{ type="arealine" name="arealine_4" title="arealine test #4" table="1" data="R2:C4..R7:C7" datatype="line line line line" }%

ChartPlugin error: Required Perl module 'GD' not found
Change to datatype="line line line area"

%CHART{ type="arealine" name="arealine_5" title="arealine test #5" table="1" data="R2:C4..R7:C7" datatype="line line line area" }%

ChartPlugin error: Required Perl module 'GD' not found
Change to datatype="area area area line"

%CHART{ type="arealine" name="arealine_6" title="arealine test #6" table="1" data="R2:C4..R7:C7" datatype="area area area line" }%

ChartPlugin error: Required Perl module 'GD' not found
Add X axis to above

%CHART{ type="arealine" name="arealine_7" title="arealine test #7" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" }%

ChartPlugin error: Required Perl module 'GD' not found
Add Y axis to above

%CHART{ type="arealine" name="arealine_8" title="arealine test #8" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" }%

ChartPlugin error: Required Perl module 'GD' not found
Add ymin="0" to above

%CHART{ type="arealine" name="arealine_9" title="arealine test #9" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" }%

ChartPlugin error: Required Perl module 'GD' not found
Add ymax="200" to above

%CHART{ type="arealine" name="arealine_10" title="arealine test #10" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="200" }%

ChartPlugin error: Required Perl module 'GD' not found
Restore default ymax and add ylabel="Hello there" to above

%CHART{ type="arealine" name="arealine_11" title="arealine test #11" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" }%

ChartPlugin error: Required Perl module 'GD' not found
Add xlabel="Yep, an X title" to above

%CHART{ type="arealine" name="arealine_12" title="arealine test #12" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" }%

ChartPlugin error: Required Perl module 'GD' not found
Add datalabel="on" to above

%CHART{ type="arealine" name="arealine_13" title="arealine test #13" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" datalabel="on" }%

ChartPlugin error: Required Perl module 'GD' not found
Add datalabel="box" to above

%CHART{ type="arealine" name="arealine_14" title="arealine test #14" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" datalabel="box" }%

ChartPlugin error: Required Perl module 'GD' not found
Add legend to above

%CHART{ type="arealine" name="arealine_15" title="arealine test #15" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" datalabel="box" legend="R1:C4..R1:C7" }%

ChartPlugin error: Required Perl module 'GD' not found
Specify different colors to above. Now are lite red, lite green, lite blue, gray instead of #FF3333, #FFFF33, #33FF33, #CC66FF, #99FFFF, #FFCC00, #008000, #FF8080, #3366CC, #800080

%CHART{ type="arealine" name="arealine_16" title="arealine test #16" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" datalabel="box" legend="R1:C4..R1:C7" colors="#ffAAAA,#AAffAA,#AAAAff,#AAAAAA" }%

ChartPlugin error: Required Perl module 'GD' not found
Restore default colors and change datalabel such that only the last area has values in boxes and the 2nd to last has values (no box) to above

%CHART{ type="arealine" name="arealine_17" title="arealine test #17" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R1:C4..R1:C7" datalabel="off off on box" }%

ChartPlugin error: Required Perl module 'GD' not found
Change ygrid="on" to above and change legend so only the last data set shows values in boxes

%CHART{ type="arealine" name="arealine_18" title="arealine test #18" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R1:C4..R1:C7" datalabel="off off off box" ygrid="on" }%

ChartPlugin error: Required Perl module 'GD' not found
Change ygrid="off" to above

%CHART{ type="arealine" name="arealine_19" title="arealine test #19" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R1:C4..R1:C7" datalabel="off off off box" ygrid="off" }%

ChartPlugin error: Required Perl module 'GD' not found
Change xgrid="on" to above

%CHART{ type="arealine" name="arealine_20" title="arealine test #20" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R1:C4..R1:C7" datalabel="off off off box" ygrid="off" xgrid="on" }%

ChartPlugin error: Required Perl module 'GD' not found
Change xgrid="off" to above

%CHART{ type="arealine" name="arealine_21" title="arealine test #21" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R1:C4..R1:C7" datalabel="off off off box" ygrid="off" xgrid="off" }%

ChartPlugin error: Required Perl module 'GD' not found
Change to width="300"

%CHART{ type="arealine" name="arealine_22" title="arealine test #22" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R1:C4..R1:C7" datalabel="off off off box" ygrid="off" xgrid="off" width="300" }%

ChartPlugin error: Required Perl module 'GD' not found
Change to height="150"

%CHART{ type="arealine" name="arealine_23" title="arealine test #23" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R1:C4..R1:C7" datalabel="off off off box" ygrid="off" xgrid="off" width="300" height="150" }%

ChartPlugin error: Required Perl module 'GD' not found
Default width/height. Get data from ChartPluginTestsRemote. Specify table="2" on new topic="ChartPluginTestsRemote". Actual values should show up incremented by 0.52 since data is from a different topic page and the 0.02 denotes the data is from the 2nd table. Legend should show up with Remote since the data on the remote page was set up to include Remote in the legends

%CHART{ type="arealine" name="arealine_24" title="arealine test #24" web="TWiki" topic="ChartPluginTestsRemote" table="2" data="R4:C2..R7:C7" datatype="area area area line" xaxis="R2:C2..R2:C7" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R4:C1..R7:C1" datalabel="off off off box" ygrid="off" xgrid="off" }%

ChartPlugin error: Required Perl module 'GD' not found
Same as above except add an additional data set (averages) that is calculated by %CALC%.

%CHART{ type="arealine" name="arealine_25" title="arealine test #25" web="TWiki" topic="ChartPluginTestsRemote" table="2" data="R4:C2..R8:C7" datatype="area area area line" xaxis="R2:C2..R2:C7" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R4:C1..R8:C1" datalabel="off off off box" ygrid="off" xgrid="off" }%

ChartPlugin error: Required Perl module 'GD' not found
Same as above except specify bgcolor light blue and orange.

%CHART{ type="arealine" name="arealine_25b" title="arealine test #25 with bgcolor" web="TWiki" topic="ChartPluginTestsRemote" table="2" data="R4:C2..R8:C7" datatype="area area area line" xaxis="R2:C2..R2:C7" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R4:C1..R8:C1" datalabel="off off off box" ygrid="off" xgrid="off" bgcolor="#EEEEFF #FFA000"}%

ChartPlugin error: Required Perl module 'GD' not found
Set title="Set new title, arealine test #26" to above

%CHART{ type="arealine" name="arealine_26" title="Set new title, arealine test #26" web="TWiki" topic="ChartPluginTestsRemote" table="2" data="R4:C2..R8:C7" datatype="area area area line" xaxis="R2:C2..R2:C7" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R4:C1..R8:C1" datalabel="off off off box" ygrid="off" xgrid="off" }%

ChartPlugin error: Required Perl module 'GD' not found
Same as above except add alt="This is the alt tag"

%CHART{ type="arealine" name="arealine_27" title="Set new title, arealine test #27" web="TWiki" topic="ChartPluginTestsRemote" table="2" data="R4:C2..R8:C7" datatype="area area area line" xaxis="R2:C2..R2:C7" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R4:C1..R8:C1" datalabel="off off off box" ygrid="off" xgrid="off" alt="This is the alt tag" }%

ChartPlugin error: Required Perl module 'GD' not found

Some Arealine Tests with Extreme Values

Show a wide chart with width="500"

%CHART{ type="arealine" name="arealine15e1" title="arealine test #15 extreme #1" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" datatype="area area area line" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off off box" legend="R1:C4..R1:C7" ygrid="off" xgrid="off" width="500" }%

ChartPlugin error: Required Perl module 'GD' not found
Show a tall chart with height="500"

%CHART{ type="arealine" name="arealine15e2" title="arealine test #15 extreme #2" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" datatype="area area area line" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off off box" legend="R1:C4..R1:C7" ygrid="off" xgrid="off" height="500" }%

ChartPlugin error: Required Perl module 'GD' not found
Show a wide and tall chart with width="500" and height="500"

%CHART{ type="arealine" name="arealine15e3" title="arealine test #15 extreme #3" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" datatype="area area area line" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off off box" legend="R1:C4..R1:C7" ygrid="off" xgrid="off" width="500" height="500" }%

ChartPlugin error: Required Perl module 'GD' not found
>
>
Single area (no datatype so defaults to "line"). No other markings at all

%CHART{ type="combo" name="combo_1" title="combo test #1"  table="1" data="R2:C7..R7:C7" }%

ChartPlugin error: Required Perl module 'GD' not found
Multiple areas, single line (datatype not specified)

%CHART{ type="combo" name="combo_2" title="combo test #2" table="1" data="R2:C4..R7:C7" }%

ChartPlugin error: Required Perl module 'GD' not found
Add datatype="area line area line" to above

%CHART{ type="combo" name="combo_3" title="combo test #3" table="1" data="R2:C4..R7:C7" datatype="area line area line" }%

ChartPlugin error: Required Perl module 'GD' not found
Change to datatype="line point pline line"

%CHART{ type="combo" name="combo_4" title="combo test #4" table="1" data="R2:C4..R7:C7" datatype="line line line line" }%

ChartPlugin error: Required Perl module 'GD' not found
Change to datatype="line area line line"

%CHART{ type="combo" name="combo_5" title="combo test #5" table="1" data="R2:C4..R7:C7" datatype="line line line area" }%

ChartPlugin error: Required Perl module 'GD' not found
Change to datatype="area area area line"

%CHART{ type="combo" name="combo_6" title="combo test #6" table="1" data="R2:C4..R7:C7" datatype="area area area line" }%

ChartPlugin error: Required Perl module 'GD' not found
Add X axis to above

%CHART{ type="combo" name="combo_7" title="combo test #7" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" }%

ChartPlugin error: Required Perl module 'GD' not found
Add Y axis to above

%CHART{ type="combo" name="combo_8" title="combo test #8" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" }%

ChartPlugin error: Required Perl module 'GD' not found
Add ymin="0" to above

%CHART{ type="combo" name="combo_9" title="combo test #9" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" }%

ChartPlugin error: Required Perl module 'GD' not found
Add ymax="200" to above

%CHART{ type="combo" name="combo_10" title="combo test #10" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="200" }%

ChartPlugin error: Required Perl module 'GD' not found
Restore default ymax and add ylabel="Hello there" to above

%CHART{ type="combo" name="combo_11" title="combo test #11" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" }%

ChartPlugin error: Required Perl module 'GD' not found
Add xlabel="Yep, an X title" to above

%CHART{ type="combo" name="combo_12" title="combo test #12" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" }%

ChartPlugin error: Required Perl module 'GD' not found
Add datalabel="on" to above

%CHART{ type="combo" name="combo_13" title="combo test #13" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" datalabel="on" }%

ChartPlugin error: Required Perl module 'GD' not found
Add datalabel="box" to above

%CHART{ type="combo" name="combo_14" title="combo test #14" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" datalabel="box" }%

ChartPlugin error: Required Perl module 'GD' not found
Add legend to above

%CHART{ type="combo" name="combo_15" title="combo test #15" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" datalabel="box" legend="R1:C4..R1:C7" }%

ChartPlugin error: Required Perl module 'GD' not found
Specify different colors to above. Now are lite red, lite green, lite blue, gray instead of #FF3333, #FFFF33, #33FF33, #CC66FF, #99FFFF, #FFCC00, #008000, #FF8080, #3366CC, #800080

%CHART{ type="combo" name="combo_16" title="combo test #16" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" datalabel="box" legend="R1:C4..R1:C7" colors="#ffAAAA,#AAffAA,#AAAAff,#AAAAAA" }%

ChartPlugin error: Required Perl module 'GD' not found
Restore default colors and change datalabel such that only the last area has values in boxes and the 2nd to last has values (no box) to above

%CHART{ type="combo" name="combo_17" title="combo test #17" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R1:C4..R1:C7" datalabel="off off on box" }%

ChartPlugin error: Required Perl module 'GD' not found
Change ygrid="on" to above and change legend so only the last data set shows values in boxes

%CHART{ type="combo" name="combo_18" title="combo test #18" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R1:C4..R1:C7" datalabel="off off off box" ygrid="on" }%

ChartPlugin error: Required Perl module 'GD' not found
Change ygrid="off" to above

%CHART{ type="combo" name="combo_19" title="combo test #19" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R1:C4..R1:C7" datalabel="off off off box" ygrid="off" }%

ChartPlugin error: Required Perl module 'GD' not found
Change xgrid="on" to above

%CHART{ type="combo" name="combo_20" title="combo test #20" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R1:C4..R1:C7" datalabel="off off off box" ygrid="off" xgrid="on" }%

ChartPlugin error: Required Perl module 'GD' not found
Change xgrid="off" to above

%CHART{ type="combo" name="combo_21" title="combo test #21" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R1:C4..R1:C7" datalabel="off off off box" ygrid="off" xgrid="off" }%

ChartPlugin error: Required Perl module 'GD' not found
Change to width="300"

%CHART{ type="combo" name="combo_22" title="combo test #22" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R1:C4..R1:C7" datalabel="off off off box" ygrid="off" xgrid="off" width="300" }%

ChartPlugin error: Required Perl module 'GD' not found
Change to height="150"

%CHART{ type="combo" name="combo_23" title="combo test #23" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R1:C4..R1:C7" datalabel="off off off box" ygrid="off" xgrid="off" width="300" height="150" }%

ChartPlugin error: Required Perl module 'GD' not found
Default width/height. Get data from ChartPluginTestsRemote. Specify table="2" on new topic="ChartPluginTestsRemote". Actual values should show up incremented by 0.52 since data is from a different topic page and the 0.02 denotes the data is from the 2nd table. Legend should show up with Remote since the data on the remote page was set up to include Remote in the legends

%CHART{ type="combo" name="combo_24" title="combo test #24" web="TWiki" topic="ChartPluginTestsRemote" table="2" data="R4:C2..R7:C7" datatype="area area area line" xaxis="R2:C2..R2:C7" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R4:C1..R7:C1" datalabel="off off off box" ygrid="off" xgrid="off" }%

ChartPlugin error: Required Perl module 'GD' not found
Same as above except add an additional data set (averages) that is calculated by %CALC%.

%CHART{ type="combo" name="combo_25" title="combo test #25" web="TWiki" topic="ChartPluginTestsRemote" table="2" data="R4:C2..R8:C7" datatype="area area area line" xaxis="R2:C2..R2:C7" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R4:C1..R8:C1" datalabel="off off off box" ygrid="off" xgrid="off" }%

ChartPlugin error: Required Perl module 'GD' not found
Same as above except specify bgcolor light blue and orange.

%CHART{ type="combo" name="combo_25b" title="combo test #25 with bgcolor" web="TWiki" topic="ChartPluginTestsRemote" table="2" data="R4:C2..R8:C7" datatype="area area area line" xaxis="R2:C2..R2:C7" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R4:C1..R8:C1" datalabel="off off off box" ygrid="off" xgrid="off" bgcolor="#EEEEFF #FFA000"}%

ChartPlugin error: Required Perl module 'GD' not found
Set title="Set new title, combo test #26" to above

%CHART{ type="combo" name="combo_26" title="Set new title, combo test #26" web="TWiki" topic="ChartPluginTestsRemote" table="2" data="R4:C2..R8:C7" datatype="area area area line" xaxis="R2:C2..R2:C7" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R4:C1..R8:C1" datalabel="off off off box" ygrid="off" xgrid="off" }%

ChartPlugin error: Required Perl module 'GD' not found
Same as above except add alt="This is the alt tag"

%CHART{ type="combo" name="combo_27" title="Set new title, combo test #27" web="TWiki" topic="ChartPluginTestsRemote" table="2" data="R4:C2..R8:C7" datatype="area area area line" xaxis="R2:C2..R2:C7" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R4:C1..R8:C1" datalabel="off off off box" ygrid="off" xgrid="off" alt="This is the alt tag" }%

ChartPlugin error: Required Perl module 'GD' not found

Some Combo Tests with Extreme Values

Show a wide chart with width="500"

%CHART{ type="combo" name="combo15e1" title="combo test #15 extreme #1" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" datatype="area area area line" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off off box" legend="R1:C4..R1:C7" ygrid="off" xgrid="off" width="500" }%

ChartPlugin error: Required Perl module 'GD' not found
Show a tall chart with height="500"

%CHART{ type="combo" name="combo15e2" title="combo test #15 extreme #2" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" datatype="area area area line" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off off box" legend="R1:C4..R1:C7" ygrid="off" xgrid="off" height="500" }%

ChartPlugin error: Required Perl module 'GD' not found
Show a wide and tall chart with width="500" and height="500"

%CHART{ type="combo" name="combo15e3" title="combo test #15 extreme #3" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" datatype="area area area line" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off off box" legend="R1:C4..R1:C7" ygrid="off" xgrid="off" width="500" height="500" }%

ChartPlugin error: Required Perl module 'GD' not found

Show a simple chart using bgcolor = #EEEEEE

%CHART{ type="line" name="line_16" title="Test bgcolor #EEEEEE" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="box" legend="R1:C4..R1:C7" bgcolor="#EEEEEE" }%

ChartPlugin error: Required Perl module 'GD' not found
Show a simple chart using bgcolor = "#FFFFFF #EEEEEE"

%CHART{ type="line" name="line_17" title="Test bgcolor #FFFFFF #EEEEEE" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="box" legend="R1:C4..R1:C7" bgcolor="#FFFFFF #EEEEEE" }%

ChartPlugin error: Required Perl module 'GD' not found
Show a simple chart using bgcolor = "#EEEEEE #EEFFEE"

%CHART{ type="line" name="line_18" title="Test bgcolor #EEEEEE #EEFFEE" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="box" legend="R1:C4..R1:C7" bgcolor="#EEEEEE #EEFFEE" }%

ChartPlugin error: Required Perl module 'GD' not found

Table #3

%TABLE{name="table3"}%
Changed:
<
<
  line 1 line 2 line 3 line 4
1990 0 0 0 0
1991 0 0 0 0
1992 2 12 22 32
1993 3 20 20 33
1994 3 20 19.5 33
1995 39 38 37 36
1996 40 40 40 40
1997 40 41 42 43

Test various legend placement situations

Test that when all lines overlap on the very bottom of the chart, the legends all show up non-overlapped

%CHART{type="line" name="table3_test1" table="table3" xaxis="R1:C1..R7:C1" data="R2:C2..R3:C99" yaxis="on" legend="R1:C2..R1:C99" ymin="0" ymax="1" title="Test overlap @ bottom"}%

ChartPlugin error: Required Perl module 'GD' not found
Test that when the lines don't overlap, that the legends get placed where you expect them to

%CHART{type="line" name="table3_test2" table="table3" xaxis="R1:C1..R7:C1" data="R2:C2..R4:C99" yaxis="on" legend="R1:C2..R1:C99" title="Test non-overlap"}%

ChartPlugin error: Required Perl module 'GD' not found
Test that when two lines overlap in the middle of the chart, the legends get correctly placed

%CHART{type="line" name="table3_test3" table="table3" xaxis="R1:C1..R7:C1" data="R2:C2..R5:C99" yaxis="on" legend="R1:C2..R1:C99" title="Test overlap @ middle"}%

ChartPlugin error: Required Perl module 'GD' not found
Similar to the test above, except the data is changed such that the placement of the legends for the two middle lines should be reversed

=%CHART{type="line" name="table3_test4" table="table3" xaxis="R1:C1..R7:C1" data="R2:C2..R6:C99" yaxis="on" legend="R1:C2..R1:C99" title="Test overlap @ middle"}%

ChartPlugin error: Required Perl module 'GD' not found
Test that when 4 lines are close to overlapping and are all located at the top of the chart, the legends get correctly placed.

=%CHART{type="line" name="table3_test5" table="table3" xaxis="R1:C1..R8:C1" data="R2:C2..R7:C99" yaxis="on" legend="R1:C2..R1:C99" title="Test overlap @ top" ymax="40"}%

ChartPlugin error: Required Perl module 'GD' not found
Test that when 4 lines do exactly overlap at the top of the chart, the legends get correctly placed.

=%CHART{type="line" name="table3_test6" table="table3" xaxis="R1:C1..R8:C1" data="R2:C2..R8:C99" yaxis="on" legend="R1:C2..R1:C99" title="Test overlap @ top" ymax="40"}%

ChartPlugin error: Required Perl module 'GD' not found
Test that the arrangement of legends of 4 lines located at the top of a chart is correct.

=%CHART{type="line" name="table3_test7" table="table3" xaxis="R1:C1..R8:C1" data="R2:C2..R9:C99" yaxis="on" legend="R1:C2..R1:C99" title="Test overlap @ top" ymax="40"}%

ChartPlugin error: Required Perl module 'GD' not found
Test that even with a ymax set too low such that the lines go off the top of the chart, the legends still stay on the chart.

=%CHART{type="line" name="table3_test8" table="table3" xaxis="R1:C1..R8:C1" data="R2:C2..R4:C99" yaxis="on" legend="R1:C2..R1:C99" title="Test legends falling off top" ymax="20"}%

ChartPlugin error: Required Perl module 'GD' not found
Test that even with a ymin set too high such that some lines don't even show up on the chart because the fall below the chart, the legends still stay on the chart.

=%CHART{type="line" name="table3_test9" table="table3" xaxis="R1:C1..R8:C1" data="R2:C2..R4:C99" yaxis="on" legend="R1:C2..R1:C99" title="Test legends falling off top" ymin="21"}%

ChartPlugin error: Required Perl module 'GD' not found
Test extremes that even when ymin is set higher than all data, that the legends still get drawn on the chart.

=%CHART{type="line" name="table3_test10" table="table3" xaxis="R1:C1..R8:C1" data="R2:C2..R4:C99" yaxis="on" legend="R1:C2..R1:C99" title="Test legends falling off bottom" ymin="50" ymax="60"}%

ChartPlugin error: Required Perl module 'GD' not found
Test extremes that even when ymax is set lower than all data, that the legends still get drawn on the chart.

=%CHART{type="line" name="table3_test11" table="table3" xaxis="R1:C1..R8:C1" data="R2:C2..R4:C99" yaxis="on" legend="R1:C2..R1:C99" title="Test legends falling off top" ymin="-50" ymax="-10"}%

ChartPlugin error: Required Perl module 'GD' not found
>
>
  line 1 line 2 line 3 line 4 sparse 1 sparse 2 log10 line
1990 0 0 0 0 0   0.2
1991 0 0 0 0   35 1
1992 2 12 22 32 35.5   5
1993 3 20 20 33 38 35.2 25
1994 3 20 19.5 33 38.1   125
1995 39 38 37 36   35.8 625
1996 40 40 40 40 38.1   3125
1997 40 41 42 43   35 15625

Test various legend placement situations

Test that when all lines overlap on the very bottom of the chart, the legends all show up non-overlapped

%CHART{type="line" name="table3_test1" table="table3" xaxis="R2:C1..R7:C1" data="R2:C2..R3:C5" yaxis="on" legend="R1:C2..R1:C5" ymin="0" ymax="1" title="Test overlap @ bottom"}%

ChartPlugin error: Required Perl module 'GD' not found
Test that when the lines don't overlap, that the legends get placed where you expect them to

%CHART{type="line" name="table3_test2" table="table3" xaxis="R2:C1..R7:C1" data="R2:C2..R4:C5" yaxis="on" legend="R1:C2..R1:C5" title="Test non-overlap"}%

ChartPlugin error: Required Perl module 'GD' not found
Test that when two lines overlap in the middle of the chart, the legends get correctly placed

%CHART{type="line" name="table3_test3" table="table3" xaxis="R2:C1..R7:C1" data="R2:C2..R5:C5" yaxis="on" legend="R1:C2..R1:C5" title="Test overlap @ middle"}%

ChartPlugin error: Required Perl module 'GD' not found
Similar to the test above, except the data is changed such that the placement of the legends for the two middle lines should be reversed

=%CHART{type="line" name="table3_test4" table="table3" xaxis="R2:C1..R7:C1" data="R2:C2..R6:C5" yaxis="on" legend="R1:C2..R1:C5" title="Test overlap @ middle"}%

ChartPlugin error: Required Perl module 'GD' not found
Test that when 4 lines are close to overlapping and are all located at the top of the chart, the legends get correctly placed.

=%CHART{type="line" name="table3_test5" table="table3" xaxis="R2:C1..R8:C1" data="R2:C2..R7:C5" yaxis="on" legend="R1:C2..R1:C5" title="Test overlap @ top" ymax="40"}%

ChartPlugin error: Required Perl module 'GD' not found
Test that when 4 lines do exactly overlap at the top of the chart, the legends get correctly placed.

=%CHART{type="line" name="table3_test6" table="table3" xaxis="R2:C1..R8:C1" data="R2:C2..R8:C5" yaxis="on" legend="R1:C2..R1:C5" title="Test overlap @ top" ymax="40"}%

ChartPlugin error: Required Perl module 'GD' not found
Test that the arrangement of legends of 4 lines located at the top of a chart is correct.

=%CHART{type="line" name="table3_test7" table="table3" xaxis="R2:C1..R8:C1" data="R2:C2..R9:C5" yaxis="on" legend="R1:C2..R1:C5" title="Test overlap @ top" ymax="40"}%

ChartPlugin error: Required Perl module 'GD' not found
Test that even with a ymax set too low such that the lines go off the top of the chart, the legends still stay on the chart.

=%CHART{type="line" name="table3_test8" table="table3" xaxis="R2:C1..R8:C1" data="R2:C2..R4:C5" yaxis="on" legend="R1:C2..R1:C5" title="Test legends falling off top" ymax="20"}%

ChartPlugin error: Required Perl module 'GD' not found
Test that even with a ymin set too high such that some lines don't even show up on the chart because the fall below the chart, the legends still stay on the chart.

=%CHART{type="line" name="table3_test9" table="table3" xaxis="R2:C1..R8:C1" data="R2:C2..R4:C5" yaxis="on" legend="R1:C2..R1:C5" title="Test legends falling off top" ymin="21"}%

ChartPlugin error: Required Perl module 'GD' not found
Test extremes that even when ymin is set higher than all data, that the legends still get drawn on the chart.

=%CHART{type="line" name="table3_test10" table="table3" xaxis="R2:C1..R8:C1" data="R2:C2..R4:C5" yaxis="on" legend="R1:C2..R1:C5" title="Test legends falling off bottom" ymin="50" ymax="60"}%

ChartPlugin error: Required Perl module 'GD' not found
Test extremes that even when ymax is set lower than all data, that the legends still get drawn on the chart.

=%CHART{type="line" name="table3_test11" table="table3" xaxis="R2:C1..R8:C1" data="R2:C2..R4:C5" yaxis="on" legend="R1:C2..R1:C5" title="Test legends falling off top" ymin="-50" ymax="-10"}%

ChartPlugin error: Required Perl module 'GD' not found

Test new CHART options numxgrids and xaxisangle

Show what happens when there is so much data that the X axis labels overlap

%CHART{type="line" name="table3b_test1" table="table3" width="200" xaxis="R2:C1..R99:C1" data="R2:C2..R99:C5" yaxis="on" legend="R1:C2..R1:C5" title="Overlapping X labels"}%

ChartPlugin error: Required Perl module 'GD' not found
Take the above graph and specify numxgrids = 2 making the X axis labels more readable. Note: There should be 3 X grids drawn since 2 grids would fall between data points.

%CHART{type="line" name="table3b_test2" table="table3" numxgrids="2" width="200" xaxis="R2:C1..R99:C1" data="R2:C2..R99:C5" yaxis="on" legend="R1:C2..R1:C5" title="Using numxgrids"}%

ChartPlugin error: Required Perl module 'GD' not found
Take the first graph and specify xaxisangle = 90, changing the X axis label angle = 90 degrees

%CHART{type="line" name="table3b_test3" table="table3" width="200" xaxis="R2:C1..R99:C1" data="R2:C2..R99:C5" yaxis="on" legend="R1:C2..R1:C5" xaxisangle="90" title="Using xaxisangle"}%

ChartPlugin error: Required Perl module 'GD' not found

Test new CHART option defaultdata

Show what happens when there is sparse data. defaultdata = 0

%CHART{type="line" name="table3c_test1" table="table3" xaxis="R2:C1..R99:C1" data="R2:C6..R99:C7" defaultdata="0" datalabel="box" yaxis="on" legend="R1:C6..R1:C7" title="Defaultdata equal 0"}%

ChartPlugin error: Required Perl module 'GD' not found
Same as above, but now defaultdata = 10

%CHART{type="line" name="table3c_test2" table="table3" xaxis="R2:C1..R99:C1" data="R2:C6..R99:C7" defaultdata="10" datalabel="box" yaxis="on" legend="R1:C6..R1:C7" title="Defaultdata equal 10"}%

ChartPlugin error: Required Perl module 'GD' not found
Same as above, but now defaultdata = 'none' (empty)

%CHART{type="line" name="table3c_test3" table="table3" xaxis="R2:C1..R99:C1" data="R2:C6..R99:C7" defaultdata="none" datalabel="box" yaxis="on" legend="R1:C6..R1:C7" title="Defaultdata equal 'none'"}%

ChartPlugin error: Required Perl module 'GD' not found

Test new CHART options scale and ytics

Show how scale=semilog makes the chart easier to read. Since ytics is NOT specified, it defaults to 8.

%CHART{type="line" name="table3d_test1" table="table3" scale="semilog" xaxis="R2:C1..R99:C1" data="R2:C8..R99:C8" yaxis="on" legend="R1:C8..R1:C8" title="semilogrithmic scale"}%

ChartPlugin error: Required Perl module 'GD' not found
Show the above plotted data on a base10 scale with ytics=1=

=%CHART{type="line" name="table3d_test2" table="table3" xaxis="R2:C1..R99:C1" data="R2:C8..R99:C8" yaxis="on" ytics="1" legend="R1:C8..R1:C8" title="base10 scale with ytics set to 1"}%

ChartPlugin error: Required Perl module 'GD' not found

Table #4

%TABLE{name="table4"}%
A B C D
1 3 6 33
1.4 6 22 2
1.8 2 5  
2.5 4 3  
4 7 6 43
5 13 44 25
7 8 1 4
6 35 3 8
8 2 22 4
9 7 6 13

Test new scatter graph

Show standard lines first with type="line".

%CHART{type="line" name="table3e_test1" table="table4" xaxis="R2:C1..R99:C1" data="R2:C2..R99:C99" yaxis="on" legend="R1:C2..R1:C99" xgrid="off" ygrid="off" }%

ChartPlugin error: Required Perl module 'GD' not found
Same as above, but as a scatter graph with type="scatter" and subtype="pline".

%CHART{type="scatter" subtype="pline" name="table3e_test2" table="table4" xaxis="R2:C1..R99:C1" data="R2:C2..R99:C99" yaxis="on" legend="R1:C2..R1:C99" xgrid="off" ygrid="off" numxgrids="8" }%

ChartPlugin error: Required Perl module 'GD' not found
Same as above, but as the first graph but a combo graph with type="combo" and subtype="area area line".

=%CHART{type="combo" subtype="area area line" name="table3e_test3" table="table4" xaxis="R2:C1..R99:C1" data="R2:C2..R99:C99" yaxis="on" legend="R1:C2..R1:C99" xgrid="off" ygrid="off" }%

ChartPlugin error: Required Perl module 'GD' not found
Same as the last graph, but as a scatter graph.

%CHART{type="scatter" name="table3e_test4" table="table4" xaxis="R2:C1..R99:C1" data="R2:C2..R99:C99" yaxis="on" datatype="area area line" legend="R1:C2..R1:C99" xgrid="off" ygrid="off" numxgrids="8" }%

ChartPlugin error: Required Perl module 'GD' not found

Chart error handling

Line: 163 to 197

invalid xaxis value error about an invalid xaxis range that specifies multiple rows and columns ChartPlugin error: Required Perl module 'GD' not found
invalid legend error about an invalid legend range that specifies multiple rows and columns ChartPlugin error: Required Perl module 'GD' not found
ymin == ymax such that there is no chart height error about chart height = 0 ChartPlugin error: Required Perl module 'GD' not found
Changed:
<
<
The same as arealine test #15 except the xaxis value contains an invalid table range of just 'R2:C2' error about invalid xaxis range ChartPlugin error: Required Perl module 'GD' not found
The same as arealine test #15 except the data value contains an invalid table range of just 'R2:C4' error about an invalid data range ChartPlugin error: Required Perl module 'GD' not found
The same as arealine test #15 except the legend value contains an invalid table range of just 'R1:C4' error about invalid legend range ChartPlugin error: Required Perl module 'GD' not found
>
>
The same as combo test #15 except the xaxis value contains an invalid table range of just 'R2:C2' error about invalid xaxis range ChartPlugin error: Required Perl module 'GD' not found
The same as combo test #15 except the data value contains an invalid table range of just 'R2:C4' error about an invalid data range ChartPlugin error: Required Perl module 'GD' not found
The same as combo test #15 except the legend value contains an invalid table range of just 'R1:C4' error about invalid legend range ChartPlugin error: Required Perl module 'GD' not found
scale=semilog and data <= 0 error about invalid data for semilog scale ChartPlugin error: Required Perl module 'GD' not found

-- TWiki:Main.TaitCyrus - 11 May 2004
-- TWiki:Main.PeterThoeny - 14 May 2004


Deleted:
<
<
-- TaitCyrus? - 14 Sept 2002
-- PeterThoeny - 14 Sept 2002
 <<O>>  Difference Topic ChartPluginTests (r1.2 - 11 Oct 2002 - PeterThoeny)

META TOPICPARENT ChartPlugin
Chart Plugin tests
Line: 9 to 9

Good Charts with various parameters

Changed:
<
<
The following 2 tables are used for testing purposes. The 2nd table is the same as the 1st except that the data is row oriented instead of column oriented. Some of the tests reference other web.topics and the referenced web.topics are described in the comments section for each chart. The 2nd table is
>
>
The following 2 tables are used for testing purposes. The 2nd table is the same as the 1st except that the data is row oriented instead of column oriented. Some of the tests reference other web.topics and the referenced web.topics are described in the comments section for each chart.

Table #1

Nr Period Min Acceptable Target Exceptional Actual Comment
Line: 39 to 39

Add ymin="0" to above

%CHART{ type="line" name="line_4" title="line test #4" table="1" data="R2:C7..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" }%

ChartPlugin error: Required Perl module 'GD' not found
Add ymax="100" to above

%CHART{ type="line" name="line_5" title="line test #5" table="1" data="R2:C7..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" }%

ChartPlugin error: Required Perl module 'GD' not found
Add ylabel="Hello there" to above

%CHART{ type="line" name="line_6" title="line test #6"  table="1" data="R2:C7..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" }%

ChartPlugin error: Required Perl module 'GD' not found
Changed:
<
<
Add xlabel="Yep, an X title" to above

%CHART{ type="line" name="line_7" title="line test #7"  table="1" data="R2:C7..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" }%

ChartPlugin error: Required Perl module 'GD' not found
>
>
Add numygrids="5" to above

%CHART{ type="line" name="line_6b" title="line test #6b"  table="1" data="R2:C7..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" numygrids="5"}%

ChartPlugin error: Required Perl module 'GD' not found
Change numygrids="2" to above

%CHART{ type="line" name="line_6c" title="line test #6c"  table="1" data="R2:C7..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" numygrids="2"}%

ChartPlugin error: Required Perl module 'GD' not found
Remove numygrids from above and add xlabel="Yep, an X title"

%CHART{ type="line" name="line_7" title="line test #7"  table="1" data="R2:C7..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" }%

ChartPlugin error: Required Perl module 'GD' not found

Add datalabel="on" to above

%CHART{ type="line" name="line_8" title="line test #8"  table="1" data="R2:C7..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="on" }%

ChartPlugin error: Required Perl module 'GD' not found
Add datalabel="box" to above

%CHART{ type="line" name="line_9" title="line test #9"  table="1" data="R2:C7..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="box" }%

ChartPlugin error: Required Perl module 'GD' not found
Add legend to above

%CHART{ type="line" name="line_10" title="line test #10"  table="1" data="R2:C7..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="box" legend="R1:C7..R1:C7" }%

ChartPlugin error: Required Perl module 'GD' not found
Line: 110 to 112

Change to height="150"

%CHART{ type="arealine" name="arealine_23" title="arealine test #23" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R1:C4..R1:C7" datalabel="off off off box" ygrid="off" xgrid="off" width="300" height="150" }%

ChartPlugin error: Required Perl module 'GD' not found
Default width/height. Get data from ChartPluginTestsRemote. Specify table="2" on new topic="ChartPluginTestsRemote". Actual values should show up incremented by 0.52 since data is from a different topic page and the 0.02 denotes the data is from the 2nd table. Legend should show up with Remote since the data on the remote page was set up to include Remote in the legends

%CHART{ type="arealine" name="arealine_24" title="arealine test #24" web="TWiki" topic="ChartPluginTestsRemote" table="2" data="R4:C2..R7:C7" datatype="area area area line" xaxis="R2:C2..R2:C7" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R4:C1..R7:C1" datalabel="off off off box" ygrid="off" xgrid="off" }%

ChartPlugin error: Required Perl module 'GD' not found
Same as above except add an additional data set (averages) that is calculated by %CALC%.

%CHART{ type="arealine" name="arealine_25" title="arealine test #25" web="TWiki" topic="ChartPluginTestsRemote" table="2" data="R4:C2..R8:C7" datatype="area area area line" xaxis="R2:C2..R2:C7" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R4:C1..R8:C1" datalabel="off off off box" ygrid="off" xgrid="off" }%

ChartPlugin error: Required Perl module 'GD' not found
Added:
>
>
Same as above except specify bgcolor light blue and orange.

%CHART{ type="arealine" name="arealine_25b" title="arealine test #25 with bgcolor" web="TWiki" topic="ChartPluginTestsRemote" table="2" data="R4:C2..R8:C7" datatype="area area area line" xaxis="R2:C2..R2:C7" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R4:C1..R8:C1" datalabel="off off off box" ygrid="off" xgrid="off" bgcolor="#EEEEFF #FFA000"}%

ChartPlugin error: Required Perl module 'GD' not found

Set title="Set new title, arealine test #26" to above

%CHART{ type="arealine" name="arealine_26" title="Set new title, arealine test #26" web="TWiki" topic="ChartPluginTestsRemote" table="2" data="R4:C2..R8:C7" datatype="area area area line" xaxis="R2:C2..R2:C7" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R4:C1..R8:C1" datalabel="off off off box" ygrid="off" xgrid="off" }%

ChartPlugin error: Required Perl module 'GD' not found
Same as above except add alt="This is the alt tag"

%CHART{ type="arealine" name="arealine_27" title="Set new title, arealine test #27" web="TWiki" topic="ChartPluginTestsRemote" table="2" data="R4:C2..R8:C7" datatype="area area area line" xaxis="R2:C2..R2:C7" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R4:C1..R8:C1" datalabel="off off off box" ygrid="off" xgrid="off" alt="This is the alt tag" }%

ChartPlugin error: Required Perl module 'GD' not found
Line: 118 to 121

Show a wide chart with width="500"

%CHART{ type="arealine" name="arealine15e1" title="arealine test #15 extreme #1" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" datatype="area area area line" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off off box" legend="R1:C4..R1:C7" ygrid="off" xgrid="off" width="500" }%

ChartPlugin error: Required Perl module 'GD' not found
Show a tall chart with height="500"

%CHART{ type="arealine" name="arealine15e2" title="arealine test #15 extreme #2" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" datatype="area area area line" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off off box" legend="R1:C4..R1:C7" ygrid="off" xgrid="off" height="500" }%

ChartPlugin error: Required Perl module 'GD' not found
Show a wide and tall chart with width="500" and height="500"

%CHART{ type="arealine" name="arealine15e3" title="arealine test #15 extreme #3" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" datatype="area area area line" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off off box" legend="R1:C4..R1:C7" ygrid="off" xgrid="off" width="500" height="500" }%

ChartPlugin error: Required Perl module 'GD' not found
Added:
>
>
Show a simple chart using bgcolor = #EEEEEE

%CHART{ type="line" name="line_16" title="Test bgcolor #EEEEEE" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="box" legend="R1:C4..R1:C7" bgcolor="#EEEEEE" }%

ChartPlugin error: Required Perl module 'GD' not found
Show a simple chart using bgcolor = "#FFFFFF #EEEEEE"

%CHART{ type="line" name="line_17" title="Test bgcolor #FFFFFF #EEEEEE" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="box" legend="R1:C4..R1:C7" bgcolor="#FFFFFF #EEEEEE" }%

ChartPlugin error: Required Perl module 'GD' not found
Show a simple chart using bgcolor = "#EEEEEE #EEFFEE"

%CHART{ type="line" name="line_18" title="Test bgcolor #EEEEEE #EEFFEE" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="box" legend="R1:C4..R1:C7" bgcolor="#EEEEEE #EEFFEE" }%

ChartPlugin error: Required Perl module 'GD' not found

Table #3

%TABLE{name="table3"}%
  line 1 line 2 line 3 line 4
1990 0 0 0 0
1991 0 0 0 0
1992 2 12 22 32
1993 3 20 20 33
1994 3 20 19.5 33
1995 39 38 37 36
1996 40 40 40 40
1997 40 41 42 43

Test various legend placement situations

Test that when all lines overlap on the very bottom of the chart, the legends all show up non-overlapped

%CHART{type="line" name="table3_test1" table="table3" xaxis="R1:C1..R7:C1" data="R2:C2..R3:C99" yaxis="on" legend="R1:C2..R1:C99" ymin="0" ymax="1" title="Test overlap @ bottom"}%

ChartPlugin error: Required Perl module 'GD' not found
Test that when the lines don't overlap, that the legends get placed where you expect them to

%CHART{type="line" name="table3_test2" table="table3" xaxis="R1:C1..R7:C1" data="R2:C2..R4:C99" yaxis="on" legend="R1:C2..R1:C99" title="Test non-overlap"}%

ChartPlugin error: Required Perl module 'GD' not found
Test that when two lines overlap in the middle of the chart, the legends get correctly placed

%CHART{type="line" name="table3_test3" table="table3" xaxis="R1:C1..R7:C1" data="R2:C2..R5:C99" yaxis="on" legend="R1:C2..R1:C99" title="Test overlap @ middle"}%

ChartPlugin error: Required Perl module 'GD' not found
Similar to the test above, except the data is changed such that the placement of the legends for the two middle lines should be reversed

=%CHART{type="line" name="table3_test4" table="table3" xaxis="R1:C1..R7:C1" data="R2:C2..R6:C99" yaxis="on" legend="R1:C2..R1:C99" title="Test overlap @ middle"}%

ChartPlugin error: Required Perl module 'GD' not found
Test that when 4 lines are close to overlapping and are all located at the top of the chart, the legends get correctly placed.

=%CHART{type="line" name="table3_test5" table="table3" xaxis="R1:C1..R8:C1" data="R2:C2..R7:C99" yaxis="on" legend="R1:C2..R1:C99" title="Test overlap @ top" ymax="40"}%

ChartPlugin error: Required Perl module 'GD' not found
Test that when 4 lines do exactly overlap at the top of the chart, the legends get correctly placed.

=%CHART{type="line" name="table3_test6" table="table3" xaxis="R1:C1..R8:C1" data="R2:C2..R8:C99" yaxis="on" legend="R1:C2..R1:C99" title="Test overlap @ top" ymax="40"}%

ChartPlugin error: Required Perl module 'GD' not found
Test that the arrangement of legends of 4 lines located at the top of a chart is correct.

=%CHART{type="line" name="table3_test7" table="table3" xaxis="R1:C1..R8:C1" data="R2:C2..R9:C99" yaxis="on" legend="R1:C2..R1:C99" title="Test overlap @ top" ymax="40"}%

ChartPlugin error: Required Perl module 'GD' not found
Test that even with a ymax set too low such that the lines go off the top of the chart, the legends still stay on the chart.

=%CHART{type="line" name="table3_test8" table="table3" xaxis="R1:C1..R8:C1" data="R2:C2..R4:C99" yaxis="on" legend="R1:C2..R1:C99" title="Test legends falling off top" ymax="20"}%

ChartPlugin error: Required Perl module 'GD' not found
Test that even with a ymin set too high such that some lines don't even show up on the chart because the fall below the chart, the legends still stay on the chart.

=%CHART{type="line" name="table3_test9" table="table3" xaxis="R1:C1..R8:C1" data="R2:C2..R4:C99" yaxis="on" legend="R1:C2..R1:C99" title="Test legends falling off top" ymin="21"}%

ChartPlugin error: Required Perl module 'GD' not found
Test extremes that even when ymin is set higher than all data, that the legends still get drawn on the chart.

=%CHART{type="line" name="table3_test10" table="table3" xaxis="R1:C1..R8:C1" data="R2:C2..R4:C99" yaxis="on" legend="R1:C2..R1:C99" title="Test legends falling off bottom" ymin="50" ymax="60"}%

ChartPlugin error: Required Perl module 'GD' not found
Test extremes that even when ymax is set lower than all data, that the legends still get drawn on the chart.

=%CHART{type="line" name="table3_test11" table="table3" xaxis="R1:C1..R8:C1" data="R2:C2..R4:C99" yaxis="on" legend="R1:C2..R1:C99" title="Test legends falling off top" ymin="-50" ymax="-10"}%

ChartPlugin error: Required Perl module 'GD' not found

Chart error handling

Line: 130 to 161

Invalid table number error about specified table not existing ChartPlugin error: Required Perl module 'GD' not found
No data specified error about no data specified ChartPlugin error: Required Perl module 'GD' not found
invalid xaxis value error about an invalid xaxis range that specifies multiple rows and columns ChartPlugin error: Required Perl module 'GD' not found
Changed:
<
<
invalid legend error about an invalid legend range that specifies multiple rows and columns %}%
ChartPlugin error: Required Perl module 'GD' not found
>
>
invalid legend error about an invalid legend range that specifies multiple rows and columns ChartPlugin error: Required Perl module 'GD' not found
ymin == ymax such that there is no chart height error about chart height = 0 ChartPlugin error: Required Perl module 'GD' not found

The same as arealine test #15 except the xaxis value contains an invalid table range of just 'R2:C2' error about invalid xaxis range ChartPlugin error: Required Perl module 'GD' not found
The same as arealine test #15 except the data value contains an invalid table range of just 'R2:C4' error about an invalid data range ChartPlugin error: Required Perl module 'GD' not found
The same as arealine test #15 except the legend value contains an invalid table range of just 'R1:C4' error about invalid legend range ChartPlugin error: Required Perl module 'GD' not found
Changed:
<
<
-- TaitCyrus? - 20 June 2002
-- PeterThoeny - 20 Jun 2002
>
>
-- TaitCyrus? - 14 Sept 2002
-- PeterThoeny - 14 Sept 2002
 <<O>>  Difference Topic ChartPluginTests (r1.1 - 19 Jun 2002 - PeterThoeny)
Line: 1 to 1
Added:
>
>
META TOPICPARENT ChartPlugin
Chart Plugin tests

This page attempts to demonstrate/test many of the possible combinations of various parameters of the ChartPlugin. There are too many combinations of parameters to test all possible combinations, so only a few are shown here.


Good Charts with various parameters

The following 2 tables are used for testing purposes. The 2nd table is the same as the 1st except that the data is row oriented instead of column oriented. Some of the tests reference other web.topics and the referenced web.topics are described in the comments section for each chart. The 2nd table is

Table #1

Nr Period Min Acceptable Target Exceptional Actual Comment
1 Start 0 50 70 90 39 initial measure
2 FY03-Q1 0 35 75 95 55  
3 FY03-Q2 0 35 75 95 36  
4 FY03-Q3 0 40 80 100 62  
5 FY03-Q4 0 40 80 100 72  
6 FY04-Q1 0 40 80 100 68  

Table #2

Nr 1 2 3 5 5 6
Period Start FY03-Q1 FY03-Q2 FY03-Q3 FY03-Q4 FY04-Q1
Min 0 0 0 0 0 0
Acceptable 50 35 35 40 40 40
Target 70 75 75 80 80 80
Exceptional 90 95 95 100 100 100
Actual 39 55 36 62 72 68
Comment initial measure          

Line Tests

Simple single line. No other markings at all

%CHART{ type="line" name="line_1" title="line test #1"  table="1" data="R2:C7..R7:C7" }%

ChartPlugin error: Required Perl module 'GD' not found
Add X axis to above

%CHART{ type="line" name="line_2" title="line test #2" table="1" data="R2:C7..R7:C7" xaxis="R2:C2..R7:C2" }%

ChartPlugin error: Required Perl module 'GD' not found
Add Y axis to above

%CHART{ type="line" name="line_3" title="line test #3" table="1" data="R2:C7..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" }%

ChartPlugin error: Required Perl module 'GD' not found
Add ymin="0" to above

%CHART{ type="line" name="line_4" title="line test #4" table="1" data="R2:C7..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" }%

ChartPlugin error: Required Perl module 'GD' not found
Add ymax="100" to above

%CHART{ type="line" name="line_5" title="line test #5" table="1" data="R2:C7..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" }%

ChartPlugin error: Required Perl module 'GD' not found
Add ylabel="Hello there" to above

%CHART{ type="line" name="line_6" title="line test #6"  table="1" data="R2:C7..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" }%

ChartPlugin error: Required Perl module 'GD' not found
Add xlabel="Yep, an X title" to above

%CHART{ type="line" name="line_7" title="line test #7"  table="1" data="R2:C7..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" }%

ChartPlugin error: Required Perl module 'GD' not found
Add datalabel="on" to above

%CHART{ type="line" name="line_8" title="line test #8"  table="1" data="R2:C7..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="on" }%

ChartPlugin error: Required Perl module 'GD' not found
Add datalabel="box" to above

%CHART{ type="line" name="line_9" title="line test #9"  table="1" data="R2:C7..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="box" }%

ChartPlugin error: Required Perl module 'GD' not found
Add legend to above

%CHART{ type="line" name="line_10" title="line test #10"  table="1" data="R2:C7..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="box" legend="R1:C7..R1:C7" }%

ChartPlugin error: Required Perl module 'GD' not found
Add additional data lines to above and update legend

%CHART{ type="line" name="line_11" title="line test #11" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="box" legend="R1:C4..R1:C7" }%

ChartPlugin error: Required Perl module 'GD' not found
Specify different colors to above. Now are lite red, lite green, lite blue, gray instead of #FF0000, #FFCC00, #00CC00, #FF00FF, #33CCCC, #FF8000, #009900, #FF6666, #3333FF, #800080

%CHART{ type="line" name="line_12" title="line test #12" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="box" legend="R1:C4..R1:C7" colors="#ffAAAA,#AAffAA,#AAAAff,#AAAAAA" }%

ChartPlugin error: Required Perl module 'GD' not found
Restore default colors and change datalabel such that only the last line has values in boxes and the 2nd to last has values (no box) to above

%CHART{ type="line" name="line_13" title="line test #13" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off on box" legend="R1:C4..R1:C7" }%

ChartPlugin error: Required Perl module 'GD' not found
Change ygrid="on" to above

%CHART{ type="line" name="line_14" title="line test #14" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off on box" legend="R1:C4..R1:C7" ygrid="on" }%

ChartPlugin error: Required Perl module 'GD' not found
Change ygrid="off" to above

%CHART{ type="line" name="line_15" title="line test #15" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off on box" legend="R1:C4..R1:C7" ygrid="off" }%

ChartPlugin error: Required Perl module 'GD' not found
Change xgrid="on" to above

%CHART{ type="line" name="line_16" title="line test #16" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off on box" legend="R1:C4..R1:C7" ygrid="off" xgrid="on" }%

ChartPlugin error: Required Perl module 'GD' not found
Change xgrid="off" to above

%CHART{ type="line" name="line_17" title="line test #17" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off on box" legend="R1:C4..R1:C7" ygrid="off" xgrid="off" }%

ChartPlugin error: Required Perl module 'GD' not found
Change width="300"

%CHART{ type="line" name="line_18" title="line test #18" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off on box" legend="R1:C4..R1:C7" ygrid="off" xgrid="off" width="300" }%

ChartPlugin error: Required Perl module 'GD' not found
Change height="150"

%CHART{ type="line" name="line_19" title="line test #19" title="line test #18" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off on box" legend="R1:C4..R1:C7" ygrid="off" xgrid="off" height="150" width="300" }%

ChartPlugin error: Required Perl module 'GD' not found
Default width/height. Get data from ChartPluginTestsRemote. Specify table="2" on new topic="ChartPluginTestsRemote" and web="TWiki". Actual values should show up incremented by 0.52 since data is from a different topic page and the 0.02 denotes the data is from the 2nd table. Legend should show up with Remote since the data on the remote page was set up to include Remote in the legends

%CHART{ type="line" name="line_20" title="line test #20" web="TWiki" topic="ChartPluginTestsRemote" table="2" data="R4:C2..R7:C7" xaxis="R2:C2..R2:C7" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off on box" legend="R4:C1..R7:C1" xgrid="off" ygrid="off" }%

ChartPlugin error: Required Perl module 'GD' not found
Same as above except add an additional data set (averages) that is calculated by %CALC%.

%CHART{ type="line" name="line_21" title="line test #21" web="TWiki" topic="ChartPluginTestsRemote" table="2" data="R4:C2..R8:C7" xaxis="R2:C2..R2:C7" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off on box" legend="R4:C1..R8:C1" xgrid="off" ygrid="off" }%

ChartPlugin error: Required Perl module 'GD' not found
Set title="New title for line test #22" to above

%CHART{ type="line" name="line_22" title="New title for line test #22" web="TWiki" topic="ChartPluginTestsRemote" table="2" data="R4:C2..R8:C7" xaxis="R2:C2..R2:C7" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off on box" legend="R4:C1..R8:C1" xgrid="off" ygrid="off" }%

ChartPlugin error: Required Perl module 'GD' not found
Same as above except add alt="This is the alt tag"

%CHART{ type="line" name="line_23" title="New title for line test #23" web="TWiki" topic="ChartPluginTestsRemote" table="2" data="R4:C2..R8:C7" xaxis="R2:C2..R2:C7" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off on box" legend="R4:C1..R8:C1" xgrid="off" ygrid="off" alt="This is the alt tag" }%

ChartPlugin error: Required Perl module 'GD' not found

Area Tests

Simple area. No other markings at all

%CHART{ type="area" name="area_1" title="area test #1" table="1" data="R2:C7..R7:C7" }%

ChartPlugin error: Required Perl module 'GD' not found
Add X axis to above

%CHART{ type="area" name="area_2" title="area test #2" table="1" data="R2:C7..R7:C7" xaxis="R2:C2..R7:C2" }%

ChartPlugin error: Required Perl module 'GD' not found
Add Y axis to above

%CHART{ type="area" name="area_3" title="area test #3" table="1" data="R2:C7..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" }%

ChartPlugin error: Required Perl module 'GD' not found
Add ymin="0" to above

%CHART{ type="area" name="area_4" title="area test #4" table="1" data="R2:C7..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" }%

ChartPlugin error: Required Perl module 'GD' not found
Add ymax="100" to above

%CHART{ type="area" name="area_5" title="area test #5" table="1" data="R2:C7..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" }%

ChartPlugin error: Required Perl module 'GD' not found
Add ylabel="Hello there" to above

%CHART{ type="area" name="area_6" title="area test #6"  table="1" data="R2:C7..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" }%

ChartPlugin error: Required Perl module 'GD' not found
Add xlabel="Yep, an X title" to above

%CHART{ type="area" name="area_7" title="area test #7"  table="1" data="R2:C7..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" }%

ChartPlugin error: Required Perl module 'GD' not found
Add datalabel="on" to above

%CHART{ type="area" name="area_8" title="area test #8"  table="1" data="R2:C7..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="on" }%

ChartPlugin error: Required Perl module 'GD' not found
Add datalabel="box" to above

%CHART{ type="area" name="area_9" title="area test #9"  table="1" data="R2:C7..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="box" }%

ChartPlugin error: Required Perl module 'GD' not found
Add legend to above

%CHART{ type="area" name="area_10" title="area test #10"  table="1" data="R2:C7..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="box" legend="R1:C7..R1:C7" }%

ChartPlugin error: Required Perl module 'GD' not found
Add additional data areas to above and update legend

%CHART{ type="area" name="area_11" title="area test #11" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="box" legend="R1:C4..R1:C7" }%

ChartPlugin error: Required Perl module 'GD' not found
Specify different colors to above. Now are lite red, lite green, lite blue, gray instead of #FF3333, #FFFF33, #33FF33, #CC66FF, #99FFFF, #FFCC00, #008000, #FF8080, #3366CC, #800080

%CHART{ type="area" name="area_12" title="area test #12" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="box" legend="R1:C4..R1:C7" colors="#ffAAAA,#AAffAA,#AAAAff,#AAAAAA" }%

ChartPlugin error: Required Perl module 'GD' not found
Restore default colors and change datalabel such that only the last area has values in boxes and the 2nd to last has values (no box) to above

%CHART{ type="area" name="area_13" title="area test #13" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off on box" legend="R1:C4..R1:C7" }%

ChartPlugin error: Required Perl module 'GD' not found
Change ygrid="on" to above

%CHART{ type="area" name="area_14" title="area test #14" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off on box" legend="R1:C4..R1:C7" ygrid="on" }%

ChartPlugin error: Required Perl module 'GD' not found
Change ygrid="off" to above

%CHART{ type="area" name="area_15" title="area test #15" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off on box" legend="R1:C4..R1:C7" ygrid="off" }%

ChartPlugin error: Required Perl module 'GD' not found
Change xgrid="on" to above

%CHART{ type="area" name="area_16" title="area test #16" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off on box" legend="R1:C4..R1:C7" ygrid="off" xgrid="on" }%

ChartPlugin error: Required Perl module 'GD' not found
Change xgrid="off" to above

%CHART{ type="area" name="area_17" title="area test #17" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off on box" legend="R1:C4..R1:C7" ygrid="off" xgrid="off" }%

ChartPlugin error: Required Perl module 'GD' not found
Change width="300"

%CHART{ type="area" name="area_18" title="area test #18" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off on box" legend="R1:C4..R1:C7" ygrid="off" xgrid="off" width="300" }%

ChartPlugin error: Required Perl module 'GD' not found
Change height="150"

%CHART{ type="area" name="area_19" title="area test #19" title="area test #18" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off on box" legend="R1:C4..R1:C7" ygrid="off" xgrid="off" height="150" width="300" }%

ChartPlugin error: Required Perl module 'GD' not found
Default width/height. Get data from ChartPluginTestsRemote. Specify table="2" on new topic="ChartPluginTestsRemote" and web="TWiki". Actual values should show up incremented by 0.52 since data is from a different topic page and the 0.02 denotes the data is from the 2nd table. Legend should show up with Remote since the data on the remote page was set up to include Remote in the legends

%CHART{ type="area" name="area_20" title="area test #20" web="TWiki" topic="ChartPluginTestsRemote" table="2" data="R4:C2..R7:C7" xaxis="R2:C2..R2:C7" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off on box" legend="R4:C1..R7:C1" xgrid="off" ygrid="off" }%

ChartPlugin error: Required Perl module 'GD' not found
Same as above except add an additional data set (averages) that is calculated by %CALC%.

%CHART{ type="area" name="area_21" title="area test #21" web="TWiki" topic="ChartPluginTestsRemote" table="2" data="R4:C2..R8:C7" xaxis="R2:C2..R2:C7" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off on box" legend="R4:C1..R8:C1" xgrid="off" ygrid="off" }%

ChartPlugin error: Required Perl module 'GD' not found
Set title="New title for area test #22" to above

%CHART{ type="area" name="area_22" title="New title for area test #22" web="TWiki" topic="ChartPluginTestsRemote" table="2" data="R4:C2..R8:C7" xaxis="R2:C2..R2:C7" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off on box" legend="R4:C1..R8:C1" xgrid="off" ygrid="off" }%

ChartPlugin error: Required Perl module 'GD' not found
Same as above except add alt="This is the alt tag"

%CHART{ type="area" name="area_23" title="New title for area test #23" web="TWiki" topic="ChartPluginTestsRemote" table="2" data="R4:C2..R8:C7" xaxis="R2:C2..R2:C7" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off on box" legend="R4:C1..R8:C1" xgrid="off" ygrid="off" alt="This is the alt tag"}%

ChartPlugin error: Required Perl module 'GD' not found

Arealine Tests

Single area (no datatype so defaults to "line"). No other markings at all

%CHART{ type="arealine" name="arealine_1" title="arealine test #1"  table="1" data="R2:C7..R7:C7" }%

ChartPlugin error: Required Perl module 'GD' not found
Multiple areas, single line (datatype not specified)

%CHART{ type="arealine" name="arealine_2" title="arealine test #2" table="1" data="R2:C4..R7:C7" }%

ChartPlugin error: Required Perl module 'GD' not found
Add datatype="area line area line" to above

%CHART{ type="arealine" name="arealine_3" title="arealine test #3" table="1" data="R2:C4..R7:C7" datatype="area line area line" }%

ChartPlugin error: Required Perl module 'GD' not found
Change to datatype="line line line line"

%CHART{ type="arealine" name="arealine_4" title="arealine test #4" table="1" data="R2:C4..R7:C7" datatype="line line line line" }%

ChartPlugin error: Required Perl module 'GD' not found
Change to datatype="line line line area"

%CHART{ type="arealine" name="arealine_5" title="arealine test #5" table="1" data="R2:C4..R7:C7" datatype="line line line area" }%

ChartPlugin error: Required Perl module 'GD' not found
Change to datatype="area area area line"

%CHART{ type="arealine" name="arealine_6" title="arealine test #6" table="1" data="R2:C4..R7:C7" datatype="area area area line" }%

ChartPlugin error: Required Perl module 'GD' not found
Add X axis to above

%CHART{ type="arealine" name="arealine_7" title="arealine test #7" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" }%

ChartPlugin error: Required Perl module 'GD' not found
Add Y axis to above

%CHART{ type="arealine" name="arealine_8" title="arealine test #8" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" }%

ChartPlugin error: Required Perl module 'GD' not found
Add ymin="0" to above

%CHART{ type="arealine" name="arealine_9" title="arealine test #9" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" }%

ChartPlugin error: Required Perl module 'GD' not found
Add ymax="200" to above

%CHART{ type="arealine" name="arealine_10" title="arealine test #10" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ymax="200" }%

ChartPlugin error: Required Perl module 'GD' not found
Restore default ymax and add ylabel="Hello there" to above

%CHART{ type="arealine" name="arealine_11" title="arealine test #11" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" }%

ChartPlugin error: Required Perl module 'GD' not found
Add xlabel="Yep, an X title" to above

%CHART{ type="arealine" name="arealine_12" title="arealine test #12" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" }%

ChartPlugin error: Required Perl module 'GD' not found
Add datalabel="on" to above

%CHART{ type="arealine" name="arealine_13" title="arealine test #13" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" datalabel="on" }%

ChartPlugin error: Required Perl module 'GD' not found
Add datalabel="box" to above

%CHART{ type="arealine" name="arealine_14" title="arealine test #14" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" datalabel="box" }%

ChartPlugin error: Required Perl module 'GD' not found
Add legend to above

%CHART{ type="arealine" name="arealine_15" title="arealine test #15" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" datalabel="box" legend="R1:C4..R1:C7" }%

ChartPlugin error: Required Perl module 'GD' not found
Specify different colors to above. Now are lite red, lite green, lite blue, gray instead of #FF3333, #FFFF33, #33FF33, #CC66FF, #99FFFF, #FFCC00, #008000, #FF8080, #3366CC, #800080

%CHART{ type="arealine" name="arealine_16" title="arealine test #16" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" datalabel="box" legend="R1:C4..R1:C7" colors="#ffAAAA,#AAffAA,#AAAAff,#AAAAAA" }%

ChartPlugin error: Required Perl module 'GD' not found
Restore default colors and change datalabel such that only the last area has values in boxes and the 2nd to last has values (no box) to above

%CHART{ type="arealine" name="arealine_17" title="arealine test #17" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R1:C4..R1:C7" datalabel="off off on box" }%

ChartPlugin error: Required Perl module 'GD' not found
Change ygrid="on" to above and change legend so only the last data set shows values in boxes

%CHART{ type="arealine" name="arealine_18" title="arealine test #18" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R1:C4..R1:C7" datalabel="off off off box" ygrid="on" }%

ChartPlugin error: Required Perl module 'GD' not found
Change ygrid="off" to above

%CHART{ type="arealine" name="arealine_19" title="arealine test #19" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R1:C4..R1:C7" datalabel="off off off box" ygrid="off" }%

ChartPlugin error: Required Perl module 'GD' not found
Change xgrid="on" to above

%CHART{ type="arealine" name="arealine_20" title="arealine test #20" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R1:C4..R1:C7" datalabel="off off off box" ygrid="off" xgrid="on" }%

ChartPlugin error: Required Perl module 'GD' not found
Change xgrid="off" to above

%CHART{ type="arealine" name="arealine_21" title="arealine test #21" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R1:C4..R1:C7" datalabel="off off off box" ygrid="off" xgrid="off" }%

ChartPlugin error: Required Perl module 'GD' not found
Change to width="300"

%CHART{ type="arealine" name="arealine_22" title="arealine test #22" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R1:C4..R1:C7" datalabel="off off off box" ygrid="off" xgrid="off" width="300" }%

ChartPlugin error: Required Perl module 'GD' not found
Change to height="150"

%CHART{ type="arealine" name="arealine_23" title="arealine test #23" table="1" data="R2:C4..R7:C7" datatype="area area area line" xaxis="R2:C2..R7:C2" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R1:C4..R1:C7" datalabel="off off off box" ygrid="off" xgrid="off" width="300" height="150" }%

ChartPlugin error: Required Perl module 'GD' not found
Default width/height. Get data from ChartPluginTestsRemote. Specify table="2" on new topic="ChartPluginTestsRemote". Actual values should show up incremented by 0.52 since data is from a different topic page and the 0.02 denotes the data is from the 2nd table. Legend should show up with Remote since the data on the remote page was set up to include Remote in the legends

%CHART{ type="arealine" name="arealine_24" title="arealine test #24" web="TWiki" topic="ChartPluginTestsRemote" table="2" data="R4:C2..R7:C7" datatype="area area area line" xaxis="R2:C2..R2:C7" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R4:C1..R7:C1" datalabel="off off off box" ygrid="off" xgrid="off" }%

ChartPlugin error: Required Perl module 'GD' not found
Same as above except add an additional data set (averages) that is calculated by %CALC%.

%CHART{ type="arealine" name="arealine_25" title="arealine test #25" web="TWiki" topic="ChartPluginTestsRemote" table="2" data="R4:C2..R8:C7" datatype="area area area line" xaxis="R2:C2..R2:C7" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R4:C1..R8:C1" datalabel="off off off box" ygrid="off" xgrid="off" }%

ChartPlugin error: Required Perl module 'GD' not found
Set title="Set new title, arealine test #26" to above

%CHART{ type="arealine" name="arealine_26" title="Set new title, arealine test #26" web="TWiki" topic="ChartPluginTestsRemote" table="2" data="R4:C2..R8:C7" datatype="area area area line" xaxis="R2:C2..R2:C7" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R4:C1..R8:C1" datalabel="off off off box" ygrid="off" xgrid="off" }%

ChartPlugin error: Required Perl module 'GD' not found
Same as above except add alt="This is the alt tag"

%CHART{ type="arealine" name="arealine_27" title="Set new title, arealine test #27" web="TWiki" topic="ChartPluginTestsRemote" table="2" data="R4:C2..R8:C7" datatype="area area area line" xaxis="R2:C2..R2:C7" yaxis="on" ymin="0" ylabel="Hello there" xlabel="Yep, an X title" legend="R4:C1..R8:C1" datalabel="off off off box" ygrid="off" xgrid="off" alt="This is the alt tag" }%

ChartPlugin error: Required Perl module 'GD' not found

Some Arealine Tests with Extreme Values

Show a wide chart with width="500"

%CHART{ type="arealine" name="arealine15e1" title="arealine test #15 extreme #1" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" datatype="area area area line" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off off box" legend="R1:C4..R1:C7" ygrid="off" xgrid="off" width="500" }%

ChartPlugin error: Required Perl module 'GD' not found
Show a tall chart with height="500"

%CHART{ type="arealine" name="arealine15e2" title="arealine test #15 extreme #2" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" datatype="area area area line" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off off box" legend="R1:C4..R1:C7" ygrid="off" xgrid="off" height="500" }%

ChartPlugin error: Required Perl module 'GD' not found
Show a wide and tall chart with width="500" and height="500"

%CHART{ type="arealine" name="arealine15e3" title="arealine test #15 extreme #3" table="1" data="R2:C4..R7:C7" xaxis="R2:C2..R7:C2" datatype="area area area line" yaxis="on" ymin="0" ymax="100" ylabel="Hello there" xlabel="Yep, an X title" datalabel="off off off box" legend="R1:C4..R1:C7" ygrid="off" xgrid="off" width="500" height="500" }%

ChartPlugin error: Required Perl module 'GD' not found

Chart error handling

Description Expected Output Output
no parameters passed to CHART error about required parameter type missing ChartPlugin error: Required Perl module 'GD' not found
name not specified error about required parameter name missing ChartPlugin error: Required Perl module 'GD' not found
Invalid type of badtype error about unrecognized type badtype ChartPlugin error: Required Perl module 'GD' not found
Missing topic page error about the specified topic not existing ChartPlugin error: Required Perl module 'GD' not found
Missing web error about the specified web not existing ChartPlugin error: Required Perl module 'GD' not found
Invalid table number error about specified table not existing ChartPlugin error: Required Perl module 'GD' not found
No data specified error about no data specified ChartPlugin error: Required Perl module 'GD' not found
invalid xaxis value error about an invalid xaxis range that specifies multiple rows and columns ChartPlugin error: Required Perl module 'GD' not found
invalid legend error about an invalid legend range that specifies multiple rows and columns %}%
ChartPlugin error: Required Perl module 'GD' not found
The same as arealine test #15 except the xaxis value contains an invalid table range of just 'R2:C2' error about invalid xaxis range ChartPlugin error: Required Perl module 'GD' not found
The same as arealine test #15 except the data value contains an invalid table range of just 'R2:C4' error about an invalid data range ChartPlugin error: Required Perl module 'GD' not found
The same as arealine test #15 except the legend value contains an invalid table range of just 'R1:C4' error about invalid legend range ChartPlugin error: Required Perl module 'GD' not found

-- TaitCyrus? - 20 June 2002
-- PeterThoeny - 20 Jun 2002

View topic | Diffs | r1.4 | > | r1.3 | > | r1.2 | More
Revision r1.1 - 19 Jun 2002 - 20:31 - PeterThoeny
Revision r1.4 - 30 Aug 2004 - 22:20 - PeterThoeny