예제 #1
0
 public virtual void setPlot(WaferMapPlot plot)
 {
   this.plot = plot;
   this.makePaintIndex();
 }
예제 #2
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;
   }
 }