示例#1
0
 public WaferMapPlot(WaferMapDataset dataset)
   : this(dataset, (WaferMapRenderer) null)
 {
 }
示例#2
0
 public WaferMapPlot(WaferMapDataset dataset, WaferMapRenderer renderer)
 {
   WaferMapPlot waferMapPlot = this;
   this.orientation = PlotOrientation.__\u003C\u003EVERTICAL;
   this.dataset = dataset;
   if (dataset != null)
     dataset.addChangeListener((DatasetChangeListener) this);
   this.renderer = renderer;
   if (renderer == null)
     return;
   renderer.setPlot(this);
   renderer.addChangeListener((RendererChangeListener) this);
 }
示例#3
0
 public static JFreeChart createWaferMapChart(string title, WaferMapDataset dataset, PlotOrientation orientation, bool legend, bool tooltips, bool urls)
 {
   int num = legend ? 1 : 0;
   if (orientation == null)
   {
     string str = "Null 'orientation' argument.";
     Throwable.__\u003CsuppressFillInStackTrace\u003E();
     throw new IllegalArgumentException(str);
   }
   else
   {
     WaferMapPlot waferMapPlot = new WaferMapPlot(dataset);
     WaferMapRenderer renderer = new WaferMapRenderer();
     waferMapPlot.setRenderer(renderer);
     JFreeChart.__\u003Cclinit\u003E();
     JFreeChart jfc = new JFreeChart(title, JFreeChart.__\u003C\u003EDEFAULT_TITLE_FONT, (Plot) waferMapPlot, num != 0);
     ChartFactory.currentTheme.apply(jfc);
     return jfc;
   }
 }