Logo Search packages:      
Sourcecode: libjfreechart-java version File versions  Download package

void org::jfree::chart::renderer::AbstractRenderer::setSeriesVisibleInLegend ( Boolean  visible,
boolean  notify 
) [inline, inherited]

Sets the flag that controls the visibility of ALL series in the legend and sends a RendererChangeEvent to all registered listeners. This flag overrides the per series and default settings - you must set it to null if you want the other settings to apply.

Parameters:
visible the flag (null permitted).
notify notify listeners?
See also:
getSeriesVisibleInLegend()
Deprecated:
This method should no longer be used (as of version 1.0.6). It is sufficient to rely on Boolean, boolean) and boolean).

Definition at line 763 of file AbstractRenderer.java.

References org::jfree::chart::renderer::AbstractRenderer::fireChangeEvent(), and org::jfree::chart::renderer::AbstractRenderer::seriesVisibleInLegend.

                                                                          {
        this.seriesVisibleInLegend = visible;
        if (notify) {
            fireChangeEvent();
        }
    }


Generated by  Doxygen 1.6.0   Back to index