Constructor MultiBarSeries
MultiBarSeries(int, float, float, Attribute[])
Creates a new series of clustered bars.
public MultiBarSeries(int numberOfBarsPerCategory, float barsEvery, float spacing, Attribute[] colors = null)
Parameters
numberOfBarsPerCategory
intEach category has this many bars
barsEvery
floatHow far appart to put each category (in graph space)
spacing
floatHow much spacing between bars in a category (should be less than
barsEvery
/numberOfBarsPerCategory
)colors
Attribute[]Array of colors that define bar color in each category. Length must match
numberOfBarsPerCategory