Still have questions?
Contact support
You are looking at an outdated 7.10.0 version of this document. Switch to the 7.14.0 version to see the up to date information.

Range Column/Bar chart


The Range Column/Bar charts displays a range of data by plotting two Y values per data point. Each Y value used is drawn as the upper, and lower bounds of a column/bar.

Sometimes range charts are referred as "floating" column/bar charts. Some data may look very nice and are easily understood in this form, in which the column floats in the chart, spanning a region from the minimum value to the maximum value.

Also you can create Waterfall charts - this type is a special type of Floating Column Charts. A typical waterfall chart shows how an initial value is increasing and decreasing by a series of intermediate values, leading to a final value.


As range bar charts have to define lower and upper bound of bars, you have to specify these two values using "low" and "high" parameters.

Also "RangeBar" series type should be specified.

        { high: 0.6, low: 6.3},
        { high: 0.7, low: 6.1},
        { high: 1.9, low: 8.5}

Temperature Range Chart Sample

This sample shows how JavaScript range bars can be used to chart temperature averages, the data is taken from UK average weather statistics from 1971 to 2000:

JsFiddle Playground

Waterfall Chart Sample

In the sample below we formatted start and end values, here we will colorize chart as we need. Here it is - a Waterfall chart is displayed.

JsFiddle Playground
3D Range Bar

Along with common versions of range bars and columns you can use 3d version of these charts. Call .bar3d() to use 3d bar or .column3d() if you desire to visualize your data using 3D column chart.

var chart = anychart.bar3d();
var series1 = chart.bar3d(dataSet1);"Sales 2009");
var series2 = chart.bar3d(dataSet2);"Sales 2010");
var series3 = chart.bar3d(dataSet3);"Sales 2011");

Sample not available!




All range charts are configured and tuned almost the same way as usual Bar or Column charts, with the only difference: as we have to tell a starting and an ending points to Y-axis, we have two tooltips, two labels and two markers.

So, to configure them we define chart as chart.rangeBar node and style>. barseries> contains point> and nodes that hold tooltip, label and marker settings for the starting and the ending points.

For example, we want to change markers to "Star" for all range bar series on the chart, for both start and end:

XML Syntax XML Code Plain code 01 barseries> 02 03

<marker_settings enabled="True"> 
  <marker type="Star5" size="20" /> 
06 07 08
<marker_settings enabled="True"> 
  <marker type="Star5" size="20" /> 
12 barseries> Here is the result of application of these settings to the waterfall chart sample data:

Live Sample: Sample Range chart - Waterfall chart with markers

to top

Some range bar settings can be moved to a style definition, and this style can be applied to the certain point - not a series.

Style named "Balance" definition may look like that:

XML Syntax XML Code Plain code 01 barstyle name=Starring> 02 03 04 barstyle> To apply this style to the certain point we specify its name in it:

XML Syntax XML Code Plain code 01 And again, here is a sample resulting chart:

Live Sample: Sample Range chart - Waterfall chart with style –>