BarWidthUI

View as Markdown

Definition

The Bar width value which displays on the UI. This value will be rounded from the internal BarWidth property which is updated as the ChartControl is resized.

Property Value

An int value representing the width of the chart bars which can be set by a user.

Syntax

BarWidthUI

Examples

1protected override void OnRender(ChartControl chartControl, ChartScale chartScale, ChartBars chartBars)
2{
3 int barWidth = GetBarPaintWidth(BarWidthUI);
4}