Example #1
0
 /** Builds a BubbleChartGenerator not attached to any MASON simulation. */
 public static BubbleChartGenerator buildBubbleChartGenerator(
     String title, String rangeAxisLabel, String domainAxisLabel) {
   BubbleChartGenerator chart = new BubbleChartGenerator();
   if (title == null) title = "";
   chart.setTitle(title);
   if (rangeAxisLabel == null) rangeAxisLabel = "";
   chart.setYAxisLabel(rangeAxisLabel);
   if (domainAxisLabel == null) domainAxisLabel = "";
   chart.setXAxisLabel(domainAxisLabel);
   return chart;
 }