Polished the Multi-Scatter Graph a Bit

BKit.jpg

I put a few finishing touches on the multi-scatter graph today. It was pretty much done, but I wanted to give it the ability to read the initial selections for the x-axis column as well as any y-axis columns from the applet PARAM tags. With that, the developers that asked for this can pretty much put together everything they need.

The new applet PARAM tags are pretty simple:

  • defaultXAxis - this is the name of the column that is the initial selection for the x-axis.
  • defaultYAxis - this is the encoded string of a Vector of Strings that are the column names to be placed on the y-axis initially.

where the encoded string is the output of the call:

  Vector    v = new Vector();
  ...
  String    str = BKTable.generateCodeFromValues(v);

where the Vector v is populated with the names of the columns to place on the graph.

GoodMultiScatterGraph

I have to say it looks good and works well. I've handed it off to the developers that want to use it and supplied them with an example HTML file where it's used.