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;
   }
 }
Exemplo n.º 2
0
 protected internal Plot()
 {
   base.\u002Ector();
   Plot plot = this;
   this.backgroundImageAlignment = 15;
   this.backgroundImageAlpha = 0.5f;
   this.parent = (Plot) null;
   this.insets = Plot.__\u003C\u003EDEFAULT_INSETS;
   this.backgroundPaint = Plot.__\u003C\u003EDEFAULT_BACKGROUND_PAINT;
   this.backgroundAlpha = 1f;
   this.backgroundImage = (Image) null;
   this.outlineVisible = true;
   this.outlineStroke = Plot.__\u003C\u003EDEFAULT_OUTLINE_STROKE;
   this.outlinePaint = Plot.__\u003C\u003EDEFAULT_OUTLINE_PAINT;
   this.foregroundAlpha = 1f;
   this.noDataMessage = (string) null;
   this.noDataMessageFont = new Font("SansSerif", 0, 12);
   this.noDataMessagePaint = (Paint) Color.black;
   this.drawingSupplier = (DrawingSupplier) new DefaultDrawingSupplier();
   this.notify = true;
   this.listenerList = new EventListenerList();
 }