Java Code Examples for org.jfree.chart.event.RendererChangeEvent#getSeriesVisibilityChanged()

The following examples show how to use org.jfree.chart.event.RendererChangeEvent#getSeriesVisibilityChanged() . 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: XYPlot.java    From openstock with GNU General Public License v3.0 5 votes vote down vote up
/**
 * Receives notification of a renderer change event.
 *
 * @param event  the event.
 */
@Override
public void rendererChanged(RendererChangeEvent event) {
    // if the event was caused by a change to series visibility, then
    // the axis ranges might need updating...
    if (event.getSeriesVisibilityChanged()) {
        configureDomainAxes();
        configureRangeAxes();
    }
    fireChangeEvent();
}
 
Example 2
Source File: XYPlot.java    From ccu-historian with GNU General Public License v3.0 5 votes vote down vote up
/**
 * Receives notification of a renderer change event.
 *
 * @param event  the event.
 */
@Override
public void rendererChanged(RendererChangeEvent event) {
    // if the event was caused by a change to series visibility, then
    // the axis ranges might need updating...
    if (event.getSeriesVisibilityChanged()) {
        configureDomainAxes();
        configureRangeAxes();
    }
    fireChangeEvent();
}
 
Example 3
Source File: XYPlot.java    From SIMVA-SoS with Apache License 2.0 5 votes vote down vote up
/**
 * Receives notification of a renderer change event.
 *
 * @param event  the event.
 */
@Override
public void rendererChanged(RendererChangeEvent event) {
    // if the event was caused by a change to series visibility, then
    // the axis ranges might need updating...
    if (event.getSeriesVisibilityChanged()) {
        configureDomainAxes();
        configureRangeAxes();
    }
    fireChangeEvent();
}
 
Example 4
Source File: Cardumen_009_s.java    From coming with MIT License 5 votes vote down vote up
/**
 * Receives notification of a renderer change event.
 *
 * @param event  the event.
 */
public void rendererChanged(RendererChangeEvent event) {
    // if the event was caused by a change to series visibility, then
    // the axis ranges might need updating...
    if (event.getSeriesVisibilityChanged()) {
        configureDomainAxes();
        configureRangeAxes();
    }
    fireChangeEvent();
}
 
Example 5
Source File: Cardumen_009_t.java    From coming with MIT License 5 votes vote down vote up
/**
 * Receives notification of a renderer change event.
 *
 * @param event  the event.
 */
public void rendererChanged(RendererChangeEvent event) {
    // if the event was caused by a change to series visibility, then
    // the axis ranges might need updating...
    if (event.getSeriesVisibilityChanged()) {
        configureDomainAxes();
        configureRangeAxes();
    }
    fireChangeEvent();
}
 
Example 6
Source File: Cardumen_0082_t.java    From coming with MIT License 5 votes vote down vote up
/**
 * Receives notification of a renderer change event.
 *
 * @param event  the event.
 */
public void rendererChanged(RendererChangeEvent event) {
    // if the event was caused by a change to series visibility, then
    // the axis ranges might need updating...
    if (event.getSeriesVisibilityChanged()) {
        configureDomainAxes();
        configureRangeAxes();
    }
    fireChangeEvent();
}
 
Example 7
Source File: Cardumen_0082_s.java    From coming with MIT License 5 votes vote down vote up
/**
 * Receives notification of a renderer change event.
 *
 * @param event  the event.
 */
public void rendererChanged(RendererChangeEvent event) {
    // if the event was caused by a change to series visibility, then
    // the axis ranges might need updating...
    if (event.getSeriesVisibilityChanged()) {
        configureDomainAxes();
        configureRangeAxes();
    }
    fireChangeEvent();
}
 
Example 8
Source File: XYPlot.java    From ECG-Viewer with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Receives notification of a renderer change event.
 *
 * @param event  the event.
 */
@Override
public void rendererChanged(RendererChangeEvent event) {
    // if the event was caused by a change to series visibility, then
    // the axis ranges might need updating...
    if (event.getSeriesVisibilityChanged()) {
        configureDomainAxes();
        configureRangeAxes();
    }
    fireChangeEvent();
}
 
Example 9
Source File: XYPlot.java    From buffer_bci with GNU General Public License v3.0 5 votes vote down vote up
/**
 * Receives notification of a renderer change event.
 *
 * @param event  the event.
 */
@Override
public void rendererChanged(RendererChangeEvent event) {
    // if the event was caused by a change to series visibility, then
    // the axis ranges might need updating...
    if (event.getSeriesVisibilityChanged()) {
        configureDomainAxes();
        configureRangeAxes();
    }
    fireChangeEvent();
}
 
Example 10
Source File: XYPlot.java    From buffer_bci with GNU General Public License v3.0 5 votes vote down vote up
/**
 * Receives notification of a renderer change event.
 *
 * @param event  the event.
 */
@Override
public void rendererChanged(RendererChangeEvent event) {
    // if the event was caused by a change to series visibility, then
    // the axis ranges might need updating...
    if (event.getSeriesVisibilityChanged()) {
        configureDomainAxes();
        configureRangeAxes();
    }
    fireChangeEvent();
}