@Test public void testGetRangeAxisForDataset() { XYDataset dataset = new XYSeriesCollection(); NumberAxis xAxis = new NumberAxis("X"); NumberAxis yAxis = new NumberAxis("Y"); XYItemRenderer renderer = new DefaultXYItemRenderer(); XYPlot plot = new XYPlot(dataset, xAxis, yAxis, renderer); assertEquals(yAxis, plot.getRangeAxisForDataset(0)); try { plot.getRangeAxisForDataset(-1); fail("Should have thrown an IllegalArgumentException on negative value"); } catch (IllegalArgumentException e) { assertEquals("Index -1 out of bounds.", e.getMessage()); } try { plot.getRangeAxisForDataset(1); fail("Should have thrown an IllegalArgumentException on index out of bounds"); } catch (IllegalArgumentException e) { assertEquals("Index 1 out of bounds.", e.getMessage()); } NumberAxis yAxis2 = new NumberAxis("Y2"); plot.setRangeAxis(1, yAxis2); assertEquals(yAxis, plot.getRangeAxisForDataset(0)); plot.mapDatasetToRangeAxis(0, 1); assertEquals(yAxis2, plot.getRangeAxisForDataset(0)); List<Integer> axisIndices = Arrays.asList(0, 1); plot.mapDatasetToRangeAxes(0, axisIndices); assertEquals(yAxis, plot.getRangeAxisForDataset(0)); axisIndices = Arrays.asList(1, 2); plot.mapDatasetToRangeAxes(0, axisIndices); assertEquals(yAxis2, plot.getRangeAxisForDataset(0)); }
public ValueAxis getRangeAxisForDataset(int index) { int upper = Math.max(getDatasetCount(), getRendererCount()); if (index < 0 || index >= upper) { throw new IllegalArgumentException("Index " + index + " out of bounds."); } ValueAxis valueAxis; List<Integer> axisIndices = this.datasetToRangeAxesMap.get( index); if (axisIndices != null) { Integer axisIndex = axisIndices.get(0); valueAxis = getRangeAxis(axisIndex); } else { valueAxis = getRangeAxis(0); } return valueAxis; }
XYPlot extends Plot implements ValueAxisPlot, Pannable, Zoomable,
        RendererChangeListener, Cloneable, PublicCloneable, Serializable { public ValueAxis getRangeAxisForDataset(int index) { int upper = Math.max(getDatasetCount(), getRendererCount()); if (index < 0 || index >= upper) { throw new IllegalArgumentException("Index " + index + " out of bounds."); } ValueAxis valueAxis; List<Integer> axisIndices = this.datasetToRangeAxesMap.get( index); if (axisIndices != null) { Integer axisIndex = axisIndices.get(0); valueAxis = getRangeAxis(axisIndex); } else { valueAxis = getRangeAxis(0); } return valueAxis; } }
XYPlot extends Plot implements ValueAxisPlot, Pannable, Zoomable,
        RendererChangeListener, Cloneable, PublicCloneable, Serializable { public ValueAxis getRangeAxisForDataset(int index) { int upper = Math.max(getDatasetCount(), getRendererCount()); if (index < 0 || index >= upper) { throw new IllegalArgumentException("Index " + index + " out of bounds."); } ValueAxis valueAxis; List<Integer> axisIndices = this.datasetToRangeAxesMap.get( index); if (axisIndices != null) { Integer axisIndex = axisIndices.get(0); valueAxis = getRangeAxis(axisIndex); } else { valueAxis = getRangeAxis(0); } return valueAxis; } XYPlot();  XYPlot(XYDataset dataset,
                  ValueAxis domainAxis,
                  ValueAxis rangeAxis,
                  XYItemRenderer renderer); }
XYPlot extends Plot implements ValueAxisPlot, Pannable, Zoomable,
        RendererChangeListener, Cloneable, PublicCloneable, Serializable { public ValueAxis getRangeAxisForDataset(int index) { int upper = Math.max(getDatasetCount(), getRendererCount()); if (index < 0 || index >= upper) { throw new IllegalArgumentException("Index " + index + " out of bounds."); } ValueAxis valueAxis; List<Integer> axisIndices = this.datasetToRangeAxesMap.get( index); if (axisIndices != null) { Integer axisIndex = axisIndices.get(0); valueAxis = getRangeAxis(axisIndex); } else { valueAxis = getRangeAxis(0); } return valueAxis; } XYPlot();  XYPlot(XYDataset dataset,
                  ValueAxis domainAxis,
                  ValueAxis rangeAxis,
                  XYItemRenderer renderer); @Override String getPlotType(); @Override PlotOrientation getOrientation(); void setOrientation(PlotOrientation orientation); RectangleInsets getAxisOffset(); void setAxisOffset(RectangleInsets offset); ValueAxis getDomainAxis(); ValueAxis getDomainAxis(int index); void setDomainAxis(ValueAxis axis); void setDomainAxis(int index, ValueAxis axis); void setDomainAxis(int index, ValueAxis axis, boolean notify); void setDomainAxes(ValueAxis[] axes); AxisLocation getDomainAxisLocation(); void setDomainAxisLocation(AxisLocation location); void setDomainAxisLocation(AxisLocation location, boolean notify); RectangleEdge getDomainAxisEdge(); int getDomainAxisCount(); void clearDomainAxes(); void configureDomainAxes(); AxisLocation getDomainAxisLocation(int index); void setDomainAxisLocation(int index, AxisLocation location); void setDomainAxisLocation(int index, AxisLocation location,
            boolean notify); RectangleEdge getDomainAxisEdge(int index); ValueAxis getRangeAxis(); void setRangeAxis(ValueAxis axis); AxisLocation getRangeAxisLocation(); void setRangeAxisLocation(AxisLocation location); void setRangeAxisLocation(AxisLocation location, boolean notify); RectangleEdge getRangeAxisEdge(); ValueAxis getRangeAxis(int index); void setRangeAxis(int index, ValueAxis axis); void setRangeAxis(int index, ValueAxis axis, boolean notify); void setRangeAxes(ValueAxis[] axes); int getRangeAxisCount(); void clearRangeAxes(); void configureRangeAxes(); AxisLocation getRangeAxisLocation(int index); void setRangeAxisLocation(int index, AxisLocation location); void setRangeAxisLocation(int index, AxisLocation location,
            boolean notify); RectangleEdge getRangeAxisEdge(int index); XYDataset getDataset(); XYDataset getDataset(int index); void setDataset(XYDataset dataset); void setDataset(int index, XYDataset dataset); int getDatasetCount(); int indexOf(XYDataset dataset); void mapDatasetToDomainAxis(int index, int axisIndex); void mapDatasetToDomainAxes(int index, List<Integer> axisIndices); void mapDatasetToRangeAxis(int index, int axisIndex); void mapDatasetToRangeAxes(int index, List<Integer> axisIndices); int getRendererCount(); XYItemRenderer getRenderer(); XYItemRenderer getRenderer(int index); void setRenderer(XYItemRenderer renderer); void setRenderer(int index, XYItemRenderer renderer); void setRenderer(int index, XYItemRenderer renderer,
                            boolean notify); void setRenderers(XYItemRenderer[] renderers); DatasetRenderingOrder getDatasetRenderingOrder(); void setDatasetRenderingOrder(DatasetRenderingOrder order); SeriesRenderingOrder getSeriesRenderingOrder(); void setSeriesRenderingOrder(SeriesRenderingOrder order); int getIndexOf(XYItemRenderer renderer); XYItemRenderer getRendererForDataset(XYDataset dataset); int getWeight(); void setWeight(int weight); boolean isDomainGridlinesVisible(); void setDomainGridlinesVisible(boolean visible); boolean isDomainMinorGridlinesVisible(); void setDomainMinorGridlinesVisible(boolean visible); Stroke getDomainGridlineStroke(); void setDomainGridlineStroke(Stroke stroke); Stroke getDomainMinorGridlineStroke(); void setDomainMinorGridlineStroke(Stroke stroke); Paint getDomainGridlinePaint(); void setDomainGridlinePaint(Paint paint); Paint getDomainMinorGridlinePaint(); void setDomainMinorGridlinePaint(Paint paint); boolean isRangeGridlinesVisible(); void setRangeGridlinesVisible(boolean visible); Stroke getRangeGridlineStroke(); void setRangeGridlineStroke(Stroke stroke); Paint getRangeGridlinePaint(); void setRangeGridlinePaint(Paint paint); boolean isRangeMinorGridlinesVisible(); void setRangeMinorGridlinesVisible(boolean visible); Stroke getRangeMinorGridlineStroke(); void setRangeMinorGridlineStroke(Stroke stroke); Paint getRangeMinorGridlinePaint(); void setRangeMinorGridlinePaint(Paint paint); boolean isDomainZeroBaselineVisible(); void setDomainZeroBaselineVisible(boolean visible); Stroke getDomainZeroBaselineStroke(); void setDomainZeroBaselineStroke(Stroke stroke); Paint getDomainZeroBaselinePaint(); void setDomainZeroBaselinePaint(Paint paint); boolean isRangeZeroBaselineVisible(); void setRangeZeroBaselineVisible(boolean visible); Stroke getRangeZeroBaselineStroke(); void setRangeZeroBaselineStroke(Stroke stroke); Paint getRangeZeroBaselinePaint(); void setRangeZeroBaselinePaint(Paint paint); Paint getDomainTickBandPaint(); void setDomainTickBandPaint(Paint paint); Paint getRangeTickBandPaint(); void setRangeTickBandPaint(Paint paint); Point2D getQuadrantOrigin(); void setQuadrantOrigin(Point2D origin); Paint getQuadrantPaint(int index); void setQuadrantPaint(int index, Paint paint); void addDomainMarker(Marker marker); void addDomainMarker(Marker marker, Layer layer); void clearDomainMarkers(); void clearDomainMarkers(int key); void addDomainMarker(int index, Marker marker, Layer layer); void addDomainMarker(int index, Marker marker, Layer layer,
            boolean notify); boolean removeDomainMarker(Marker marker); boolean removeDomainMarker(Marker marker, Layer layer); boolean removeDomainMarker(int index, Marker marker, Layer layer); boolean removeDomainMarker(int index, Marker marker, Layer layer,
            boolean notify); void addRangeMarker(Marker marker); void addRangeMarker(Marker marker, Layer layer); void clearRangeMarkers(); void addRangeMarker(int index, Marker marker, Layer layer); void addRangeMarker(int index, Marker marker, Layer layer,
            boolean notify); void clearRangeMarkers(int key); boolean removeRangeMarker(Marker marker); boolean removeRangeMarker(Marker marker, Layer layer); boolean removeRangeMarker(int index, Marker marker, Layer layer); boolean removeRangeMarker(int index, Marker marker, Layer layer,
            boolean notify); void addAnnotation(XYAnnotation annotation); void addAnnotation(XYAnnotation annotation, boolean notify); boolean removeAnnotation(XYAnnotation annotation); boolean removeAnnotation(XYAnnotation annotation, boolean notify); List<XYAnnotation> getAnnotations(); void clearAnnotations(); ShadowGenerator getShadowGenerator(); void setShadowGenerator(ShadowGenerator generator); @Override void draw(Graphics2D g2, Rectangle2D area, Point2D anchor,
            PlotState parentState, PlotRenderingInfo info); @Override void drawBackground(Graphics2D g2, Rectangle2D area); void drawDomainTickBands(Graphics2D g2, Rectangle2D dataArea,
                                    List<ValueTick> ticks); void drawRangeTickBands(Graphics2D g2, Rectangle2D dataArea,
                                   List<ValueTick> ticks); boolean render(Graphics2D g2, Rectangle2D dataArea, int index,
            PlotRenderingInfo info, CrosshairState crosshairState); ValueAxis getDomainAxisForDataset(int index); ValueAxis getRangeAxisForDataset(int index); void drawAnnotations(Graphics2D g2, Rectangle2D dataArea,
                                PlotRenderingInfo info); Collection<Marker> getDomainMarkers(Layer layer); Collection<Marker> getRangeMarkers(Layer layer); Collection<Marker> getDomainMarkers(int index, Layer layer); Collection<Marker> getRangeMarkers(int index, Layer layer); @Override void handleClick(int x, int y, PlotRenderingInfo info); int getDomainAxisIndex(ValueAxis axis); int getRangeAxisIndex(ValueAxis axis); @Override Range getDataRange(ValueAxis axis); @Override void annotationChanged(AnnotationChangeEvent event); @Override void datasetChanged(DatasetChangeEvent event); @Override void rendererChanged(RendererChangeEvent event); boolean isDomainCrosshairVisible(); void setDomainCrosshairVisible(boolean flag); boolean isDomainCrosshairLockedOnData(); void setDomainCrosshairLockedOnData(boolean flag); double getDomainCrosshairValue(); void setDomainCrosshairValue(double value); void setDomainCrosshairValue(double value, boolean notify); Stroke getDomainCrosshairStroke(); void setDomainCrosshairStroke(Stroke stroke); Paint getDomainCrosshairPaint(); void setDomainCrosshairPaint(Paint paint); boolean isRangeCrosshairVisible(); void setRangeCrosshairVisible(boolean flag); boolean isRangeCrosshairLockedOnData(); void setRangeCrosshairLockedOnData(boolean flag); double getRangeCrosshairValue(); void setRangeCrosshairValue(double value); void setRangeCrosshairValue(double value, boolean notify); Stroke getRangeCrosshairStroke(); void setRangeCrosshairStroke(Stroke stroke); Paint getRangeCrosshairPaint(); void setRangeCrosshairPaint(Paint paint); AxisSpace getFixedDomainAxisSpace(); void setFixedDomainAxisSpace(AxisSpace space); void setFixedDomainAxisSpace(AxisSpace space, boolean notify); AxisSpace getFixedRangeAxisSpace(); void setFixedRangeAxisSpace(AxisSpace space); void setFixedRangeAxisSpace(AxisSpace space, boolean notify); @Override boolean isDomainPannable(); void setDomainPannable(boolean pannable); @Override boolean isRangePannable(); void setRangePannable(boolean pannable); @Override void panDomainAxes(double percent, PlotRenderingInfo info,
            Point2D source); @Override void panRangeAxes(double percent, PlotRenderingInfo info,
            Point2D source); @Override void zoomDomainAxes(double factor, PlotRenderingInfo info,
                               Point2D source); @Override void zoomDomainAxes(double factor, PlotRenderingInfo info,
                               Point2D source, boolean useAnchor); @Override void zoomDomainAxes(double lowerPercent, double upperPercent,
                               PlotRenderingInfo info, Point2D source); @Override void zoomRangeAxes(double factor, PlotRenderingInfo info,
                              Point2D source); @Override void zoomRangeAxes(double factor, PlotRenderingInfo info,
                              Point2D source, boolean useAnchor); @Override void zoomRangeAxes(double lowerPercent, double upperPercent,
                              PlotRenderingInfo info, Point2D source); @Override boolean isDomainZoomable(); @Override boolean isRangeZoomable(); int getSeriesCount(); List<LegendItem> getFixedLegendItems(); void setFixedLegendItems(List<LegendItem> items); @Override List<LegendItem> getLegendItems(); @Override boolean equals(Object obj); double getJava2dToValue(Rectangle2D rect,
                                   PlotRenderingInfo info,
                                   int select); double getValueToJava2d(double dValue,
                                   PlotRenderingInfo info); @Override Object clone(); }
XYPlot extends Plot implements ValueAxisPlot, Pannable, Zoomable,
        RendererChangeListener, Cloneable, PublicCloneable, Serializable { public ValueAxis getRangeAxisForDataset(int index) { int upper = Math.max(getDatasetCount(), getRendererCount()); if (index < 0 || index >= upper) { throw new IllegalArgumentException("Index " + index + " out of bounds."); } ValueAxis valueAxis; List<Integer> axisIndices = this.datasetToRangeAxesMap.get( index); if (axisIndices != null) { Integer axisIndex = axisIndices.get(0); valueAxis = getRangeAxis(axisIndex); } else { valueAxis = getRangeAxis(0); } return valueAxis; } XYPlot();  XYPlot(XYDataset dataset,
                  ValueAxis domainAxis,
                  ValueAxis rangeAxis,
                  XYItemRenderer renderer); @Override String getPlotType(); @Override PlotOrientation getOrientation(); void setOrientation(PlotOrientation orientation); RectangleInsets getAxisOffset(); void setAxisOffset(RectangleInsets offset); ValueAxis getDomainAxis(); ValueAxis getDomainAxis(int index); void setDomainAxis(ValueAxis axis); void setDomainAxis(int index, ValueAxis axis); void setDomainAxis(int index, ValueAxis axis, boolean notify); void setDomainAxes(ValueAxis[] axes); AxisLocation getDomainAxisLocation(); void setDomainAxisLocation(AxisLocation location); void setDomainAxisLocation(AxisLocation location, boolean notify); RectangleEdge getDomainAxisEdge(); int getDomainAxisCount(); void clearDomainAxes(); void configureDomainAxes(); AxisLocation getDomainAxisLocation(int index); void setDomainAxisLocation(int index, AxisLocation location); void setDomainAxisLocation(int index, AxisLocation location,
            boolean notify); RectangleEdge getDomainAxisEdge(int index); ValueAxis getRangeAxis(); void setRangeAxis(ValueAxis axis); AxisLocation getRangeAxisLocation(); void setRangeAxisLocation(AxisLocation location); void setRangeAxisLocation(AxisLocation location, boolean notify); RectangleEdge getRangeAxisEdge(); ValueAxis getRangeAxis(int index); void setRangeAxis(int index, ValueAxis axis); void setRangeAxis(int index, ValueAxis axis, boolean notify); void setRangeAxes(ValueAxis[] axes); int getRangeAxisCount(); void clearRangeAxes(); void configureRangeAxes(); AxisLocation getRangeAxisLocation(int index); void setRangeAxisLocation(int index, AxisLocation location); void setRangeAxisLocation(int index, AxisLocation location,
            boolean notify); RectangleEdge getRangeAxisEdge(int index); XYDataset getDataset(); XYDataset getDataset(int index); void setDataset(XYDataset dataset); void setDataset(int index, XYDataset dataset); int getDatasetCount(); int indexOf(XYDataset dataset); void mapDatasetToDomainAxis(int index, int axisIndex); void mapDatasetToDomainAxes(int index, List<Integer> axisIndices); void mapDatasetToRangeAxis(int index, int axisIndex); void mapDatasetToRangeAxes(int index, List<Integer> axisIndices); int getRendererCount(); XYItemRenderer getRenderer(); XYItemRenderer getRenderer(int index); void setRenderer(XYItemRenderer renderer); void setRenderer(int index, XYItemRenderer renderer); void setRenderer(int index, XYItemRenderer renderer,
                            boolean notify); void setRenderers(XYItemRenderer[] renderers); DatasetRenderingOrder getDatasetRenderingOrder(); void setDatasetRenderingOrder(DatasetRenderingOrder order); SeriesRenderingOrder getSeriesRenderingOrder(); void setSeriesRenderingOrder(SeriesRenderingOrder order); int getIndexOf(XYItemRenderer renderer); XYItemRenderer getRendererForDataset(XYDataset dataset); int getWeight(); void setWeight(int weight); boolean isDomainGridlinesVisible(); void setDomainGridlinesVisible(boolean visible); boolean isDomainMinorGridlinesVisible(); void setDomainMinorGridlinesVisible(boolean visible); Stroke getDomainGridlineStroke(); void setDomainGridlineStroke(Stroke stroke); Stroke getDomainMinorGridlineStroke(); void setDomainMinorGridlineStroke(Stroke stroke); Paint getDomainGridlinePaint(); void setDomainGridlinePaint(Paint paint); Paint getDomainMinorGridlinePaint(); void setDomainMinorGridlinePaint(Paint paint); boolean isRangeGridlinesVisible(); void setRangeGridlinesVisible(boolean visible); Stroke getRangeGridlineStroke(); void setRangeGridlineStroke(Stroke stroke); Paint getRangeGridlinePaint(); void setRangeGridlinePaint(Paint paint); boolean isRangeMinorGridlinesVisible(); void setRangeMinorGridlinesVisible(boolean visible); Stroke getRangeMinorGridlineStroke(); void setRangeMinorGridlineStroke(Stroke stroke); Paint getRangeMinorGridlinePaint(); void setRangeMinorGridlinePaint(Paint paint); boolean isDomainZeroBaselineVisible(); void setDomainZeroBaselineVisible(boolean visible); Stroke getDomainZeroBaselineStroke(); void setDomainZeroBaselineStroke(Stroke stroke); Paint getDomainZeroBaselinePaint(); void setDomainZeroBaselinePaint(Paint paint); boolean isRangeZeroBaselineVisible(); void setRangeZeroBaselineVisible(boolean visible); Stroke getRangeZeroBaselineStroke(); void setRangeZeroBaselineStroke(Stroke stroke); Paint getRangeZeroBaselinePaint(); void setRangeZeroBaselinePaint(Paint paint); Paint getDomainTickBandPaint(); void setDomainTickBandPaint(Paint paint); Paint getRangeTickBandPaint(); void setRangeTickBandPaint(Paint paint); Point2D getQuadrantOrigin(); void setQuadrantOrigin(Point2D origin); Paint getQuadrantPaint(int index); void setQuadrantPaint(int index, Paint paint); void addDomainMarker(Marker marker); void addDomainMarker(Marker marker, Layer layer); void clearDomainMarkers(); void clearDomainMarkers(int key); void addDomainMarker(int index, Marker marker, Layer layer); void addDomainMarker(int index, Marker marker, Layer layer,
            boolean notify); boolean removeDomainMarker(Marker marker); boolean removeDomainMarker(Marker marker, Layer layer); boolean removeDomainMarker(int index, Marker marker, Layer layer); boolean removeDomainMarker(int index, Marker marker, Layer layer,
            boolean notify); void addRangeMarker(Marker marker); void addRangeMarker(Marker marker, Layer layer); void clearRangeMarkers(); void addRangeMarker(int index, Marker marker, Layer layer); void addRangeMarker(int index, Marker marker, Layer layer,
            boolean notify); void clearRangeMarkers(int key); boolean removeRangeMarker(Marker marker); boolean removeRangeMarker(Marker marker, Layer layer); boolean removeRangeMarker(int index, Marker marker, Layer layer); boolean removeRangeMarker(int index, Marker marker, Layer layer,
            boolean notify); void addAnnotation(XYAnnotation annotation); void addAnnotation(XYAnnotation annotation, boolean notify); boolean removeAnnotation(XYAnnotation annotation); boolean removeAnnotation(XYAnnotation annotation, boolean notify); List<XYAnnotation> getAnnotations(); void clearAnnotations(); ShadowGenerator getShadowGenerator(); void setShadowGenerator(ShadowGenerator generator); @Override void draw(Graphics2D g2, Rectangle2D area, Point2D anchor,
            PlotState parentState, PlotRenderingInfo info); @Override void drawBackground(Graphics2D g2, Rectangle2D area); void drawDomainTickBands(Graphics2D g2, Rectangle2D dataArea,
                                    List<ValueTick> ticks); void drawRangeTickBands(Graphics2D g2, Rectangle2D dataArea,
                                   List<ValueTick> ticks); boolean render(Graphics2D g2, Rectangle2D dataArea, int index,
            PlotRenderingInfo info, CrosshairState crosshairState); ValueAxis getDomainAxisForDataset(int index); ValueAxis getRangeAxisForDataset(int index); void drawAnnotations(Graphics2D g2, Rectangle2D dataArea,
                                PlotRenderingInfo info); Collection<Marker> getDomainMarkers(Layer layer); Collection<Marker> getRangeMarkers(Layer layer); Collection<Marker> getDomainMarkers(int index, Layer layer); Collection<Marker> getRangeMarkers(int index, Layer layer); @Override void handleClick(int x, int y, PlotRenderingInfo info); int getDomainAxisIndex(ValueAxis axis); int getRangeAxisIndex(ValueAxis axis); @Override Range getDataRange(ValueAxis axis); @Override void annotationChanged(AnnotationChangeEvent event); @Override void datasetChanged(DatasetChangeEvent event); @Override void rendererChanged(RendererChangeEvent event); boolean isDomainCrosshairVisible(); void setDomainCrosshairVisible(boolean flag); boolean isDomainCrosshairLockedOnData(); void setDomainCrosshairLockedOnData(boolean flag); double getDomainCrosshairValue(); void setDomainCrosshairValue(double value); void setDomainCrosshairValue(double value, boolean notify); Stroke getDomainCrosshairStroke(); void setDomainCrosshairStroke(Stroke stroke); Paint getDomainCrosshairPaint(); void setDomainCrosshairPaint(Paint paint); boolean isRangeCrosshairVisible(); void setRangeCrosshairVisible(boolean flag); boolean isRangeCrosshairLockedOnData(); void setRangeCrosshairLockedOnData(boolean flag); double getRangeCrosshairValue(); void setRangeCrosshairValue(double value); void setRangeCrosshairValue(double value, boolean notify); Stroke getRangeCrosshairStroke(); void setRangeCrosshairStroke(Stroke stroke); Paint getRangeCrosshairPaint(); void setRangeCrosshairPaint(Paint paint); AxisSpace getFixedDomainAxisSpace(); void setFixedDomainAxisSpace(AxisSpace space); void setFixedDomainAxisSpace(AxisSpace space, boolean notify); AxisSpace getFixedRangeAxisSpace(); void setFixedRangeAxisSpace(AxisSpace space); void setFixedRangeAxisSpace(AxisSpace space, boolean notify); @Override boolean isDomainPannable(); void setDomainPannable(boolean pannable); @Override boolean isRangePannable(); void setRangePannable(boolean pannable); @Override void panDomainAxes(double percent, PlotRenderingInfo info,
            Point2D source); @Override void panRangeAxes(double percent, PlotRenderingInfo info,
            Point2D source); @Override void zoomDomainAxes(double factor, PlotRenderingInfo info,
                               Point2D source); @Override void zoomDomainAxes(double factor, PlotRenderingInfo info,
                               Point2D source, boolean useAnchor); @Override void zoomDomainAxes(double lowerPercent, double upperPercent,
                               PlotRenderingInfo info, Point2D source); @Override void zoomRangeAxes(double factor, PlotRenderingInfo info,
                              Point2D source); @Override void zoomRangeAxes(double factor, PlotRenderingInfo info,
                              Point2D source, boolean useAnchor); @Override void zoomRangeAxes(double lowerPercent, double upperPercent,
                              PlotRenderingInfo info, Point2D source); @Override boolean isDomainZoomable(); @Override boolean isRangeZoomable(); int getSeriesCount(); List<LegendItem> getFixedLegendItems(); void setFixedLegendItems(List<LegendItem> items); @Override List<LegendItem> getLegendItems(); @Override boolean equals(Object obj); double getJava2dToValue(Rectangle2D rect,
                                   PlotRenderingInfo info,
                                   int select); double getValueToJava2d(double dValue,
                                   PlotRenderingInfo info); @Override Object clone(); static final Stroke DEFAULT_GRIDLINE_STROKE; static final Paint DEFAULT_GRIDLINE_PAINT; static final boolean DEFAULT_CROSSHAIR_VISIBLE; static final Stroke DEFAULT_CROSSHAIR_STROKE; static final Paint DEFAULT_CROSSHAIR_PAINT; }