Example usage for org.jfree.chart.plot XYPlot clearDomainAxes

List of usage examples for org.jfree.chart.plot XYPlot clearDomainAxes

Introduction

In this page you can find the example usage for org.jfree.chart.plot XYPlot clearDomainAxes.

Prototype

public void clearDomainAxes() 

Source Link

Document

Clears the domain axes from the plot and sends a PlotChangeEvent to all registered listeners.

Usage

From source file:org.fhcrc.cpl.viewer.gui.MRMDialog.java

protected void clearPreviousChartJunk(XYPlot xyp) {
    if (xyp != null) {
        xyp.clearAnnotations();/*from  w  w  w . ja  va 2  s  .co  m*/
        xyp.clearDomainAxes();
        xyp.clearRangeAxes();
        xyp.setDataset(null);
    }
}