Series.Bar - Attributes
The Series.Bar element has the following attributes:
Attribute | Description |
---|---|
Y-Axis Data Column | (Required) Specifies the name of a datalayer column whose values will be plotted along the Y-axis. |
Bar Border Color | Sets the color of the thin border line around each bar. Enter a color by name, decimal RGB value, or hex RGB value. Prefix hex values with the pound sign, e.g. #112233. |
Bar Border Color Transparency | Specifies the transparency of the thin border line around each bar. The lowest value of 0 specifies that the background is opaque, with no transparency. At the other end of the scale, 15 specifies a completely transparent background. Use medium-level transparency to allow different chart layers to show through each other. |
Bar Border Radius | Sets the amount of rounding for bar corners, in pixels. The default value is 0 pixels, which produces square corners. |
Bar Border Thickness | Sets the thickness of the bar border lines, in pixels, when the related Bar Border Color attribute has a value. The default value is 1 pixel. |
Bar Thickness | Sets the width of the bar in pixels. If left blank, the width will be determined automatically. |
Color | Sets the bar fill color. Enter a color by name, decimal RGB value, or hex RGB value. Prefix hex values with the pound sign, e.g. #112233. |
Combine With Series ID | Set this attribute to the element ID of another series to combine it with this series in the legend. When two series are combined, by default only the first one will appear in the legend but clicking the item in the legend toggles both series to appear and disappear. Or, the value Previous can be entered to combine this series with the previous series. |
Disable Mouse Tracking |
Disables mouse tracking for the series, when set to True. This affects
tooltips and click events on graphs and points. For large datasets, this may
improve performance. The default value is False. |
Hover Brightness | Specifies the amount to change a bar's color when the mouse pointer is hovered over it. Values can be between 0 (no change) and 15 (lighter). The default value is 2. |
Legend Label | Indicates text that will be shown for this series inside the chart legend. When a value is provided, it automatically causes the legend to be displayed. |
Linked to X-Axis ID | Specifies the ID of an X-Axis element that this series should be linked to when using multiple X-axes. |
Linked to Y-Axis ID | Specifies the ID of a Y-Axis element that this series should be linked to when using multiple Y-axes. |
Negative Color | Sets the color for negative values. Enter a color by name, decimal RGB value, or hex RGB value. Prefix hex values with the pound sign, e.g. #D5F484. The default value is Red. |
Negative Color Transparency | Specifies the transparency of the Negative Color. The lowest value of 0 specifies that the background is opaque, with no transparency. At the other end of the scale, 15 specifies a completely transparent background. Use medium-level transparency to allow different chart layers to show through each other. |
Negative Threshold | Sets the positive-negative value threshold, also called the "zero level" or "base level". The default value is 0. |
Stack Group Name | Enables the grouping of multiple series in a stacked chart. Enter the same arbitrary string value in this attribute for each series to be stacked. |
Stacking | Sets the bar stacking mode. SideBySide arranges the bars beside each other, Stacked stacks the series one above the other in a single bar, while StackedPercentage stacks the series, then raises the levels to 100 percent, showing the percentage for each series' value. Overlay draws the bars on top of each other (use Transparency to let them show through). All series don't have to use the same stacking mode - they can be mixed to provide hybrid arrangements, such as two stacked and one beside them. Leave blank for no stacking. |
Transparency | Specifies the transparency of the data region fill color. The lowest value of 0 specifies that the background is opaque, with no transparency. At the other end of the scale, 15 specifies a completely transparent background. Use medium-level transparency to allow different chart layers to show through each other. |
X-Axis Data Column | Specifies the name of a datalayer column whose values will be plotted along the X-axis. |
X-Axis Data Column Type | Specifies the data type of the datalayer column named in the X-axis Data Column attribute. Options include Auto (the default), Text, Number, and DateTime. By default, X-axis data values that are DateTime type will be automatically distributed evenly across the time series. If you want to disable this behavior, set this attribute value to Text. In general, when working with a Bar chart, you'll typically want to reference your X-axis column as Text data. Bar Charts do not depict any correlation from one group of bars to the next. However, when applying a data type of Number or DateTime, the chart attempts to establish a correlation between the points on the X-axis. Since there is only a single point per bar, it improperly displays the bars. Since a Bar Chart does not have a correlation between points, using DateTime data as text will not impact your results and you can still format the X-axis to meet your desired layout. |