public SpiderWebPlot(CategoryDataset dataset, TableOrder extract) { SpiderWebPlot spiderWebPlot = this; this.webFilled = true; if (extract == null) { string str = "Null 'extract' argument."; Throwable.__\u003CsuppressFillInStackTrace\u003E(); throw new IllegalArgumentException(str); } else { this.dataset = dataset; if (dataset != null) dataset.addChangeListener((DatasetChangeListener) this); this.dataExtractOrder = extract; this.headPercent = 0.01; this.axisLabelGap = 0.1; this.axisLinePaint = (Paint) Color.black; this.axisLineStroke = (Stroke) new BasicStroke(1f); this.interiorGap = 0.25; this.startAngle = 90.0; this.direction = Rotation.__\u003C\u003ECLOCKWISE; this.maxValue = -1.0; this.seriesPaint = (Paint) null; this.seriesPaintList = new PaintList(); this.baseSeriesPaint = (Paint) null; this.seriesOutlinePaint = (Paint) null; this.seriesOutlinePaintList = new PaintList(); this.baseSeriesOutlinePaint = Plot.__\u003C\u003EDEFAULT_OUTLINE_PAINT; this.seriesOutlineStroke = (Stroke) null; this.seriesOutlineStrokeList = new StrokeList(); this.baseSeriesOutlineStroke = Plot.__\u003C\u003EDEFAULT_OUTLINE_STROKE; this.labelFont = SpiderWebPlot.__\u003C\u003EDEFAULT_LABEL_FONT; this.labelPaint = SpiderWebPlot.__\u003C\u003EDEFAULT_LABEL_PAINT; this.labelGenerator = (CategoryItemLabelGenerator) new StandardCategoryItemLabelGenerator(); this.legendItemShape = Plot.__\u003C\u003EDEFAULT_LEGEND_ITEM_CIRCLE; } }
public static JFreeChart createMultiplePieChart3D(string title, CategoryDataset dataset, TableOrder order, bool legend, bool tooltips, bool urls) { int num1 = tooltips ? 1 : 0; int num2 = urls ? 1 : 0; int num3 = legend ? 1 : 0; if (order == null) { string str = "Null 'order' argument."; Throwable.__\u003CsuppressFillInStackTrace\u003E(); throw new IllegalArgumentException(str); } else { MultiplePiePlot multiplePiePlot = new MultiplePiePlot(dataset); multiplePiePlot.setDataExtractOrder(order); multiplePiePlot.setBackgroundPaint((Paint) null); multiplePiePlot.setOutlineStroke((Stroke) null); JFreeChart.__\u003Cclinit\u003E(); JFreeChart pieChart = new JFreeChart((Plot) new PiePlot3D((PieDataset) null)); TextTitle.__\u003Cclinit\u003E(); TextTitle title1 = new TextTitle("Series Title", new Font("SansSerif", 1, 12)); title1.setPosition(RectangleEdge.__\u003C\u003EBOTTOM); pieChart.setTitle(title1); pieChart.removeLegend(); pieChart.setBackgroundPaint((Paint) null); multiplePiePlot.setPieChart(pieChart); if (num1 != 0) { StandardPieToolTipGenerator toolTipGenerator = new StandardPieToolTipGenerator(); ((PiePlot) multiplePiePlot.getPieChart().getPlot()).setToolTipGenerator((PieToolTipGenerator) toolTipGenerator); } if (num2 != 0) { StandardPieURLGenerator standardPieUrlGenerator = new StandardPieURLGenerator(); ((PiePlot) multiplePiePlot.getPieChart().getPlot()).setURLGenerator((PieURLGenerator) standardPieUrlGenerator); } JFreeChart.__\u003Cclinit\u003E(); JFreeChart jfc = new JFreeChart(title, JFreeChart.__\u003C\u003EDEFAULT_TITLE_FONT, (Plot) multiplePiePlot, num3 != 0); ChartFactory.currentTheme.apply(jfc); return jfc; } }