Bar chart

Bar charts can be used to display two-dimensional data, along with a legend to better describe the respective data values.

Properties

Alignment

Defines the alignment of the chart on the screen

Data

Defines the Data Values for the bars

Two-dimensional collection containing double values. As AppBuilder currently does not support two-dimensional collections directly, the type of this property would need to be of object[] or List<object>, which need to be populated by either double arrays or lists. If you only want to display one-dimensional data in a bar chart, you can specify a one-dimensional collection instead.

Labels

X-Axis labels

One-dimensional collection containing string values. This can be either of type string[] or List<string>. These labels will be displayed in the X-Axis of the chart, describing the respective categories of the data.

LegendLabels

Labels for the chart legend

One-dimensional collection containing string values. This can be either of type string[] or List<string>. The labels will be displayed in the chart legend.

Visible

Set's the visibility of this control and/or if it should be executed

For design control this controls the visibility of the control. For non visible controls (e.g. actions), this controls if the action should be executed or not.

EnableStackedBards

Show bars as stacked bars

Setting this flag displays the bars stacked on top of each other, instead of side by side.

Sample Solution

Download a sample solution from our GitHub online repository https://github.com/sitrionone

Share this page
X
Tell your colleagues and friends about Sitrion. Choose a social channel below to share this page.