BarWidth

<< Click to Display Table of Contents >>

Navigation:  NinjaScript > Language Reference > Chart Style >

BarWidth

Previous page Return to chapter overview Next page

Definition

The painted width of a ChartStyle bar.  This value will updated as the ChartControl is resized.

 

Property Value

A double value representing the current width the chart bars

 

Syntax

BarWidth

 

 

Examples

ns


protected override void OnStateChange()
{
  if (State == State.SetDefaults)
  {
    Name             = "Example ChartStyle";        
    ChartStyleType   = (ChartStyleType) 52;
    BarWidth         = 1;
  }
}