Error in RotatedAxisLabels with empty chart

  • Timothy Anyona

    Timothy Anyona - 2012-11-06

    If I have an empty chart and I'm using the RotatedAxisLabels postprocessor, an exception is thrown

    java.lang.IllegalArgumentException: The 'series' argument is out of bounds (0).
        at de.laures.cewolf.cpp.RotatedAxisLabels.processChart(
        at de.laures.cewolf.taglib.AbstractChartDefinition.getChart(
        at de.laures.cewolf.taglib.ChartImageDefinition.ensureRendered(
        at de.laures.cewolf.taglib.ChartImageDefinition.getRenderingInfo(
        at de.laures.cewolf.taglib.tags.ChartImgTag.getRenderingInfo(
        at de.laures.cewolf.taglib.tags.ChartMapTag.doStartTag(

    Is it possible for this postprocessor not to thrown an exception for empty charts?

  • Ulf Dittmer

    Ulf Dittmer - 2012-11-07

    Yeah, that's an easy fix. I guess the thinking was that the JSP would suppress the chart altogether if no data was in it.

  • Ulf Dittmer

    Ulf Dittmer - 2012-11-07

    I've just uploaded a new version that fixes this problem.

  • Timothy Anyona

    Timothy Anyona - 2012-11-08



Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks