Learn how to draw chart scales in the dedicated chapter of the manual
Read more about Chart Coloring
Type | Vertical Bars | Horizontal Bars |
---|---|---|
Single data | bar | barH |
Several data values | stackedBar | stackedBarH |
StackedBar and stackedBarH charts display data of several configuration objects (chart series), e.g. graphical representation of sales of three companies.
Series can be defined for all bar charts. Series with bar and barH chart differ from those of stackedBar and stackedBarH. With the former bars are placed by each other in groups, which is greater for comparison. Moreover, the legend for them allows hiding and showing the dedicated chart by a single mouse click.
Using series | |
'stackedBar'/'stackedbarH' charts |
Related sample: Bar Chart: Several Graphs in One Chart
The rules of series definition are described here.
The library provides 3 presets for Bar charts. To set one of presets you should specify the preset property for the chart:
webix.ui({
view: "chart",
type: "bar",
preset: "stick",
...
});
Related sample: Bar Chart: Style Presets
preset:"column" |
|
preset:"stick" |
|
preset:"alpha" |