/** * Creates a new renderer for box and whisker charts. * <P> * Use -1 for the box width if you prefer the width to be calculated * automatically. * * @param boxWidth the box width. */ public XYBoxAndWhiskerRenderer(double boxWidth) { super(); this.boxWidth = boxWidth; this.boxPaint = Color.GREEN; this.fillBox = true; setDefaultToolTipGenerator(new BoxAndWhiskerXYToolTipGenerator()); }
/** * Creates a new renderer for box and whisker charts. * <P> * Use -1 for the box width if you prefer the width to be calculated * automatically. * * @param boxWidth the box width. */ public XYBoxAndWhiskerRenderer(double boxWidth) { super(); this.boxWidth = boxWidth; this.boxPaint = Color.green; this.fillBox = true; setBaseToolTipGenerator(new BoxAndWhiskerXYToolTipGenerator()); }