For the complete documentation index, see llms.txt. This page is also available as Markdown.

Advanced bar chart

The Advanced Bar Chart displays data as a series of rectangular bars with heights or lengths proportional to the represented values, which can also be shown in 3D. It is possible to create more complex charts than with Basic Bar Charts. For example, the Category Property is not limited to some data types and more visual properties are available.

Usage

Advanced Bar Charts are used to compare values.

Examples

Showroom: Advanced Bar Charts example, with its setup in Appfarm Create (register for access).

Properties

Property
Description

Data source

Select a data source to display as a chart.

Filter

Apply a filter to the selected data source.

Conditional filters

Create conditional filters to apply to the selected data source.

Category property

Select a data source to display as X Axis in the chart.

Hide empty

Visible when Category property is selected.

Enable to hide categories without content.

Tristate

Visible when Show legend is enabled and the Category property is of data type Boolean.

By default, false and unset values are treated the same. Enable to treat unset values as a separate category.

Data grouping

Visible when Category property of data type Datetime is selected.

Add one or more groupings. Each grouping has a Group by dimension to group the data by, a Custom format to override the date format (check momentjs for a complete reference), and an Enabled setting. The first enabled grouping is used. If no grouping is enabled, all objects are displayed in the order given by the data source.

Value property

Select a data source to aggregate the data on. If no data source is selected, count will be used by default.

Aggregation

Visible when Value property is selected.

Select one of the functions Count, Sum, Average, Median, Minimum or Maximum to aggregate the data on.

Show uncategorized

Visible when Show legend is enabled and the Category property is of data type Datetime, Enum, String or Reference (or Boolean with Tristate).

Enable to show uncategorized data as a separate category.

Default name

Read-only when a Dataset property is selected or Static datasets is enabled.

Enter a default name for one dataset. If no dataset property is selected, only one dataset will be shown.

Dataset property

Read-only when no Data source is selected or Static datasets is enabled.

Select a data source to split the data into datasets based on this property. If no data source is selected, all the data will be treated as a single dataset.

Color value

Visible when a Dataset property that is not an Enumerated Type is selected (for example Boolean, Integer, Duration or Reference).

Set the dataset color from a data source of type Enum Type.

Use enum colors

Visible when Dataset property of type Enumerated Type is selected.

Enable to use the colors defined in each Enum Value.

Hide empty (Datasets)

Enable to hide a dataset that has no data in any category.

Datasets

Visible when the Dataset property is a reference.

Select the data source that holds the referenced objects, so they can be used as datasets.

Display value

Visible when Datasets is set.

Select a property of the dataset data source to display for each dataset.

Limit datasets

Visible when Dataset property of type Enumerated Type is selected.

Enable to limit the dataset property by one or more Enum Values.

Stack datasets

Visible when a Dataset property is selected or Static datasets is enabled.

Select None (default), Normal or To 100% to stack the datasets.

Static datasets

Only visible when Dataset property is not defined.

Enable to use static datasets instead of defining a dataset property.

Dataset name

Visible when Static datasets is enabled.

Enter a static name for the dataset or bind it to a data source or function.

Filter

Visible when Static datasets is enabled.

Apply a filter to the selected data source.

Value override

Visible when Static datasets is enabled.

Override the value if the value used for the dataset is stored in another property than the main value property.

Color

Visible when Static datasets is enabled.

Define a color for the dataset.

Disable gradient

Enable to lighten up the color value.

3D

Enable to display the chart in 3D. When enabled, set Alpha, Beta, Depth and Column depth.

Alpha

Visible when 3D is enabled.

Set the vertical viewing angle, from 0 to 45. Default is 15.

Beta

Visible when 3D is enabled.

Set the horizontal viewing angle, from -45 to 45. Default is 15.

Depth

Visible when 3D is enabled.

Set the depth of the chart, from 20 to 100. Default is 50.

Column depth

Visible when 3D is enabled.

Set the depth of the columns, from 20 to 100. Default is 25.

Title

Enter a static title or bind it to a data source, function, date now or date today.

Subtitle

Enter a static title or bind it to a data source, function, date now or date today.

Show legend

Enable to show a legend.

Legend position

Visible when Show legend is enabled.

Position the legend on the top, left, bottom or right side of the chart.

Disable animation

Enable to stop animation of the chart.

Sort by data

Enable to sort the categories by ascending value. To sort by descending value, also enable Reverse axis on the Category Axis (X).

Zoom type

Define if the X Axis, Y Axis or both should be zoomable. By default, None is selected.

Show data labels

Enable to show data labels above each data point.

Label decimals

Visible when Show data labels is enabled.

Define decimals to override the number of decimals shown in the data labels.

No hover

Enable to turn off hover effects, tooltips and click events on the chart's series. On series click then no longer runs.

Tooltip decimals

Define decimals to override the number of decimals shown for the y value in the tooltip.

Polar

Enable to transform the chart into the polar coordinate system. The chart is then displayed as a polar/radar chart.

Invert axes

Enable to invert both X Axis and Y Axis with each other.

Axis title

Enter a static title or bind it to a data source, function, date now or date today.

Axis type

Select a type for the axis: Auto, Linear, Logarithmic, Datetime or Category.

Tick interval

Set an interval for ticks on the axis. If the interval is too dense to be displayed, some ticks will be removed automatically. Note that axes with data type Datetime are based on milliseconds.

Tick Mark Placement

Only applicable for Category Axis (X Axis).

Define the position of the tick marks on the X Axis. If Auto is selected and the interval is 1, the tick mark is placed between categories, else the tick mark is placed in the center of the category. If Between is selected, the tick mark is always placed between categories. If On is selected, the tick mark is always placed in the center of the category.

Min value

Define the minimum value on the axis. If no value is set, it will automatically adjust to data.

Extend min to data

Visible when Min value is set.

Enable to extend the axis minimum to the lowest value in the data shown.

Max value

Define the maximum value on the axis. If no value is set, it will automatically adjust to data.

Extend max to data

Visible when Max value is set.

Enable to extend the axis maximum to the highest value in the data shown.

Grid lines

Enable to show grid lines on the axis.

Crosshair

Enable a crosshair on the axis.

Hide axis

Enable to hide the axis.

Reverse axis

Enable to reverse the axis in order to display the values from highest to lowest.

Place opposite

Enable to place the axis on the opposite side of the chart.

Grid line shape

Visible on the Value Axis (Y) when Polar is enabled.

Select Auto, Circle or Polygon to draw the grid lines as circles or straight lines between categories. Default is Auto.

Threshold lines

Add plot threshold indicators by defining a name, visibility, type (line or band), start value and color.

Event handlers

Add an On series click action to run when a data series is clicked. See Understand charts for the available action params and behavior.

Last updated

Was this helpful?