plotOptions.bar

Extends plotOptions.column

borderColor : Color "#FFFFFF"
The color of the border surronding each column or bar. Defaults to "#FFFFFF".
borderRadius : Number 0
The corner radius of the border surronding each column or bar. Defaults to 0.
borderWidth : Number 1
The width of the border surronding each column or bar. Defaults to 1.
colorByPoint : Boolean false 2.0
When using automatic point colors pulled from the options.colors collection, this option determines whether the chart should receive one color per series or one color per point. Defaults to false.
groupPadding : Number 0.2
Padding between each value groups, in x axis units. Defaults to 0.2.
minPointLength : Number 0
The minimal height for a column or width for a bar. By default, 0 values are not shown. To visualize a 0 (or close to zero) point, set the minimal point length to a pixel value like 3. In stacked column charts, minPointLength might not be respected for tightly packed values. Defaults to 0.
pointPadding : Number 0.1
Padding between each column or bar, in x axis units. Defaults to 0.1.
pointWidth : Number null 1.2.5
A pixel value specifying a fixed width for each column or bar. When null, the width is calculated from the pointPadding and groupPadding. Defaults to null.
allowPointSelect : Boolean false Since 1.2.0
Allow this series' points to be selected by clicking on the markers, bars or pie slices. Defaults to false.
Try it: Line, column, pie
animation : Boolean true
Enable or disable the initial animation when a series is displayed. Since version 2.1, the animation can be set as a configuration object. Please note that this option only applies to the initial animation of the series itself. For other animations, see #chart => animation and the animation parameter under the API methods. The following properties are supported:
duration
The duration of the animation in milliseconds.
easing
When using jQuery as the general framework, the easing can be set to linear or swing. More easing functions are available with the use of jQuery plug-ins, most notably the jQuery UI suite. See the jQuery docs. When using MooToos as the general framework, use the property name transition instead of easing.
Defaults to true.
color : String
The main color or the series. In line type series it applies to the line and the point markers unless otherwise specified. In bar type series it applies to the bars unless a color is specified per point. The default value is pulled from the options.colors array.
connectNulls : Boolean false
Whether to connect a graph line across null points. Defaults to false.
cursor : String ''
You can set the cursor to "pointer" if you have click events attached to the series, to signal to the user that the points and lines can be clicked. Defaults to ''.
Try it: Pointer cursor on line graph, on columns, on scatter markers
dashStyle : String null 2.1
A name for the dash style to use for the graph. Applies only to series type having a graph, like line, spline, area and scatter in case it has a lineWidth. The value for the dashStyle include:
  • Solid
  • ShortDash
  • ShortDot
  • ShortDashDot
  • ShortDashDotDot
  • Dot
  • Dash
  • LongDash
  • DashDot
  • LongDashDot
  • LongDashDotDot
Defaults to null.
dataLabels : plotOptions.series.dataLabels
Defines the appearance of the data labels, static labels for each point.
enableMouseTracking : Boolean true
Enable or disable the mouse tracking for a specific series. This includes point tooltips and click events on graphs and points. For large datasets it improves performance. Defaults to true.
events : plotOptions.series.events
Event listeners for the series.
id : String null Since 1.2.0
An id for the series. This can be used after render time to get a pointer to the series object through chart.get(). Defaults to null.
lineWidth : Number 2
Pixel with of the graph line. Defaults to 2.
marker : plotOptions.series.marker
Defines the appearance of the point markers.
point : plotOptions.series.point
pointStart : Number 0
If no x values are given for the points in a series, pointStart defines on what value to start. For example, if a series contains one yearly value starting from 1945, set pointStart to 1945. Defaults to 0.
Try it: Linear, datetime X axis
pointInterval : Number 1

If no x values are given for the points in a series, pointInterval defines the interval of the x values. For example, if a series contains one value every decade starting from year 0, set pointInterval to 10.

Defaults to 1.
selected : Boolean false Since 1.2.0
Whether to select the series initially. If showCheckbox is true, the checkbox next to the series name will be checked for a selected series. Defaults to false.
shadow : Boolean true
Whether to apply a drop shadow to the graph line. Defaults to true.
showCheckbox : Boolean false Since 1.2.0
If true, a checkbox is displayed next to the legend item to allow selecting the series. The state of the checkbox is determined by the selected option. Defaults to false.
showInLegend : Boolean true
Whether to display this particular series or series type in the legend. Defaults to true.
stacking : String null
Whether to stack the values of each series on top of each other. Possible values are null to disable, "normal" to stack by value or "percent". Defaults to null.
Try it: Line, column, bar, area with "normal" stacking. Line, column, bar, area with "percent" stacking.
states : plotOptions.series.states
A wrapper object for all the series options in specific states.
stickyTracking : Boolean true 2.0
Sticky tracking of mouse events. When true, the mouseOut event on a series isn't triggered until the mouse moves over another series, or out of the plot area. When false, the mouseOut event on a series is triggered when the mouse leaves the area around the series' graph or markers. This also implies the tooltip. When stickyTracking is false, the tooltip will be hidden when moving the mouse between series. Defaults to true.
visible : Boolean true
Set the initial visibility of the series. Defaults to true.
zIndex : Number null 2.1
Define the z index of the series. Defaults to null.