Graphics Programs Reference
In-Depth Information
FIGurE 5-33 Stacked area graph with basic coloring
I used the ColorBrewer (referenced earlier) for these colors, which sug-
gests color schemes based on criteria that you set. It's intended to choose
colors for maps but works great for general visualization, too.
Now add a new Colorencoder around line 110:
var colorPalette:ColorPalette = new ColorPalette(_reds);
vis.operators.add(new ColorEncoder(“data.max”, “nodes”,
“fillColor”, null, colorPalette));
Search WWH ::




Custom Search