public StandardChartTheme(string name)
 {
   base.\u002Ector();
   StandardChartTheme standardChartTheme = this;
   this.gridBandPaint = SymbolAxis.__\u003C\u003EDEFAULT_GRID_BAND_PAINT;
   this.gridBandAlternatePaint = SymbolAxis.__\u003C\u003EDEFAULT_GRID_BAND_ALTERNATE_PAINT;
   if (name == null)
   {
     string str = "Null 'name' argument.";
     Throwable.__\u003CsuppressFillInStackTrace\u003E();
     throw new IllegalArgumentException(str);
   }
   else
   {
     this.name = name;
     this.extraLargeFont = new Font("Tahoma", 1, 20);
     this.largeFont = new Font("Tahoma", 1, 14);
     this.regularFont = new Font("Tahoma", 0, 12);
     this.smallFont = new Font("Tahoma", 0, 10);
     this.titlePaint = (Paint) Color.black;
     this.subtitlePaint = (Paint) Color.black;
     this.legendBackgroundPaint = (Paint) Color.white;
     this.legendItemPaint = (Paint) Color.darkGray;
     this.chartBackgroundPaint = (Paint) Color.white;
     this.drawingSupplier = (DrawingSupplier) new DefaultDrawingSupplier();
     this.plotBackgroundPaint = (Paint) Color.lightGray;
     this.plotOutlinePaint = (Paint) Color.black;
     this.labelLinkPaint = (Paint) Color.black;
     this.labelLinkStyle = PieLabelLinkStyle.__\u003C\u003ECUBIC_CURVE;
     this.axisOffset = new RectangleInsets(4.0, 4.0, 4.0, 4.0);
     this.domainGridlinePaint = (Paint) Color.white;
     this.rangeGridlinePaint = (Paint) Color.white;
     this.baselinePaint = (Paint) Color.black;
     this.crosshairPaint = (Paint) Color.blue;
     this.axisLabelPaint = (Paint) Color.darkGray;
     this.tickLabelPaint = (Paint) Color.darkGray;
     this.barPainter = (BarPainter) new GradientBarPainter();
     this.xyBarPainter = (XYBarPainter) new GradientXYBarPainter();
     this.shadowVisible = true;
     this.shadowPaint = (Paint) Color.gray;
     this.itemLabelPaint = (Paint) Color.black;
     this.thermometerPaint = (Paint) Color.white;
     this.wallPaint = BarRenderer3D.__\u003C\u003EDEFAULT_WALL_PAINT;
     this.errorIndicatorPaint = (Paint) Color.black;
   }
 }
Esempio 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;
 }