Creates a Column Chart. Much of the methods are inherited from Bar. A Column Chart is a useful visualization technique to display quantitative information for different
categories that can show some progression (or regression) in the data set.
As with all other series, the Column Series must be appended in the *series* Chart array configuration. See the Chart
documentation for more information. A typical configuration object for the column series could be:
series: [{
type: 'column',
axis: 'bottom',
highlight: true,
xField: 'name',
yField: 'data1'
}]
In this configuration we set `column` as the series type, bind the values of the bars to the bottom axis, set `highlight` to true so that bars are smoothly highlighted
when hovered and bind the `xField` or category field to the data store `name` property and the `yField` as the data1 property of a store element.
Whether to set the visualization as column chart or horizontal bar chart.
Whether to set the visualization as column chart or horizontal bar chart.
The gutter space between groups of bars, as a percentage of the bar width
The gutter space between groups of bars, as a percentage of the bar width
The gutter space between single bars, as a percentage of the bar width
The gutter space between single bars, as a percentage of the bar width
An (optional) object with event callbacks. All event callbacks get the target *item* as first parameter. The callback...
An (optional) object with event callbacks. All event callbacks get the target *item* as first parameter. The callback functions are:
- itemmouseover
- itemmouseout
- itemmousedown
- itemmouseup
A function that can be overridden to set custom styling properties to each rendered element.
Passes in (sprite, recor...
A function that can be overridden to set custom styling properties to each rendered element.
Passes in (sprite, record, attributes, index, store) to the function.
An array with shadow attributes
An array with shadow attributes
Whether to show this series in the legend.
Whether to show this series in the legend.
Style properties that will override the theming series styles.
Style properties that will override the theming series styles.
The human-readable name of the series.
The human-readable name of the series.
The type of series. Set in subclasses.
The type of series. Set in subclasses.
Padding between the left/right axes and the bars
Padding between the left/right axes and the bars
Padding between the top/bottom axes and the bars
Padding between the top/bottom axes and the bars
Indicates which axis the series will bind to
Indicates which axis the series will bind to
The field used to access the x axis value from the items from the data
source.
The field used to access the x axis value from the items from the data
source.
The field used to access the y-axis value from the items from the data
source.
The field used to access the y-axis value from the items from the data
source.
Draws the series for the current chart.
Draws the series for the current chart.
For a given x/y point relative to the Surface, find a corresponding item from this
series, if any.
For Bar/Column ser...
For a given x/y point relative to the Surface, find a corresponding item from this
series, if any.
For Bar/Column series, this is the bar directly under the point.
Parameters
Returns
Returns a string with the color to be used for the series legend item.
Returns a string with the color to be used for the series legend item.
Hides all the elements in the series.
Hides all the elements in the series.
Shows all the elements in the series.
Shows all the elements in the series.