/** Builds a HistogramGenerator not attached to any MASON simulation. */ public static HistogramGenerator buildHistogramGenerator(String title, String rangeAxisLabel) { HistogramGenerator chart = new HistogramGenerator(); if (title == null) title = ""; chart.setTitle(title); if (rangeAxisLabel == null) rangeAxisLabel = ""; chart.setYAxisLabel(rangeAxisLabel); return chart; }