StyleCode Property: barchartGroups

barchartGroups

Specifies whether the barchart axis bearing the groups should be drawn to the left or to the bottom.

Applies toTypeDefault
barchartleft,bottomleft

Examples

// Example: barchart
{ barchartGroups: left }
show barchart "My Chart" a1b6 with
sum(Quantity)
group by Category



Details

When on the left, each bar has a fixed height, bars that do not fit the tile are hidden (when in full dashboard) or can be scrolled down to (in zoom).

When on the bottom, the “show plot” aspect is used instead, with the width of each bar being adjusted based on the total number of bars. There is still a limit on the total number of bars included in the tile, which cannot be controlled by StyleCode.