Java Code Examples for org.jfree.chart.renderer.AbstractRenderer#clearSeriesPaints()

The following examples show how to use org.jfree.chart.renderer.AbstractRenderer#clearSeriesPaints() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: StandardChartTheme.java    From openstock with GNU General Public License v3.0 5 votes vote down vote up
/**
 * Applies the attributes for this theme to an {@link AbstractRenderer}.
 *
 * @param renderer  the renderer (<code>null</code> not permitted).
 */
protected void applyToAbstractRenderer(AbstractRenderer renderer) {
    if (renderer.getAutoPopulateSeriesPaint()) {
        renderer.clearSeriesPaints(false);
    }
    if (renderer.getAutoPopulateSeriesStroke()) {
        renderer.clearSeriesStrokes(false);
    }
}
 
Example 2
Source File: StandardChartTheme.java    From ccu-historian with GNU General Public License v3.0 5 votes vote down vote up
/**
 * Applies the attributes for this theme to an {@link AbstractRenderer}.
 *
 * @param renderer  the renderer (<code>null</code> not permitted).
 */
protected void applyToAbstractRenderer(AbstractRenderer renderer) {
    if (renderer.getAutoPopulateSeriesPaint()) {
        renderer.clearSeriesPaints(false);
    }
    if (renderer.getAutoPopulateSeriesStroke()) {
        renderer.clearSeriesStrokes(false);
    }
}
 
Example 3
Source File: StandardChartTheme.java    From SIMVA-SoS with Apache License 2.0 5 votes vote down vote up
/**
 * Applies the attributes for this theme to an {@link AbstractRenderer}.
 *
 * @param renderer  the renderer (<code>null</code> not permitted).
 */
protected void applyToAbstractRenderer(AbstractRenderer renderer) {
    if (renderer.getAutoPopulateSeriesPaint()) {
        renderer.clearSeriesPaints(false);
    }
    if (renderer.getAutoPopulateSeriesStroke()) {
        renderer.clearSeriesStrokes(false);
    }
}
 
Example 4
Source File: StandardChartTheme.java    From ECG-Viewer with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Applies the attributes for this theme to an {@link AbstractRenderer}.
 *
 * @param renderer  the renderer (<code>null</code> not permitted).
 */
protected void applyToAbstractRenderer(AbstractRenderer renderer) {
    if (renderer.getAutoPopulateSeriesPaint()) {
        renderer.clearSeriesPaints(false);
    }
    if (renderer.getAutoPopulateSeriesStroke()) {
        renderer.clearSeriesStrokes(false);
    }
}
 
Example 5
Source File: StandardChartTheme.java    From astor with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Applies the attributes for this theme to an {@link AbstractRenderer}.
 *
 * @param renderer  the renderer (<code>null</code> not permitted).
 */
protected void applyToAbstractRenderer(AbstractRenderer renderer) {
    if (renderer.getAutoPopulateSeriesPaint()) {
        renderer.clearSeriesPaints(false);
    }
    if (renderer.getAutoPopulateSeriesStroke()) {
        renderer.clearSeriesStrokes(false);
    }
}
 
Example 6
Source File: StandardChartTheme.java    From buffer_bci with GNU General Public License v3.0 5 votes vote down vote up
/**
 * Applies the attributes for this theme to an {@link AbstractRenderer}.
 *
 * @param renderer  the renderer (<code>null</code> not permitted).
 */
protected void applyToAbstractRenderer(AbstractRenderer renderer) {
    if (renderer.getAutoPopulateSeriesPaint()) {
        renderer.clearSeriesPaints(false);
    }
    if (renderer.getAutoPopulateSeriesStroke()) {
        renderer.clearSeriesStrokes(false);
    }
}
 
Example 7
Source File: StandardChartTheme.java    From buffer_bci with GNU General Public License v3.0 5 votes vote down vote up
/**
 * Applies the attributes for this theme to an {@link AbstractRenderer}.
 *
 * @param renderer  the renderer (<code>null</code> not permitted).
 */
protected void applyToAbstractRenderer(AbstractRenderer renderer) {
    if (renderer.getAutoPopulateSeriesPaint()) {
        renderer.clearSeriesPaints(false);
    }
    if (renderer.getAutoPopulateSeriesStroke()) {
        renderer.clearSeriesStrokes(false);
    }
}