equalBarWidth

Specifies a value indicating whether all bars of the same series should always have the same width, or should have different widths if some points of other series are missing.

Type: Object|Boolean
Default Value: true

If values for a series are not specified or are set to zero, the bars that represent these values will be missing from the chart. To fill the empty area by extending the neighboring bars, set the equalBarWidth property to false. The bars will have a different width, but there will be no empty areas.

To set a custom width for bars, as well as the spacing between bars, assign an object to this property and specify the width and spacing properties, respectively.

Show Example:
jQuery

In this example, the series type of the chart displayed in the background is 'bar'. In the data source, the "11", "13", "17" and "18" points have one of the series values missing. The bars representing these points will not be displayed. You can specify whether to fill the empty area by extending the neighboring bars, using the equalBarWidth option. Toggle the check box to switch between the values of this option.


                                    

                                    

spacing

Specifies the spacing between bars in pixels.

Type: Number
Default Value: undefined

Show Example:
jQuery

In this example, the spacing option is set to 2.


                                    

                                    

width

Specifies an equal bar width in pixels.

Type: Number
Default Value: undefined

Show Example:
jQuery

In this example, the width option is set to 6.