public WaferMapPlot(WaferMapDataset dataset) : this(dataset, (WaferMapRenderer) null) { }
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); }
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; } }