Skip to main content

Horizontal Bar Chart

Horizontal Bar Chart (BarChart) is a chart control.

Examples​

Properties​

NameTypeDefaultDescription
tooltipsboolfalseWhether to show tooltips over bars.
dataModestringdefaultThis 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​

NameTypeDefaultDescription
xnumberIndependent value of the data point, rendered along the x-axis.
ynumberDependent value of the data point, rendered along the y-axis.
legendstringLegend text for the datapoint in the chart.
colorstringColor for the legend in the chart.
xTooltipstringCallout data for x axis. legend will be used if not provided.
yTooltipstringCallout data for y axis. y will be used if not provided.