Ejemplo n.º 1
0
 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;
   }
 }
Ejemplo n.º 2
0
 public PiePlot(PieDataset dataset)
 {
   PiePlot piePlot = this;
   this.shadowPaint = (Paint) Color.gray;
   this.shadowXOffset = 4.0;
   this.shadowYOffset = 4.0;
   this.simpleLabels = true;
   this.maximumLabelWidth = 0.14;
   this.labelGap = 0.025;
   this.labelLinkStyle = PieLabelLinkStyle.__\u003C\u003ESTANDARD;
   this.labelLinkMargin = 0.025;
   this.labelLinkPaint = (Paint) Color.black;
   this.labelLinkStroke = (Stroke) new BasicStroke(0.5f);
   this.dataset = dataset;
   if (dataset != null)
     dataset.addChangeListener((DatasetChangeListener) this);
   this.pieIndex = 0;
   this.interiorGap = 0.08;
   this.circular = true;
   this.startAngle = 90.0;
   this.direction = Rotation.__\u003C\u003ECLOCKWISE;
   this.minimumArcAngleToDraw = 1E-05;
   this.sectionPaint = (Paint) null;
   this.sectionPaintMap = new PaintMap();
   this.baseSectionPaint = (Paint) Color.gray;
   this.autoPopulateSectionPaint = true;
   this.sectionOutlinesVisible = true;
   this.sectionOutlinePaint = (Paint) null;
   this.sectionOutlinePaintMap = new PaintMap();
   this.baseSectionOutlinePaint = Plot.__\u003C\u003EDEFAULT_OUTLINE_PAINT;
   this.autoPopulateSectionOutlinePaint = false;
   this.sectionOutlineStroke = (Stroke) null;
   this.sectionOutlineStrokeMap = new StrokeMap();
   this.baseSectionOutlineStroke = Plot.__\u003C\u003EDEFAULT_OUTLINE_STROKE;
   this.autoPopulateSectionOutlineStroke = false;
   this.explodePercentages = (Map) new TreeMap();
   this.labelGenerator = (PieSectionLabelGenerator) new StandardPieSectionLabelGenerator();
   this.labelFont = PiePlot.__\u003C\u003EDEFAULT_LABEL_FONT;
   this.labelPaint = PiePlot.__\u003C\u003EDEFAULT_LABEL_PAINT;
   this.labelBackgroundPaint = PiePlot.__\u003C\u003EDEFAULT_LABEL_BACKGROUND_PAINT;
   this.labelOutlinePaint = PiePlot.__\u003C\u003EDEFAULT_LABEL_OUTLINE_PAINT;
   this.labelOutlineStroke = PiePlot.__\u003C\u003EDEFAULT_LABEL_OUTLINE_STROKE;
   this.labelShadowPaint = PiePlot.__\u003C\u003EDEFAULT_LABEL_SHADOW_PAINT;
   this.labelLinksVisible = true;
   this.labelDistributor = (AbstractPieLabelDistributor) new PieLabelDistributor(0);
   this.simpleLabels = false;
   RectangleInsets.__\u003Cclinit\u003E();
   this.simpleLabelOffset = new RectangleInsets(UnitType.__\u003C\u003ERELATIVE, 0.18, 0.18, 0.18, 0.18);
   this.labelPadding = new RectangleInsets(2.0, 2.0, 2.0, 2.0);
   this.toolTipGenerator = (PieToolTipGenerator) null;
   this.urlGenerator = (PieURLGenerator) null;
   this.legendLabelGenerator = (PieSectionLabelGenerator) new StandardPieSectionLabelGenerator();
   this.legendLabelToolTipGenerator = (PieSectionLabelGenerator) null;
   this.legendLabelURLGenerator = (PieURLGenerator) null;
   this.legendItemShape = Plot.__\u003C\u003EDEFAULT_LEGEND_ITEM_CIRCLE;
   this.ignoreNullValues = false;
   this.ignoreZeroValues = false;
 }