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 that only a limited number are shown here.


Tables used by tests

The following 4 tables are used for testing purposes.

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

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

Nr 1 2 3 4 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          

Table #3

This table is used for showing scatter graphs.

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
8.3 25 33 23 2
7.4 9 9.4 23 23

Table #4

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

  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
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

Table #5

This table is used to show some edge cases including that non-numeric cell values are parsed correctly and that all zero values is charted correctly.

Date data col 1 data col 2 data col 3
2011-01-01 10 0 1.0e10
2011-01-02 10 -1.3 2.0e10
2011-01-03 10 12 2.2e10
2011-01-04 10 20 2.0e10
2011-01-05 10 20 1.95e10
2011-01-06 10 29 3.8e10
2011-01-07 10 tag33 4.0e10
2011-01-08 10 $ltsomething$gt41 4e10

Table #6

This table is used for testing when both data and data2 are used (displaying data on both the left Y-axis and right Y-axis).
Col1 Col2 Value3 Value4 Value5 Value6 Value7
1 A 3 4 5 6 7
2 B 3 4 5 6 7
3 C 3 4 5 6 7
4 D 3 4 5 6 7
5 E 3 4 5 6 7
6 F 3 4 5 6 7
7 G 30 40 50 60 70
8 H 300 400 500 600 700

General tests

line tests

Simple single line. No other markings at all. ChartPlugin error:
chart error: name=lineTest01: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_lineTest01.g
if: Permission denied
Add title = "line test #2" and enable ygrids to above. ChartPlugin error:
chart error: name=lineTest02: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_lineTest02.g
if: Permission denied
Add X axis lables to above. ChartPlugin error:
chart error: name=lineTest03: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_lineTest03.g
if: Permission denied
Add Y axis lables to above. ChartPlugin error:
chart error: name=lineTest04: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_lineTest04.g
if: Permission denied
Add ymin = 0 to above. ChartPlugin error:
chart error: name=lineTest05: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_lineTest05.g
if: Permission denied
Add ymax = 150 to above. ChartPlugin error:
chart error: name=lineTest06: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_lineTest06.g
if: Permission denied
Add ylabel = "Hello there" to above and change ymax = 100. ChartPlugin error:
chart error: name=lineTest07: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_lineTest07.g
if: Permission denied
Add numygrids = "5" to above. ChartPlugin error:
chart error: name=lineTest08: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_lineTest08.g
if: Permission denied
Change numygrids = "2" to above. ChartPlugin error:
chart error: name=lineTest09: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_lineTest09.g
if: Permission denied
Remove numygrids from above and add xlabel "Yep, an X label" to above. ChartPlugin error:
chart error: name=lineTest10: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_lineTest10.g
if: Permission denied
Add datalabel = on to above. ChartPlugin error:
chart error: name=lineTest11: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_lineTest11.g
if: Permission denied
Change datalabel = box to above. ChartPlugin error:
chart error: name=lineTest12: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_lineTest12.g
if: Permission denied
Add legend to above. ChartPlugin error:
chart error: name=lineTest13: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_lineTest13.g
if: Permission denied
Add additional data lines to above and update legend to above. ChartPlugin error:
chart error: name=lineTest14: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_lineTest14.g
if: Permission denied
Specify different line colors to above. ChartPlugin error:
chart error: name=lineTest15: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_lineTest15.g
if: Permission denied
Specify different line colors to above where line "Acceptable" has a color of transparent so the background color will be seen as the line color. ChartPlugin error:
chart error: name=lineTest15b: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_lineTest15b.
gif: Permission denied
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. ChartPlugin error:
chart error: name=lineTest16: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_lineTest16.g
if: Permission denied
Add =bgcolor="#EEEEEE" to above. ChartPlugin error:
chart error: name=lineTest17: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_lineTest17.g
if: Permission denied
Change bgcolor="#FFFFFF #EEEEEE" to above. ChartPlugin error:
chart error: name=lineTest18: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_lineTest18.g
if: Permission denied
Change bgcolor="#EEEEEE #EEFFEE" to above. ChartPlugin error:
chart error: name=lineTest19: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_lineTest19.g
if: Permission denied
Change bgcolor="transparent #FFFFFF" to above. So the outside color should be transparent allowing the background color (green) to show through. ChartPlugin error:
chart error: name=lineTest19b: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_lineTest19b.
gif: Permission denied
Change bgcolor="#FFFFFF transparent" to above. So the inside color should be transparent allowing the background color (green) to show through. ChartPlugin error:
chart error: name=lineTest19c: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_lineTest19c.
gif: Permission denied
Change bgcolor="transparent transparent" to above. So both the inside and outside color should be transparent allowing the background color (green) to show through. ChartPlugin error:
chart error: name=lineTest19d: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_lineTest19d.
gif: Permission denied
Restore bgcolor and add ygrid = on (changing from dotted ygrid to solid ygrid) to above. ChartPlugin error:
chart error: name=lineTest20: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_lineTest20.g
if: Permission denied
Change ygrid = off to above. ChartPlugin error:
chart error: name=lineTest21: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_lineTest21.g
if: Permission denied
Add xgrid = on (changing from dotted xgrid to solid xgrid) to above. ChartPlugin error:
chart error: name=lineTest22: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_lineTest22.g
if: Permission denied
Change xgrid = off to above. ChartPlugin error:
chart error: name=lineTest23: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_lineTest23.g
if: Permission denied
Change width = 450 to above. ChartPlugin error:
chart error: name=lineTest24: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_lineTest24.g
if: Permission denied
Change height = 150 to above. ChartPlugin error:
chart error: name=lineTest25: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_lineTest25.g
if: Permission denied
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 to above. ChartPlugin error:
chart error: name=lineTest26: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_lineTest26.g
if: Permission denied
Same as above except add an additional data set (averages) that is calculated by %CALC%. ChartPlugin error:
chart error: name=lineTest27: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_lineTest27.g
if: Permission denied
Back to local data and add the alt tag = This is the alt tag for test28. ChartPlugin error:
chart error: name=lineTest28: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_lineTest28.g
if: Permission denied
Show a chart from table5 where the table contains numbers surrounded by HTML tags. %CHAR{name='lineTest29' table='table5' xaxis='R2:C1..R999:C1' data='R2:C3..R999:C3' xaxisangle='1' title='line test #29' datalabel='box' ygrid='on' yaxis='on'}%
Show a chart from table5 where the table contains exponential formated numbers. ChartPlugin error:
chart error: name=lineTest30: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_lineTest30.g
if: Permission denied
Show a chart from table5 where all the values are identical (=10). ChartPlugin error:
chart error: name=lineTest31: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_lineTest31.g
if: Permission denied
Show a chart from table5 where the table contains the same numbers and setting ymin = the same #. ChartPlugin error:
chart error: name=lineTest32: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_lineTest32.g
if: Permission denied
Show a chart from table5 where the table contains the same numbers and setting ymax = the same #. ChartPlugin error:
chart error: name=lineTest33: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_lineTest33.g
if: Permission denied
Show a chart from table5 setting ymin = 0 and ymax = 123. ChartPlugin error:
chart error: name=lineTest34: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_lineTest34.g
if: Permission denied
Show a chart with ytics = 2. ChartPlugin error:
chart error: name=lineTest35: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_lineTest35.g
if: Permission denied
Show a chart with ytics = 5. ChartPlugin error:
chart error: name=lineTest36: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_lineTest36.g
if: Permission denied

area tests

Simple single area. No other markings at all. ChartPlugin error:
chart error: name=areaTest01: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_area_areaTest01.g
if: Permission denied
Add Title to above. ChartPlugin error:
chart error: name=areaTest02: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_area_areaTest02.g
if: Permission denied
Add X axis to above. ChartPlugin error:
chart error: name=areaTest03: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_area_areaTest03.g
if: Permission denied
Add Y axis to above. ChartPlugin error:
chart error: name=areaTest04: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_area_areaTest04.g
if: Permission denied
Add ymin = 0 to above. ChartPlugin error:
chart error: name=areaTest05: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_area_areaTest05.g
if: Permission denied
Add ymax = 150 to above. ChartPlugin error:
chart error: name=areaTest06: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_area_areaTest06.g
if: Permission denied
Add ylabel "Hello there" to above. ChartPlugin error:
chart error: name=areaTest07: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_area_areaTest07.g
if: Permission denied
Add numygrids="5" to above. ChartPlugin error:
chart error: name=areaTest08: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_area_areaTest08.g
if: Permission denied
Change numygrids="2" to above. ChartPlugin error:
chart error: name=areaTest09: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_area_areaTest09.g
if: Permission denied
Remove numygrids and ymax from above and add xlabel "Yep, an X label" to above. ChartPlugin error:
chart error: name=areaTest10: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_area_areaTest10.g
if: Permission denied
Add datalabel = on to above. ChartPlugin error:
chart error: name=areaTest11: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_area_areaTest11.g
if: Permission denied
Add datalabel = box to above. ChartPlugin error:
chart error: name=areaTest12: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_area_areaTest12.g
if: Permission denied
Add legend = to above. ChartPlugin error:
chart error: name=areaTest13: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_area_areaTest13.g
if: Permission denied
Add additional data areas and update legend to above. ChartPlugin error:
chart error: name=areaTest14: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_area_areaTest14.g
if: Permission denied
Specify different colors to above. Now are lite red, lite green, lite blue, gray instead of defaults. ChartPlugin error:
chart error: name=areaTest15: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_area_areaTest15.g
if: Permission denied
Specify different colors to above where line "Acceptable" has a color of transparent so the background color will be seen as the area color. ChartPlugin error:
chart error: name=areaTest15b: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_area_areaTest15b.
gif: Permission denied
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. ChartPlugin error:
chart error: name=areaTest16: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_area_areaTest16.g
if: Permission denied
Add bgcolor="#AAAAAA" to above. ChartPlugin error:
chart error: name=areaTest17: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_area_areaTest17.g
if: Permission denied
Change bgcolor="#FFFFFF #EEEEEE" to above. ChartPlugin error:
chart error: name=areaTest18: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_area_areaTest18.g
if: Permission denied
Change bgcolor="#EEEEEE #EEFFEE" to above. ChartPlugin error:
chart error: name=areaTest19: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_area_areaTest19.g
if: Permission denied
Restore bgcolor and change ygrid = on to above. ChartPlugin error:
chart error: name=areaTest20: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_area_areaTest20.g
if: Permission denied
Change ygrid = off to above. ChartPlugin error:
chart error: name=areaTest21: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_area_areaTest21.g
if: Permission denied
Change xgrid = on to above. ChartPlugin error:
chart error: name=areaTest22: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_area_areaTest22.g
if: Permission denied
Change xgrid = off to above. ChartPlugin error:
chart error: name=areaTest23: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_area_areaTest23.g
if: Permission denied
Add width = 450 to above. ChartPlugin error:
chart error: name=areaTest24: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_area_areaTest24.g
if: Permission denied
Add height = 150 to above. ChartPlugin error:
chart error: name=areaTest25: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_area_areaTest25.g
if: Permission denied
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. ChartPlugin error:
chart error: name=areaTest26: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_area_areaTest26.g
if: Permission denied
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. ChartPlugin error:
chart error: name=areaTest27: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_area_areaTest27.g
if: Permission denied
Change title to above and add the alt tag = This is the alt tag. ChartPlugin error:
chart error: name=areaTest28: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_area_areaTest28.g
if: Permission denied

bar tests

Simple single bar. No other markings at all. ChartPlugin error:
chart error: name=barTest01: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_bar_barTest01.gif
: Permission denied
Add Title to above. ChartPlugin error:
chart error: name=barTest02: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_bar_barTest02.gif
: Permission denied
Add X axis to above. ChartPlugin error:
chart error: name=barTest03: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_bar_barTest03.gif
: Permission denied
Add Y axis to above. ChartPlugin error:
chart error: name=barTest04: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_bar_barTest04.gif
: Permission denied
Add ymin = 0 to above. ChartPlugin error:
chart error: name=barTest05: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_bar_barTest05.gif
: Permission denied
Add ymax = 150 to above. ChartPlugin error:
chart error: name=barTest06: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_bar_barTest06.gif
: Permission denied
Add ylabel "Hello there" to above. ChartPlugin error:
chart error: name=barTest07: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_bar_barTest07.gif
: Permission denied
Add numygrids="5" to above. ChartPlugin error:
chart error: name=barTest08: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_bar_barTest08.gif
: Permission denied
Change numygrids="2" to above. ChartPlugin error:
chart error: name=barTest09: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_bar_barTest09.gif
: Permission denied
Remove numygrids and ymax from above and add xlabel "Yep, an X label" to above. ChartPlugin error:
chart error: name=barTest10: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_bar_barTest10.gif
: Permission denied
Add datalabel = on to above. ChartPlugin error:
chart error: name=barTest11: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_bar_barTest11.gif
: Permission denied
Add datalabel = box to above. ChartPlugin error:
chart error: name=barTest12: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_bar_barTest12.gif
: Permission denied
Add legend = to above. ChartPlugin error:
chart error: name=barTest13: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_bar_barTest13.gif
: Permission denied
Add additional data bars and update legend to above. ChartPlugin error:
chart error: name=barTest14: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_bar_barTest14.gif
: Permission denied
Specify different colors to above. Now are lite red, lite green, lite blue, gray instead of defaults. ChartPlugin error:
chart error: name=barTest15: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_bar_barTest15.gif
: Permission denied
Specify different colors to above where bar "Acceptable" has a color of transparent so the background color will be seen as the bar color. ChartPlugin error:
chart error: name=barTest15b: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_bar_barTest15b.gi
f: Permission denied
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. ChartPlugin error:
chart error: name=barTest16: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_bar_barTest16.gif
: Permission denied
Add bgcolor="#AAAAAA" to above. ChartPlugin error:
chart error: name=barTest17: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_bar_barTest17.gif
: Permission denied
Change bgcolor="#FFFFFF #EEEEEE" to above. ChartPlugin error:
chart error: name=barTest18: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_bar_barTest18.gif
: Permission denied
Change bgcolor="#EEEEEE #EEFFEE" to above. ChartPlugin error:
chart error: name=barTest19: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_bar_barTest19.gif
: Permission denied
Restore bgcolor and change ygrid = on to above. ChartPlugin error:
chart error: name=barTest20: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_bar_barTest20.gif
: Permission denied
Change ygrid = off to above. ChartPlugin error:
chart error: name=barTest21: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_bar_barTest21.gif
: Permission denied
Change xgrid = on to above. ChartPlugin error:
chart error: name=barTest22: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_bar_barTest22.gif
: Permission denied
Change xgrid = off to above. ChartPlugin error:
chart error: name=barTest23: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_bar_barTest23.gif
: Permission denied
Add width = 450 to above. ChartPlugin error:
chart error: name=barTest24: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_bar_barTest24.gif
: Permission denied
Add height = 150 to above. ChartPlugin error:
chart error: name=barTest25: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_bar_barTest25.gif
: Permission denied
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. ChartPlugin error:
chart error: name=barTest26: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_bar_barTest26.gif
: Permission denied
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. ChartPlugin error:
chart error: name=barTest27: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_bar_barTest27.gif
: Permission denied
Change title to above and add the alt tag = This is the alt tag. ChartPlugin error:
chart error: name=barTest28: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_bar_barTest28.gif
: Permission denied

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. ChartPlugin error:
chart error: name=comboTest01: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_combo_comboTest01
.gif: Permission denied
Change so 3 data sets are drawn as areas and the last drawn as a line. ChartPlugin error:
chart error: name=comboTest02: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_combo_comboTest02
.gif: Permission denied
Same as above, adding grid lines and Y axis labels and X/Y titles. ChartPlugin error:
chart error: name=comboTest03: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_combo_comboTest03
.gif: Permission denied
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. ChartPlugin error:
chart error: name=comboTest04: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_combo_comboTest04
.gif: Permission denied
Same as above adding subtype="line" which should force all data sets to be drawn as line. ChartPlugin error:
chart error: name=comboTest05: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_combo_comboTest05
.gif: Permission denied
Same as above adding subtype="bar" which should force all data sets to be drawn as bar. ChartPlugin error:
chart error: name=comboTest06: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_combo_comboTest06
.gif: Permission denied
Same as above adding subtype="pline" which should force all data sets to be drawn as pline. ChartPlugin error:
chart error: name=comboTest07: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_combo_comboTest07
.gif: Permission denied
Same as above adding subtype="point" which should force all data sets to be drawn as point. ChartPlugin error:
chart error: name=comboTest08: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_combo_comboTest08
.gif: Permission denied
Same as above changing subtype="area line pline point". ChartPlugin error:
chart error: name=comboTest09: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_combo_comboTest09
.gif: Permission denied
Same as above changing subtype="line pline point area". ChartPlugin error:
chart error: name=comboTest10: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_combo_comboTest10
.gif: Permission denied
Same as above changing subtype="pline pline point bar". ChartPlugin error:
chart error: name=comboTest11: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_combo_comboTest11
.gif: Permission denied

scatter tests

Simple scatter graph using table #3. Defaults to all data sets drawn as point. ChartPlugin error:
chart error: name=scatterTest01: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_scatter_scatterTe
st01.gif: Permission denied
Add title, grid lines and both X and Y axis labels and title to above. ChartPlugin error:
chart error: name=scatterTest02: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_scatter_scatterTe
st02.gif: Permission denied
Add subtype="line" to above. ChartPlugin error:
chart error: name=scatterTest03: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_scatter_scatterTe
st03.gif: Permission denied
Change subtype="pline" to above. ChartPlugin error:
chart error: name=scatterTest04: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_scatter_scatterTe
st04.gif: Permission denied
Change subtype="point" to above. ChartPlugin error:
chart error: name=scatterTest05: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_scatter_scatterTe
st05.gif: Permission denied
Change subtype="bar" to above. ChartPlugin error:
chart error: name=scatterTest06: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_scatter_scatterTe
st06.gif: Permission denied
Change subtype="point bar line pline" to above. ChartPlugin error:
chart error: name=scatterTest07: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_scatter_scatterTe
st07.gif: Permission denied
Change subtype="bar line pline point" to above. ChartPlugin error:
chart error: name=scatterTest08: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_scatter_scatterTe
st08.gif: Permission denied
Change subtype="line pline point bar" to above. ChartPlugin error:
chart error: name=scatterTest09: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_scatter_scatterTe
st09.gif: Permission denied
Change subtype="pline point bar line" to above. ChartPlugin error:
chart error: name=scatterTest10: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_scatter_scatterTe
st10.gif: Permission denied
Change subtype="bar bar bar pline" to above. ChartPlugin error:
chart error: name=scatterTest11: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_scatter_scatterTe
st11.gif: Permission denied
Adjust data range to see how the X labeling is affected. ChartPlugin error:
chart error: name=scatterTest12: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_scatter_scatterTe
st12.gif: Permission denied
Adjust data range to see how the X labeling is affected. ChartPlugin error:
chart error: name=scatterTest13: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_scatter_scatterTe
st13.gif: Permission denied

Spark tests

Simple spark line using data from table #1. ChartPlugin error:
chart error: name=sparkTest01: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_sparkline_sparkTe
st01.gif: Permission denied
Simple spark bar using data from table #1. ChartPlugin error:
chart error: name=sparkTest02: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_sparkbar_sparkTes
t02.gif: Permission denied
Simple spark area using data from table #1. ChartPlugin error:
chart error: name=sparkTest03: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_sparkarea_sparkTe
st03.gif: Permission denied
Simple spark line using directly specified data (no data from any table). ChartPlugin error:
chart error: name=sparkTest04: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_sparkline_sparkTe
st04.gif: Permission denied
Simple spark bar using directly specified data (no data from any table). ChartPlugin error:
chart error: name=sparkTest05: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_sparkbar_sparkTes
t05.gif: Permission denied
Simple spark area using directly specified data (no data from any table). ChartPlugin error:
chart error: name=sparkTest06: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_sparkarea_sparkTe
st06.gif: Permission denied
Simple spark line using directly specified data (no data from any table), but with twice as much data as above. ChartPlugin error:
chart error: name=sparkTest07: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_sparkline_sparkTe
st07.gif: Permission denied
Simple spark bar using directly specified data (no data from any table), but with twice as much data as above. Since there is so much data displayed in such a narrow width, the bars are of uneven width. ChartPlugin error:
chart error: name=sparkTest08: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_sparkbar_sparkTes
t08.gif: Permission denied
Same as above, but by setting width="0" the chart width is auto calculated such that the bars have equal widths. ChartPlugin error:
chart error: name=sparkTest09: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_sparkbar_sparkTes
t09.gif: Permission denied
Simple spark area using directly specified data (no data from any table), but with twice as much data as above. ChartPlugin error:
chart error: name=sparkTest10: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_sparkarea_sparkTe
st10.gif: Permission denied

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. ChartPlugin error:
chart error: name=legendTest01: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_legendTest01
.gif: Permission denied
Test that when two lines overlap in the middle of the chart, the legends get correctly placed. ChartPlugin error:
chart error: name=legendTest02: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_legendTest02
.gif: Permission denied
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. ChartPlugin error:
chart error: name=legendTest03: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_legendTest03
.gif: Permission denied
Test that when 4 lines are close to overlapping and are all located at the top of the chart, the legends get correctly placed. ChartPlugin error:
chart error: name=legendTest04: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_legendTest04
.gif: Permission denied
Test that when 4 lines do exactly overlap at the top of the chart, the legends get correctly placed. ChartPlugin error:
chart error: name=legendTest05: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_legendTest05
.gif: Permission denied
Test that the arrangement of legends of 4 lines located at the top of a chart is correct. ChartPlugin error:
chart error: name=legendTest06: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_legendTest06
.gif: Permission denied
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. ChartPlugin error:
chart error: name=legendTest07: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_legendTest07
.gif: Permission denied
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. ChartPlugin error:
chart error: name=legendTest08: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_legendTest08
.gif: Permission denied
Test extremes that even when ymin is set higher than all data, that the legends still get drawn on the chart. ChartPlugin error:
chart error: name=legendTest09: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_legendTest09
.gif: Permission denied
Test extremes that even when ymax is set lower than all data, that the legends still get drawn on the chart. ChartPlugin error:
chart error: name=legendTest10: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_legendTest10
.gif: Permission denied

Test numxgrids and xaxisangle options

Show what happens when there is so much data that the X axis labels overlap. ChartPlugin error:
chart error: name=gridTest01: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_gridTest01.g
if: Permission denied
Take the above graph and specify numxgrids = "3" making the X axis labels more readable. ChartPlugin error:
chart error: name=gridTest02: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_gridTest02.g
if: Permission denied
Take the first graph and specify xaxisangle = 90, changing the X axis label angle = 90 degrees. ChartPlugin error:
chart error: name=gridTest03: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_gridTest03.g
if: Permission denied

Test scale and ytics options

Show how scale=semilog makes the chart easier to read. Since ytics is NOT specified, it defaults to 8. ChartPlugin error:
chart error: name=semilogTest01: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_semilogTest0
1.gif: Permission denied
Add ytics=4 to above. ChartPlugin error:
chart error: name=semilogTest02: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_semilogTest0
2.gif: Permission denied
Change the amount of data displayed which should change the ymin/ymax. ChartPlugin error:
chart error: name=semilogTest03: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_semilogTest0
3.gif: Permission denied
Show the above plotted data on a linear scale with ytics=1. ChartPlugin error:
chart error: name=semilogTest04: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_semilogTest0
4.gif: Permission denied

Test defaultdata option

Show a chart with sparse data. ChartPlugin error:
chart error: name=defaultsTest01: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_defaultsTest
01.gif: Permission denied
Same as above, but setting defalutdata=0. ChartPlugin error:
chart error: name=defaultsTest02: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_defaultsTest
02.gif: Permission denied
Same as above, but setting defalutdata=10. ChartPlugin error:
chart error: name=defaultsTest03: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_defaultsTest
03.gif: Permission denied

Test gridcolor option

Show default grid color with solid grid lines. ChartPlugin error:
chart error: name=colorTest01: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_colorTest01.
gif: Permission denied
Change the grid color to blue. ChartPlugin error:
chart error: name=colorTest02: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_colorTest02.
gif: Permission denied
Change the grid color back to the default but make them dotted. ChartPlugin error:
chart error: name=colorTest03: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_colorTest03.
gif: Permission denied
Change the grid style to be 5 black dots and 5 transparent dots. ChartPlugin error:
chart error: name=colorTest04: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_colorTest04.
gif: Permission denied
Change the grid style to be 4 red dots, 4 green dots, 4 blue dots and 4 transparent dots. ChartPlugin error:
chart error: name=colorTest05: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_colorTest05.
gif: Permission denied
Change the grid style to be 1 black dot which basically makes a solid line. ChartPlugin error:
chart error: name=colorTest06: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_colorTest06.
gif: Permission denied
Change the grid color to transparent. ChartPlugin error:
chart error: name=colorTest07: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_colorTest07.
gif: Permission denied

Test datalegend option

Show a simple chart with datalabel="box". ChartPlugin error:
chart error: name=datalabel01: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_datalabel01.
gif: Permission denied
Same chart, but datalabel="on, box, off, 2 box". ChartPlugin error:
chart error: name=datalabel02: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_datalabel02.
gif: Permission denied
Same chart, but datalabel="auto box, 2box, box 3, 4 box". ChartPlugin error:
chart error: name=datalabel03: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_datalabel03.
gif: Permission denied
Same chart as above, but set the background color in the datalabel boxes to #E0E0E0. ChartPlugin error:
chart error: name=datalabel04: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_datalabel04.
gif: Permission denied
Same chart as above, but set the background color in the datalabel boxes to transparenet. ChartPlugin error:
chart error: name=datalabel05: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_datalabel05.
gif: Permission denied

Tests showing both single column data ranges as well as multi-column data ranges both top to bottom as well as bottom to top and left to right and right to left.

This chart is WebStatistics data in its original order. ChartPlugin error:
chart error: name=multiLineTest01f:
Can't create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_multiLineTes
t01f.gif: Permission denied
This chart is the same as above but with the WebStatistics data in a more human readable format of old -> new. ChartPlugin error:
chart error: name=multiLineTest01b:
Can't create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_multiLineTes
t01b.gif: Permission denied
This is a single line top/down chart. ChartPlugin error:
chart error: name=multiLineTest02f:
Can't create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_multiLineTes
t02f.gif: Permission denied
This is a single line bottom/up chart and should be flipped left-to-right from the chart above. ChartPlugin error:
chart error: name=multiLineTest02b:
Can't create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_multiLineTes
t02b.gif: Permission denied
This is a top/down, left/right chart with 4 lines in a single range. ChartPlugin error:
chart error: name=multiLineTest03f:
Can't create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_multiLineTes
t03f.gif: Permission denied
This is a bottom/up left/right chart and should be flipped left-to-right from the chart above. Because the data is read in reverse order, the line colors will be different. ChartPlugin error:
chart error: name=multiLineTest03b:
Can't create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_multiLineTes
t03b.gif: Permission denied
This is a top/down right/left chart with 4 lines in a single range. ChartPlugin error:
chart error: name=multiLineTest04f:
Can't create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_multiLineTes
t04f.gif: Permission denied
This is a bottom/up right/left chart and should be flipped left-to-right from the chart above. Because the data is read in reverse order, the line colors will be different. ChartPlugin error:
chart error: name=multiLineTest04b:
Can't create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_multiLineTes
t04b.gif: Permission denied
This should be identical to test 04b above except instead of specifying multi-column data range, this specifies 4 single column data ranges. The results should be identical to above. ChartPlugin error:
chart error: name=multiLineTest05f:
Can't create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_multiLineTes
t05f.gif: Permission denied
This should be identical to the chart above except reversed. ChartPlugin error:
chart error: name=multiLineTest05b:
Can't create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_multiLineTes
t05b.gif: Permission denied
This is identical to test 04b above except the 4 single column data ranges are specified in a random order. The results should be identical with the exception that the line colors will be different. ChartPlugin error:
chart error: name=multiLineTest06f:
Can't create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_multiLineTes
t06f.gif: Permission denied
Flipped version of the above chart. ChartPlugin error:
chart error: name=multiLineTest06b:
Can't create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_multiLineTes
t06b.gif: Permission denied
This is identical to test 06f above except a multi-column range followed by a single column range. The results should be identical with the exception that the line colors will be different. ChartPlugin error:
chart error: name=multiLineTest07f:
Can't create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_multiLineTes
t07f.gif: Permission denied
Flipped of the above chart. ChartPlugin error:
chart error: name=multiLineTest07b:
Can't create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_multiLineTes
t07b.gif: Permission denied
Same as test 07f, but using areas. Still top/down chart with 4 lines. ChartPlugin error:
chart error: name=multiAreaTest01f:
Can't create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_area_multiAreaTes
t01f.gif: Permission denied
Flipped version of the above chart. Still bottom/up chart. Because the data is read in reverse order, the area colors will be different. ChartPlugin error:
chart error: name=multiLineTest08b:
Can't create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_area_multiLineTes
t08b.gif: Permission denied

Same tests as above, but the data is flipped on the diagonal

This is a left/right chart. ChartPlugin error:
chart error:
name=flippedMultiLineTest01f: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_flippedMulti
LineTest01f.gif: Permission denied
This is a right/left bottom/up chart and should be flipped left-to-right from the above chart. ChartPlugin error:
chart error:
name=flippedMultiLineTest01b: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_flippedMulti
LineTest01b.gif: Permission denied
This is a left/right chart with 4 lines. ChartPlugin error:
chart error:
name=flippedMultiLineTest03f: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_flippedMulti
LineTest03f.gif: Permission denied
This is a right/left chart and should be flipped left-to-right from the above chart. Because the data is read in reverse order, the line colors will be different. ChartPlugin error:
chart error:
name=flippedMultiLineTest03b: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_flippedMulti
LineTest03b.gif: Permission denied
This should be identical to test 02f above except instead of specifying multi-column data range, this specifies 4 single column data ranges. The results should be identical to 02f above. ChartPlugin error:
chart error:
name=flippedMultiLineTest04f: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_flippedMulti
LineTest04f.gif: Permission denied
This should be identical to the above except instead of specifying a Multi-column data range, this specifies 4 single column data ranges in reverse order. Because the data is read in reverse order, the line colors will be different. ChartPlugin error:
chart error: name=multiLineTest04b:
Can't create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_multiLineTes
t04b.gif: Permission denied
This is identical to test 04f above except the 4 single column data ranges are specified in a random order. The results should be identical to above with the exception that the line colors will be different. ChartPlugin error:
chart error:
name=flippedMultiLineTest05f: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_flippedMulti
LineTest05f.gif: Permission denied
Flipped of chart above. ChartPlugin error:
chart error:
name=flippedMultiLineTest05b: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_flippedMulti
LineTest05b.gif: Permission denied
This is identical to test 05f above except a multi-column range followed by a single column range. The results should be identical to above with the exception that the line colors will be different. ChartPlugin error:
chart error:
name=flippedMultiLineTest06f: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_flippedMulti
LineTest06f.gif: Permission denied
Flipped of chart to the left. ChartPlugin error:
chart error:
name=flippedMultiLineTest06b: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_flippedMulti
LineTest06b.gif: Permission denied
This is the same as test 06f above, but using areas. Still left/right chart with 4 lines. ChartPlugin error:
chart error:
name=flippedMultiAreaTest01f: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_area_flippedMulti
AreaTest01f.gif: Permission denied
This is the same as above, but using areas. Still right/left chart and should be flipped left-to-right from the chart to the left. Because the data is read in reverse order, the area colors will be different. ChartPlugin error:
chart error:
name=flippedMultiAreaTest01b: Can't
create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_area_flippedMulti
AreaTest01b.gif: Permission denied

Tests showing data displayed on both the left Y-axis and right Y-axis

Simple chart with data only so all data is in reference to the left Y-axis. ChartPlugin error:
chart error: name=multiDataTest01:
Can't create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_multiDataTes
t01.gif: Permission denied
Same chart as above with 3 lines referenced to the left Y-axis and 1 line referenced to the right Y-axis. ChartPlugin error:
chart error: name=multiDataTest02:
Can't create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_multiDataTes
t02.gif: Permission denied
Same chart as above with 1 line referenced to the left Y-axis and 3 lines referenced to the right Y-axis. ChartPlugin error:
chart error: name=multiDataTest03:
Can't create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_multiDataTes
t03.gif: Permission denied
Same chart as above with 2 lines referenced to the left Y-axis and 2 lines referenced to the right Y-axis, but the right axis has different ymin2 and ymax2 from the left axis values. ChartPlugin error:
chart error: name=multiDataTest04:
Can't create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_multiDataTes
t04.gif: Permission denied
Same as above with no yaxis2. ChartPlugin error:
chart error: name=multiDataTest05:
Can't create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_multiDataTes
t05.gif: Permission denied
Same as above with yaxis2 turned back on and ylabel2 disabled. ChartPlugin error:
chart error: name=multiDataTest06:
Can't create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_multiDataTes
t06.gif: Permission denied
Same as above with ytics="1" and ytics2="3". ChartPlugin error:
chart error: name=multiDataTest07:
Can't create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_multiDataTes
t07.gif: Permission denied
Same as above, but type="area". area should only apply to data data so data2 data should still default to line. ChartPlugin error:
chart error: name=multiDataTest08:
Can't create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_area_multiDataTes
t08.gif: Permission denied
Same as above, but changing type="combo" and adding subtype="area, area". So this should look identical to the above since data2 is still defaulting to line. ChartPlugin error:
chart error: name=multiDataTest09:
Can't create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_combo_multiDataTe
st09.gif: Permission denied
Same as above, but setting subtype2="area, area" and changing ymin2='-5' and =ymax2='10' so data2 data is shown above data data so you can see the area. ChartPlugin error:
chart error: name=multiDataTest10:
Can't create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_combo_multiDataTe
st10.gif: Permission denied
Same as above except change data and data2 from area to bar. ChartPlugin error:
chart error: name=multiDataTest11:
Can't create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_combo_multiDataTe
st11.gif: Permission denied
Same as above except change data and data2 from bar to pline. ChartPlugin error:
chart error: name=multiDataTest12:
Can't create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_combo_multiDataTe
st12.gif: Permission denied
Same as above except change data to "line, pline" and change =data2 ="pline, bar". ChartPlugin error:
chart error: name=multiDataTest13:
Can't create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_combo_multiDataTe
st13.gif: Permission denied
Same as above except change data to ="line, bar". ChartPlugin error:
chart error: name=multiDataTest14:
Can't create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_combo_multiDataTe
st14.gif: Permission denied
Same as above except change type="scatter". ChartPlugin error:
chart error: name=multiDataTest15:
Can't create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_scatter_multiData
Test15.gif: Permission denied
Same as above except change type="semilog", ymin="1", =ymin2="1", and removing definition for ytics, ytics, ymax, and ymax2. ChartPlugin error:
chart error: name=multiDataTest16:
Can't create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_combo_multiDataTe
st16.gif: Permission denied

Constant data tests (both in data and legend

Sample 4 line chart. ChartPlugin error:
chart error: name=constDataTest01:
Can't create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_constDataTes
t01.gif: Permission denied
Same as above, but adding a constant value = "50" to data as well as adding a datalegend for this new data set = "--50--". ChartPlugin error:
chart error: name=constDataTest02:
Can't create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_constDataTes
t02.gif: Permission denied
Same as above, but using constant values for legend instead of data from the table. ChartPlugin error:
chart error: name=constDataTest03:
Can't create file
/opt/twiki/prod/pub/TWiki21Nov/ChartPlu
ginTests/_ChartPlugin_line_constDataTes
t03.gif: Permission denied

Error handling tests

Description Expected Output Output
No parameters passed to CHART
%CHART{""}%
ChartPlugin error: parameter name must be specified ChartPlugin error:
parameter name must be specified
name defined, but no data specified.
%CHART{name='errorTest02'}%
ChartPlugin error: parameter data must be specified ChartPlugin error:
parameter data must be specified
Invalid type of badtype.
%CHART{name='errorTest03' type='badtype' data='R2:C7..R7:C7'}%
ChartPlugin error: ChartPlugin error: Invalid value of badtype for parameter type ChartPlugin error:
Invalid value of badtype for
parameter type
Specified topic page does not exist.
%CHART{name='errorTest04' topic='TopicDoesNotExist' data='R2:C7..R7:C7'}%
ChartPlugin error: Error retrieving TWiki topic TWiki.TopicDoesNotExist ChartPlugin error:
Error retrieving TWiki topic
TWiki21Nov.TopicDoesNotExist
Specified web page does not exist.
%CHART{name='errorTest05' web='WebDoesNotExist' data='R2:C7..R7:C7'}%
ChartPlugin error: Error retrieving TWiki topic webDoesNotExist.ChartPluginTests ChartPlugin error:
Error retrieving TWiki topic
WebDoesNotExist.ChartPluginTests
Invalid table number.
%CHART{name='errorTest06' table='999' data='R2:C7..R7:C7'}%
ChartPlugin error: parameter table is not valid table; the specified table '999' does not exist ChartPlugin error:
parameter table is not valid table;
the specified table '999' does not
exist.
invalid xaxis value.
%CHART{name='errorTest07' data='R2:C4..R7:C7' xaxis='R2:C4..R7:C7'}%
ChartPlugin error: parameter xaxis specifies multiple (6x4) rows and columns ChartPlugin error:
parameter xaxis specifies multiple
(6X4) rows and columns.
ymin = =ymax such that there is no chart height.
%CHART{name='errorTest09' data='R2:C4..R7:C7' ymin='10' ymax='10'}%
ChartPlugin error: chart error: name=errorTest09: No Chart height with ymin(10) == ymax(10) ChartPlugin error:
chart error: name=errorTest09: No Chart
height with ymin1(10) == ymax(10)
ymin > ymax.
%CHART{name='errorTest10' data='R2:C4..R7:C7' ymin='10' ymax='-10'}%
ChartPlugin error: chart error: name=errorTest10: Y max (-10) < Y Min (10) ChartPlugin error:
chart error: name=errorTest10: Y max1
(-10) < Y Min1 (10)
Only 1 point of data.
%CHART{name='errorTest11' data='R2:C4..R2:C4'}%
ChartPlugin error: chart error: name=errorTest11: Error: Number of data points needs to be > 1 ChartPlugin error:
chart error: name=errorTest11: Error:
Number of data points needs to be > 1
Invalid legend.
%CHART{name='errorTest12' data='R2:C4..R7:C7' legend='R1:C4'}%
ChartPlugin error: parameter legend contains an invalid value 'R1:C4' since it specifies 1 legends and there are 4 data sets. ChartPlugin error:
parameter legend contains an invalid
value 'R1:C4' since it specifies 1
legends and there are 4 data sets.
scale=semilog and data <= 0.
%CHART{name='errorTest13' data='R2:C3..R7:C7' scale='semilog'}%
ChartPlugin error: data (0) <= 0 not valid when scale=semilog ChartPlugin error:
minimum data (0) <= 0 not valid when
scale=semilog
Same legend error as above, but show the error inside of an image by setting showerror='image'.
%CHART{name='errorTest14' data='R2:C4..R7:C7' legend='R1:C4' showerror='image'}%
ChartPlugin error: parameter legend contains an invalid value 'R1:C4' since it specifies 1 legends and there are 4 data sets. Error seen
Same legend error as above, but now no error should appear since setting showerror='none'.
%CHART{name='errorTest15' data='R2:C4..R7:C7' legend='R1:C4' showerror='none'}%
<nothing should be seen>  
Same legend error as above, but show the error in text form since setting showerror='text'.
%CHART{name='errorTest16' data='R2:C4..R7:C7' legend='R1:C4' showerror='text'}%
ChartPlugin error: parameter legend contains an invalid value 'R1:C4' since it specifies 1 legends and there are 4 data sets. ChartPlugin error:
parameter legend contains an invalid
value 'R1:C4' since it specifies 1
legends and there are 4 data sets.
Same legend error as above, but show the error inside of an image by setting showerror='image'. Also, the image size will be different since width and height have been specified.
%CHART{name='errorTest17' data='R2:C4..R7:C7' legend='R1:C4' width='200' height='200' showerror='image'}%
ChartPlugin error: parameter legend contains an invalid value 'R1:C4' since it specifies 1 legends and there are 4 data sets. Error seen
Mixing a regular line with sparkline. ChartPlugin error: unkown subtypes: sparkline. ChartPlugin error:
unknown subtypes: sparkline
Mixing a regular line with sparkline. ChartPlugin error: subtype can not be used when type = 'sparkbar' ChartPlugin error:
subtype can not be used when type =
'sparkbar'
Show custom error message
%CHART{name='errorTest20' data='R2:C4..R2:C4' data2='R2:C4..R2:C4' errmsg_nodata="No data available to chart"}%
Should see a custom user error msg about "No data available to chart".
No data available to chart
Show custom error message
%CHART{name='errorTest21' data='R2:C4..R7:C4' data2='R2:C4..R2:C4' errmsg_nodata2="No data2 data available to chart"}%
Should see a custom user error msg about "No data2 data available to chart".
No data2 data available to chart

-- Contributors: TWiki:Main/TaitCyrus, TWiki:Main/PeterThoeny - 2010-04-07 -- Updated: TWiki:Main/TaitCyrus - 2011-04-25

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2010-04-08 - TWikiContributor
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    TWiki21Nov All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback