Skip to main content

Bar (B)

Generate a bar chart element for use in InForm Bar charts can be combined with line or scatter elements inside the Assemble Chart (AC) component to create mixed charts.

📸 Component Screenshot

Bar (B)

📂 Component Location

Tab: 3. Charts

📝 Description

The Bar (B) component produces a bar chart dataset using Y-values (heights), optional X-values, custom colours, and optional advanced dataset overrides via JSON. The output is a Chart Element (CE) that can be assembled into a mixed chart.

📁 Example File

🔌 Inputs

Abbrev.Full NameTypeDescription
TTitleTextDataset label displayed in the chart legend.
YYNumberList of Y-values (bar heights).
CColourGH ColourOptional bar colour (RGB).
CSCustom SettingsJSONAdvanced: overrides dataset options using JSON. Ref: https://www.chartjs.org/docs/latest/charts/bar.html
XXNumberOptional list of X-values. If omitted, index positions are used.

🔄 Outputs

Abbrev.Full NameTypeDescriptionSuggested Connections
CEChart ElementInForm Bar ChartBar chart dataset for InFormConnect to Assemble Chart (AC) in 3. Charts to display the chart in InForm