// dems = blue, reps = red, other = gray
int[] palette = new int[] {
ColorLib.rgb(150,150,255), ColorLib.rgb(255,150,150),
ColorLib.rgb(180,180,180)
};
DataColorAction color = new DataColorAction(group, "Party",
Constants.ORDINAL, VisualItem.STROKECOLOR, palette);
int[] shapes = new int[]
{ Constants.SHAPE_RECTANGLE, Constants.SHAPE_DIAMOND };
DataShapeAction shape = new DataShapeAction(group, "Senate", shapes);