Available Methods
- getOrientation ( )
- setDataset ( )
- getRangeAxis ( )
- getDomainAxisEdge ( )
- setRenderer ( )
- getRangeAxisEdge ( )
- getRenderer ( )
- getDomainAxis ( )
- setBackgroundPaint ( )
- setRangeGridlinePaint ( )
- setRangeAxis ( )
- getDomainAxisIndex ( )
- setDomainGridlinePaint ( )
- getRangeAxisIndex ( )
- setOrientation ( )
- setDomainCrosshairVisible ( )
- setAxisOffset ( )
- setRangeCrosshairVisible ( )
- addAnnotation ( )
- getDomainAxisLocation ( )
- getDataset ( )
- setDomainGridlinesVisible ( )
- getRangeAxisLocation ( )
- addDomainMarker ( )
- setRangeGridlinesVisible ( )
- setDomainAxis ( )
- mapDatasetToRangeAxis ( )
- getDomainGridlinePaint ( )
- setDatasetRenderingOrder ( )
- setDomainCrosshairPaint ( )
- setRangeZeroBaselineVisible ( )
- getDrawingSupplier ( )
- setRangeAxisLocation ( )
- getRangeAxisCount ( )
- getDomainGridlineStroke ( )
- setRangeCrosshairPaint ( )
- setDomainGridlineStroke ( )
- setRangePannable ( )
- setDomainPannable ( )
- addRangeMarker ( )
- clearDomainMarkers ( )
- getDatasetCount ( )
- getLegendItems ( )
- getRangeAxisForDataset ( )
- setDomainZeroBaselineVisible ( )
- setRangeGridlineStroke ( )
- setForegroundAlpha ( )
- setInsets ( )
- getDomainCrosshairPaint ( )
- getDomainTickBandPaint ( )
- getRangeTickBandPaint ( )
- setRangeCrosshairValue ( )
- setNotify ( )
- indexOf ( )
- setRangeZeroBaselinePaint ( )
- setNoDataMessage ( )
- setBackgroundImageAlpha ( )
Related Classes
- java.text.SimpleDateFormat
- java.awt.Color
- java.awt.Font
- java.awt.Graphics2D
- java.awt.geom.Rectangle2D
- java.awt.BasicStroke
- java.awt.geom.Point2D
- java.awt.Shape
- java.awt.geom.Ellipse2D
- java.awt.Stroke
- org.jfree.chart.JFreeChart
- java.awt.geom.Line2D
- java.awt.geom.GeneralPath
- java.awt.Paint
- org.jfree.chart.ChartFactory
- java.awt.GradientPaint
- org.jfree.chart.plot.PlotOrientation
- org.jfree.chart.axis.NumberAxis
- org.jfree.chart.ChartPanel
- org.jfree.data.xy.XYSeries
- org.jfree.data.xy.XYSeriesCollection
- org.jfree.chart.renderer.xy.XYLineAndShapeRenderer
- org.jfree.data.xy.XYDataset
- org.jfree.chart.plot.CategoryPlot
- org.jfree.data.time.TimeSeriesCollection
Java Code Examples for org.jfree.chart.plot.XYPlot#setRangeZeroBaselinePaint()
The following examples show how to use
org.jfree.chart.plot.XYPlot#setRangeZeroBaselinePaint() .
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: EyeCandySixtiesChartTheme.java From jasperreports with GNU Lesser General Public License v3.0 | 5 votes |
@Override protected JFreeChart createScatterChart() throws JRException { JFreeChart jfreeChart = super.createScatterChart(); XYPlot xyPlot = (XYPlot) jfreeChart.getPlot(); xyPlot.setRangeGridlinePaint(SCATTER_GRIDLINE_COLOR); xyPlot.setRangeGridlineStroke(new BasicStroke(0.75f)); xyPlot.setDomainGridlinesVisible(true); xyPlot.setDomainGridlinePaint(SCATTER_GRIDLINE_COLOR); xyPlot.setDomainGridlineStroke(new BasicStroke(0.75f)); xyPlot.setRangeZeroBaselinePaint(ChartThemesConstants.GRAY_PAINT_134); XYLineAndShapeRenderer lineRenderer = (XYLineAndShapeRenderer)xyPlot.getRenderer(); lineRenderer.setUseFillPaint(true); JRScatterPlot scatterPlot = (JRScatterPlot) getPlot(); boolean isShowLines = scatterPlot.getShowLines() == null ? false : scatterPlot.getShowLines(); lineRenderer.setBaseLinesVisible(isShowLines); XYDataset xyDataset = xyPlot.getDataset(); if (xyDataset != null) { for (int i = 0; i < xyDataset.getSeriesCount(); i++) { lineRenderer.setSeriesOutlinePaint(i, ChartThemesConstants.TRANSPARENT_PAINT); lineRenderer.setSeriesFillPaint(i, ChartThemesConstants.EYE_CANDY_SIXTIES_GRADIENT_PAINTS.get(i)); lineRenderer.setSeriesPaint(i, ChartThemesConstants.EYE_CANDY_SIXTIES_COLORS.get(i)); //lineRenderer.setSeriesShape(i, new Ellipse2D.Double(-3, -3, 6, 6)); } } return jfreeChart; }