예제 #1
0
 public BarRenderer()
 {
   BarRenderer barRenderer = this;
   this.@base = 0.0;
   this.includeBaseInRange = true;
   this.itemMargin = 0.2;
   this.drawBarOutline = false;
   this.maximumBarWidth = 1.0;
   this.positiveItemLabelPositionFallback = (ItemLabelPosition) null;
   this.negativeItemLabelPositionFallback = (ItemLabelPosition) null;
   this.gradientPaintTransformer = (GradientPaintTransformer) new StandardGradientPaintTransformer();
   this.minimumBarLength = 0.0;
   this.setBaseLegendShape((Shape) new Rectangle2D.Double(-4.0, -4.0, 8.0, 8.0));
   this.barPainter = BarRenderer.getDefaultBarPainter();
   this.shadowsVisible = BarRenderer.getDefaultShadowsVisible();
   this.shadowPaint = (Paint) Color.gray;
   this.shadowXOffset = 4.0;
   this.shadowYOffset = 4.0;
 }
예제 #2
0
 static BarRenderer()
 {
   AbstractCategoryItemRenderer.__\u003Cclinit\u003E();
   BarRenderer.defaultBarPainter = (BarPainter) new GradientBarPainter();
   BarRenderer.defaultShadowsVisible = true;
 }
 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;
   }
 }