Horizontal Bar Chart
Horizontal Bar Chart (BarChart
) is a chart control.
Examples​
Properties​
Name | Type | Default | Description |
---|---|---|---|
tooltips | bool | false | Whether to show tooltips over bars. |
dataMode | string | default | This property tells how to show data text on top right of bar chart. Possible values: default - show the datapoint.x value, fraction - show the fraction of datapoint.x/datapoint.y, percentage - show the percentage of (datapoint.x/datapoint.y)%. |
Child controls​
Data
control​
Serves as a container for P
(point) controls.
Child controls​
P
control​
Describes chart data point.
Properties​
Name | Type | Default | Description |
---|---|---|---|
x | number | Independent value of the data point, rendered along the x-axis. | |
y | number | Dependent value of the data point, rendered along the y-axis. | |
legend | string | Legend text for the datapoint in the chart. | |
color | string | Color for the legend in the chart. | |
xTooltip | string | Callout data for x axis. legend will be used if not provided. | |
yTooltip | string | Callout data for y axis. y will be used if not provided. |