Example usage for org.jfree.chart.renderer.xy XYLine3DRenderer setDefaultEntityRadius

List of usage examples for org.jfree.chart.renderer.xy XYLine3DRenderer setDefaultEntityRadius

Introduction

In this page you can find the example usage for org.jfree.chart.renderer.xy XYLine3DRenderer setDefaultEntityRadius.

Prototype

public void setDefaultEntityRadius(int radius) 

Source Link

Document

Sets the radius of the circle used for the default entity area when no area is specified.

Usage

From source file:org.jfree.chart.demo.XYLine3DRendererDemo1.java

private static JFreeChart createChart(XYDataset xydataset) {
    JFreeChart jfreechart = ChartFactory.createXYLineChart("XYLine3DRenderer Demo 1", "X", "Y", xydataset,
            PlotOrientation.VERTICAL, true, true, false);
    XYPlot xyplot = (XYPlot) jfreechart.getPlot();
    XYLine3DRenderer xyline3drenderer = new XYLine3DRenderer();
    xyline3drenderer.setWallPaint(Color.gray);
    xyline3drenderer.setXOffset(2D);// w ww.  j a v  a2  s  . c om
    xyline3drenderer.setYOffset(3D);
    xyline3drenderer.setBaseToolTipGenerator(new StandardXYToolTipGenerator());
    xyline3drenderer.setDefaultEntityRadius(6);
    xyplot.setRenderer(xyline3drenderer);
    return jfreechart;
}