I try to make a Line from a LineAndShapeRenderer visible or unvisible
(depending on a checkbox).
I searched the Forum and see, that this is a new Feature (setSeriesVisible) and not updated yet for the CategoryItemrenderer (I use Version 0.9.21).
But the LineAndShapeRenderer implements this Method.
Unfortunately it does not work!
Code: Select all
LineAndShapeRenderer renderer = (LineAndShapeRenderer)plot.getRenderer(0);
renderer.setSeriesVisible(series, new Boolean(false));
Thanks for any help