Bar Chart
A category bar chart represents data items as rectangular bars. |
Public Variables (Properties)
[?]
Common component variables and variable groups: Name, Visible, Breakpoints, Variable Storage, Container Properties, Styles, Preloader, Events, Component Bindings.
Common chart variables and variable groups: Common Properties, Legend, Zoom, X and Y Axes, Coordinate Grid, Tooltip, Visualization: Basic Properties and Visualization: Bar.
Data
The Data properties group includes properties for Building Chart Datasets that are common to most charts. The following properties are specific to the Bar Chart.
Source Data
The source data table used for building custom-data-based charts.
Variable Name: | sourceData |
Records: | 0…unlimited |
Record Format:
Field Name | Field Type | Field Description |
series | String | Series with which to group the data. |
category | String | Category, analogous to the X value of the data point. |
value | Double | Value of the data, analogous to the y value. |
group | String | Indicate additional sub-grouping among categories. |
Source Data Bindings
A set of expressions used to retrieve data from Source Data's records and build the resulting chart dataset. This property only applies to charts based on custom data.
Variable Name: | dataBindings |
Records: | 1 |
Record Format:
Field Name | Field Type | Field Description | |
series | String | Expression to define the Series of the chart dataset, with the following Resolution Environment: | |
Specified by the Context setting. | |||
Value specified by the Source Data table. | |||
0 (or dynamic if series propagation is enabled) | |||
Standard variables only. | |||
category | String | Expression to define the Category of the chart dataset, with the following Resolution Environment: | |
Specified by series Context setting. | |||
Value specified by the Source Data table. | |||
0 (or dynamic if series propagation is enabled) | |||
Standard variables only. | |||
value | String | Expression to define the Value of the chart dataset, with the following Resolution Environment: | |
Specified by series Context setting. | |||
Value specified by the Source Data table. | |||
0 (or dynamic if series propagation is enabled) | |||
Standard variables only. | |||
group | String | Expression to define the Group of the chart dataset, with the following Resolution Environment: | |
Specified by series Context setting. | |||
Value specified by the Source Data table. | |||
0 (or dynamic if series propagation is enabled) | |||
Standard variables only. |
Visualization: Basic Properties
In addition to the common Visualization Basic Properties, the Bar Chart has the following unique Visualization properties.
Chart Padding
Controls the left and right chart padding. If 0, the padding is adjusted automatically.
Variable Name: | chartPadding |
Records: | 1 |
Record Format:
Field Name | Field Type | Field Description |
chartPadding | Integer | Chart Padding |
Render as Group
Group data into sub-columns according to the value of the Group and Series fields of the source data. Set as FALSE
when using Render As Stack property.
Variable Name: | renderAsGroup |
Records: | 1 |
Record Format:
Field Name | Field Type | Field Description |
renderAsGroup | Boolean | Group data according to the Group and Series fields of the source data. |
Render as Stack
Group data into a single column for each Category, with series values indicated by section color.
Variable Name: | renderAsStack |
Records: | 1 |
Record Format:
Field Name | Field Type | Field Description |
renderAsStack | Boolean |
Render as Percentage
Rather than displaying absolute values, display each Series as a percentage of the total category value.
Variable Name: | renderAsPercentage |
Records: | 1 |
Record Format:
Field Name | Field Type | Field Description |
renderAsPercentage | Boolean | Render each series as a percentage of the total category value |
Column Width Ratio
Indicate the ratio of columns to spacing between columns as a value between 0 and 1.
Variable Name: | columnWidthRatio |
Records: | 1 |
Record Format:
Field Name | Field Type | Field Description |
columnWidthRatio | Float | Ratio of columns to space between columns. |
Public Events
[?]
Common Events: Common Component Events, Changing Chart Zoom
Was this page helpful?