Details
-
Bug
-
Resolution: Fixed
-
Major
-
0.9.1252
-
None
Description
The graph Wizard and a bad parameter :"|renderer=pie", if we remove this parameter from the bottom code, it will be Ok.
The XWiki code:
{table} date|%age 09|23 10|34 12|37 13|21 14|23 15|67 {table} {chart:axis_domain_position=top|subtitle_position=top|title_font=name:SansSerif;style:bold;size:18|axis_domain_visible=true|type=Line|renderer=pie|title=test label|subtitle_background_color=transparent|title_padding=left:0;top:0;right:0;bottom:0|subtitle_color=black|axis_domain_label=|title_horizontal_alignment=center|title_vertical_alignment=center|sourcetype=on|title_color=black|subtitle_horizontal_alignment=center|subtitle_vertical_alignment=center|source=type:table;doc:Main.Niveau4;table_number:0;range:A-B;has_header_row:true;has_header_column:true;ignore_alpha:false;decimal_symbol:period|title_position=top|subtitle_padding=left:0;top:0;right:0;bottom:0|subtitle_font=name:SansSerif;style:bold;size:12|subtitle=subtitle|series=columns|title_background_color=transparent}
You will have an exception about the Renderer Class of type PiePlot, the selected graph type is Line based.
Charting exception: Error number 0 in 5: Incompatible renderer class: class org.jfree.chart.plot.PiePlot Wrapped Exception: Incompatible renderer class: class org.jfree.chart.plot.PiePlot com.xpn.xwiki.XWikiException: Error number 0 in 5: Incompatible renderer class: class org.jfree.chart.plot.PiePlot Wrapped Exception: Incompatible renderer class: class org.jfree.chart.plot.PiePlot at com.xpn.xwiki.plugin.charts.ChartingMacro.exception(ChartingMacro.java:145) at com.xpn.xwiki.plugin.charts.ChartingMacro.execute(ChartingMacro.java:82) at org.radeox.filter.MacroFilter.handleMatch(MacroFilter.java:111) at org.radeox.filter.regex.RegexTokenFilter$1.handleMatch(RegexTokenFilter.java:85) at org.radeox.regex.JdkMatcher.substitute(JdkMatcher.java:42) at org.radeox.filter.regex.RegexTokenFilter.filter(RegexTokenFilter.java:83) at org.radeox.filter.FilterPipe.filter(FilterPipe.java:196) at