List of usage examples for org.jfree.chart.plot XYPlot axisChanged
@Override public void axisChanged(AxisChangeEvent event)
From source file:edu.gmu.cs.sim.util.media.chart.XYChartGenerator.java
/** Sets the name of the Y Axis label. */ public void setYAxisLabel(String val) { XYPlot xyplot = (XYPlot) (chart.getPlot()); xyplot.getRangeAxis().setLabel(val); xyplot.axisChanged(new AxisChangeEvent(xyplot.getRangeAxis())); yLabel.setValue(val); }
From source file:edu.gmu.cs.sim.util.media.chart.XYChartGenerator.java
/** Sets the name of the X Axis label. */ public void setXAxisLabel(String val) { XYPlot xyplot = (XYPlot) (chart.getPlot()); xyplot.getDomainAxis().setLabel(val); xyplot.axisChanged(new AxisChangeEvent(xyplot.getDomainAxis())); xLabel.setValue(val); }