protected internal AbstractCategoryItemRenderer()
 {
   AbstractCategoryItemRenderer categoryItemRenderer = this;
   this.itemLabelGenerator = (CategoryItemLabelGenerator) null;
   this.itemLabelGeneratorList = new ObjectList();
   this.toolTipGenerator = (CategoryToolTipGenerator) null;
   this.toolTipGeneratorList = new ObjectList();
   this.itemURLGenerator = (CategoryURLGenerator) null;
   this.itemURLGeneratorList = new ObjectList();
   this.legendItemLabelGenerator = (CategorySeriesLabelGenerator) new StandardCategorySeriesLabelGenerator();
 }
Exemple #2
0
 public DialPlot(ValueDataset dataset)
 {
   DialPlot dialPlot = this;
   this.background = (DialLayer) null;
   this.cap = (DialLayer) null;
   this.dialFrame = (DialFrame) new ArcDialFrame();
   this.datasets = new ObjectList();
   if (dataset != null)
     this.setDataset(dataset);
   this.scales = new ObjectList();
   this.datasetToScaleMap = new ObjectList();
   this.layers = (List) new ArrayList();
   this.pointers = (List) new ArrayList();
   this.viewX = 0.0;
   this.viewY = 0.0;
   this.viewW = 1.0;
   this.viewH = 1.0;
 }
 public CategoryPlot(CategoryDataset dataset, CategoryAxis domainAxis, ValueAxis rangeAxis, CategoryItemRenderer renderer)
 {
   CategoryPlot categoryPlot = this;
   this.renderingOrder = DatasetRenderingOrder.__\u003C\u003EREVERSE;
   this.columnRenderingOrder = SortOrder.__\u003C\u003EASCENDING;
   this.rowRenderingOrder = SortOrder.__\u003C\u003EASCENDING;
   this.rangeCrosshairLockedOnData = true;
   this.orientation = PlotOrientation.__\u003C\u003EVERTICAL;
   this.domainAxes = new ObjectList();
   this.domainAxisLocations = new ObjectList();
   this.rangeAxes = new ObjectList();
   this.rangeAxisLocations = new ObjectList();
   this.datasetToDomainAxesMap = new TreeMap();
   this.datasetToRangeAxesMap = new TreeMap();
   this.renderers = new ObjectList();
   this.datasets = new ObjectList();
   this.datasets.set(0, (object) dataset);
   if (dataset != null)
     dataset.addChangeListener((DatasetChangeListener) this);
   this.axisOffset = RectangleInsets.__\u003C\u003EZERO_INSETS;
   this.setDomainAxisLocation(AxisLocation.__\u003C\u003EBOTTOM_OR_LEFT, false);
   this.setRangeAxisLocation(AxisLocation.__\u003C\u003ETOP_OR_LEFT, false);
   this.renderers.set(0, (object) renderer);
   if (renderer != null)
   {
     renderer.setPlot(this);
     renderer.addChangeListener((RendererChangeListener) this);
   }
   this.domainAxes.set(0, (object) domainAxis);
   this.mapDatasetToDomainAxis(0, 0);
   if (domainAxis != null)
   {
     domainAxis.setPlot((Plot) this);
     domainAxis.addChangeListener((AxisChangeListener) this);
   }
   this.drawSharedDomainAxis = false;
   this.rangeAxes.set(0, (object) rangeAxis);
   this.mapDatasetToRangeAxis(0, 0);
   if (rangeAxis != null)
   {
     rangeAxis.setPlot((Plot) this);
     rangeAxis.addChangeListener((AxisChangeListener) this);
   }
   this.configureDomainAxes();
   this.configureRangeAxes();
   this.domainGridlinesVisible = false;
   this.domainGridlinePosition = CategoryAnchor.__\u003C\u003EMIDDLE;
   this.domainGridlineStroke = CategoryPlot.__\u003C\u003EDEFAULT_GRIDLINE_STROKE;
   this.domainGridlinePaint = CategoryPlot.__\u003C\u003EDEFAULT_GRIDLINE_PAINT;
   this.rangeZeroBaselineVisible = false;
   this.rangeZeroBaselinePaint = (Paint) Color.black;
   this.rangeZeroBaselineStroke = (Stroke) new BasicStroke(0.5f);
   this.rangeGridlinesVisible = true;
   this.rangeGridlineStroke = CategoryPlot.__\u003C\u003EDEFAULT_GRIDLINE_STROKE;
   this.rangeGridlinePaint = CategoryPlot.__\u003C\u003EDEFAULT_GRIDLINE_PAINT;
   this.rangeMinorGridlinesVisible = false;
   this.rangeMinorGridlineStroke = CategoryPlot.__\u003C\u003EDEFAULT_GRIDLINE_STROKE;
   this.rangeMinorGridlinePaint = (Paint) Color.white;
   this.foregroundDomainMarkers = (Map) new HashMap();
   this.backgroundDomainMarkers = (Map) new HashMap();
   this.foregroundRangeMarkers = (Map) new HashMap();
   this.backgroundRangeMarkers = (Map) new HashMap();
   this.anchorValue = 0.0;
   this.domainCrosshairVisible = false;
   this.domainCrosshairStroke = CategoryPlot.__\u003C\u003EDEFAULT_CROSSHAIR_STROKE;
   this.domainCrosshairPaint = CategoryPlot.__\u003C\u003EDEFAULT_CROSSHAIR_PAINT;
   this.rangeCrosshairVisible = false;
   this.rangeCrosshairValue = 0.0;
   this.rangeCrosshairStroke = CategoryPlot.__\u003C\u003EDEFAULT_CROSSHAIR_STROKE;
   this.rangeCrosshairPaint = CategoryPlot.__\u003C\u003EDEFAULT_CROSSHAIR_PAINT;
   this.annotations = (List) new ArrayList();
   this.rangePannable = false;
 }
Exemple #4
0
 public XYPlot(XYDataset dataset, ValueAxis domainAxis, ValueAxis rangeAxis, XYItemRenderer renderer)
 {
   XYPlot xyPlot = this;
   this.quadrantOrigin = (Point2D) new Point2D.Double(0.0, 0.0);
   Paint[] paintArray = new Paint[4];
   int index1 = 0;
   // ISSUE: variable of the null type
   __Null local1 = null;
   paintArray[index1] = (Paint) local1;
   int index2 = 1;
   // ISSUE: variable of the null type
   __Null local2 = null;
   paintArray[index2] = (Paint) local2;
   int index3 = 2;
   // ISSUE: variable of the null type
   __Null local3 = null;
   paintArray[index3] = (Paint) local3;
   int index4 = 3;
   // ISSUE: variable of the null type
   __Null local4 = null;
   paintArray[index4] = (Paint) local4;
   this.quadrantPaint = paintArray;
   this.domainCrosshairLockedOnData = true;
   this.rangeCrosshairLockedOnData = true;
   this.datasetRenderingOrder = DatasetRenderingOrder.__\u003C\u003EREVERSE;
   this.seriesRenderingOrder = SeriesRenderingOrder.__\u003C\u003EREVERSE;
   this.orientation = PlotOrientation.__\u003C\u003EVERTICAL;
   this.weight = 1;
   this.axisOffset = RectangleInsets.__\u003C\u003EZERO_INSETS;
   this.domainAxes = new ObjectList();
   this.domainAxisLocations = new ObjectList();
   this.foregroundDomainMarkers = (Map) new HashMap();
   this.backgroundDomainMarkers = (Map) new HashMap();
   this.rangeAxes = new ObjectList();
   this.rangeAxisLocations = new ObjectList();
   this.foregroundRangeMarkers = (Map) new HashMap();
   this.backgroundRangeMarkers = (Map) new HashMap();
   this.datasets = new ObjectList();
   this.renderers = new ObjectList();
   this.datasetToDomainAxesMap = (Map) new TreeMap();
   this.datasetToRangeAxesMap = (Map) new TreeMap();
   this.annotations = (List) new ArrayList();
   this.datasets.set(0, (object) dataset);
   if (dataset != null)
     dataset.addChangeListener((DatasetChangeListener) this);
   this.renderers.set(0, (object) renderer);
   if (renderer != null)
   {
     renderer.setPlot(this);
     renderer.addChangeListener((RendererChangeListener) this);
   }
   this.domainAxes.set(0, (object) domainAxis);
   this.mapDatasetToDomainAxis(0, 0);
   if (domainAxis != null)
   {
     domainAxis.setPlot((Plot) this);
     domainAxis.addChangeListener((AxisChangeListener) this);
   }
   this.domainAxisLocations.set(0, (object) AxisLocation.__\u003C\u003EBOTTOM_OR_LEFT);
   this.rangeAxes.set(0, (object) rangeAxis);
   this.mapDatasetToRangeAxis(0, 0);
   if (rangeAxis != null)
   {
     rangeAxis.setPlot((Plot) this);
     rangeAxis.addChangeListener((AxisChangeListener) this);
   }
   this.rangeAxisLocations.set(0, (object) AxisLocation.__\u003C\u003EBOTTOM_OR_LEFT);
   this.configureDomainAxes();
   this.configureRangeAxes();
   this.domainGridlinesVisible = true;
   this.domainGridlineStroke = XYPlot.__\u003C\u003EDEFAULT_GRIDLINE_STROKE;
   this.domainGridlinePaint = XYPlot.__\u003C\u003EDEFAULT_GRIDLINE_PAINT;
   this.domainMinorGridlinesVisible = false;
   this.domainMinorGridlineStroke = XYPlot.__\u003C\u003EDEFAULT_GRIDLINE_STROKE;
   this.domainMinorGridlinePaint = (Paint) Color.white;
   this.domainZeroBaselineVisible = false;
   this.domainZeroBaselinePaint = (Paint) Color.black;
   this.domainZeroBaselineStroke = (Stroke) new BasicStroke(0.5f);
   this.rangeGridlinesVisible = true;
   this.rangeGridlineStroke = XYPlot.__\u003C\u003EDEFAULT_GRIDLINE_STROKE;
   this.rangeGridlinePaint = XYPlot.__\u003C\u003EDEFAULT_GRIDLINE_PAINT;
   this.rangeMinorGridlinesVisible = false;
   this.rangeMinorGridlineStroke = XYPlot.__\u003C\u003EDEFAULT_GRIDLINE_STROKE;
   this.rangeMinorGridlinePaint = (Paint) Color.white;
   this.rangeZeroBaselineVisible = false;
   this.rangeZeroBaselinePaint = (Paint) Color.black;
   this.rangeZeroBaselineStroke = (Stroke) new BasicStroke(0.5f);
   this.domainCrosshairVisible = false;
   this.domainCrosshairValue = 0.0;
   this.domainCrosshairStroke = XYPlot.__\u003C\u003EDEFAULT_CROSSHAIR_STROKE;
   this.domainCrosshairPaint = XYPlot.__\u003C\u003EDEFAULT_CROSSHAIR_PAINT;
   this.rangeCrosshairVisible = false;
   this.rangeCrosshairValue = 0.0;
   this.rangeCrosshairStroke = XYPlot.__\u003C\u003EDEFAULT_CROSSHAIR_STROKE;
   this.rangeCrosshairPaint = XYPlot.__\u003C\u003EDEFAULT_CROSSHAIR_PAINT;
 }
 public LayeredBarRenderer()
 {
   LayeredBarRenderer layeredBarRenderer = this;
   this.seriesBarWidthList = new ObjectList();
 }
 public AbstractRenderer()
 {
   base.\u002Ector();
   AbstractRenderer abstractRenderer = this;
   this.itemLabelAnchorOffset = 2.0;
   this.dataBoundsIncludesVisibleSeriesOnly = true;
   this.seriesVisible = (Boolean) null;
   this.seriesVisibleList = new BooleanList();
   this.baseSeriesVisible = true;
   this.seriesVisibleInLegend = (Boolean) null;
   this.seriesVisibleInLegendList = new BooleanList();
   this.baseSeriesVisibleInLegend = true;
   this.paint = (Paint) null;
   this.paintList = new PaintList();
   this.basePaint = AbstractRenderer.__\u003C\u003EDEFAULT_PAINT;
   this.autoPopulateSeriesPaint = true;
   this.fillPaint = (Paint) null;
   this.fillPaintList = new PaintList();
   this.baseFillPaint = (Paint) Color.white;
   this.autoPopulateSeriesFillPaint = false;
   this.outlinePaint = (Paint) null;
   this.outlinePaintList = new PaintList();
   this.baseOutlinePaint = AbstractRenderer.__\u003C\u003EDEFAULT_OUTLINE_PAINT;
   this.autoPopulateSeriesOutlinePaint = false;
   this.stroke = (Stroke) null;
   this.strokeList = new StrokeList();
   this.baseStroke = AbstractRenderer.__\u003C\u003EDEFAULT_STROKE;
   this.autoPopulateSeriesStroke = true;
   this.outlineStroke = (Stroke) null;
   this.outlineStrokeList = new StrokeList();
   this.baseOutlineStroke = AbstractRenderer.__\u003C\u003EDEFAULT_OUTLINE_STROKE;
   this.autoPopulateSeriesOutlineStroke = false;
   this.shape = (Shape) null;
   this.shapeList = new ShapeList();
   this.baseShape = AbstractRenderer.__\u003C\u003EDEFAULT_SHAPE;
   this.autoPopulateSeriesShape = true;
   this.itemLabelsVisible = (Boolean) null;
   this.itemLabelsVisibleList = new BooleanList();
   this.baseItemLabelsVisible = (Boolean) Boolean.FALSE;
   this.itemLabelFont = (Font) null;
   this.itemLabelFontList = new ObjectList();
   this.baseItemLabelFont = new Font("SansSerif", 0, 10);
   this.itemLabelPaint = (Paint) null;
   this.itemLabelPaintList = new PaintList();
   this.baseItemLabelPaint = (Paint) Color.black;
   this.positiveItemLabelPosition = (ItemLabelPosition) null;
   this.positiveItemLabelPositionList = new ObjectList();
   this.basePositiveItemLabelPosition = new ItemLabelPosition(ItemLabelAnchor.__\u003C\u003EOUTSIDE12, TextAnchor.__\u003C\u003EBOTTOM_CENTER);
   this.negativeItemLabelPosition = (ItemLabelPosition) null;
   this.negativeItemLabelPositionList = new ObjectList();
   this.baseNegativeItemLabelPosition = new ItemLabelPosition(ItemLabelAnchor.__\u003C\u003EOUTSIDE6, TextAnchor.__\u003C\u003ETOP_CENTER);
   this.createEntities = (Boolean) null;
   this.createEntitiesList = new BooleanList();
   this.baseCreateEntities = true;
   this.defaultEntityRadius = 3;
   this.legendShape = new ShapeList();
   this.baseLegendShape = (Shape) null;
   this.legendTextFont = new ObjectList();
   this.baseLegendTextFont = (Font) null;
   this.legendTextPaint = new PaintList();
   this.baseLegendTextPaint = (Paint) null;
   this.listenerList = new EventListenerList();
 }
 public StandardPieSectionLabelGenerator(string labelFormat, NumberFormat numberFormat, NumberFormat percentFormat)
   : base(labelFormat, numberFormat, percentFormat)
 {
   StandardPieSectionLabelGenerator sectionLabelGenerator = this;
   this.attributedLabels = new ObjectList();
 }