EJSC.BarSeries.intervalOffset

See Also

Top  Previous  Next

 

Definition

 

float intervalOffset = 0.8

 

Description

 

Defines the spacing between the bars as a percentage of 1.  1 = bars take up the entire width available, with their sides touching.

 

Example

 

>> Make the bars take up 1/2 their available width. (i.e. more space between bars than by default)

 

var chart =  new EJSC.Chart("chart");

var bar = chart.addSeries(new EJSC.BarSeries(

   data,

   {

      intervalOffset: 0.5

   }

));