Charts and visualization
Native Qt
Bar Chart
Bar Chart is a native Zui component in the charts and visualization catalog, with 11 component-specific properties.
Usage
Ruby example
Paste this complete Builder example inside the app surface from the Quickstart. Replace illustrative asset paths with files from your project.
bar_chart [42, 67, 51, 88], labels: %w[North South East West], colors: %w[#b7ff5a #66e3ff #a88bff #ffb45b]
API
Component properties
11 component-specific values, plus shared item and layout properties.
valuesValues configuration for Bar Chart.propertylabelsLabels configuration for Bar Chart.propertywidthWidth configuration for Bar Chart.propertyheightHeight configuration for Bar Chart.propertycolorsColors configuration for Bar Chart.propertygrid_colorGrid color configuration for Bar Chart.propertyminimumMinimum configuration for Bar Chart.propertymaximumMaximum configuration for Bar Chart.propertyshow_gridShow grid configuration for Bar Chart.propertybar_spacingBar spacing configuration for Bar Chart.propertyvisibleVisible configuration for Bar Chart.propertyShow 14 shared item properties
enabledopacityscalerotationzfill_widthfill_heightpreferred_widthpreferred_heightminimum_widthminimum_heightmaximum_widthmaximum_heightlayout_alignment
Interaction
Events
Subscribe with on widget, :event and keep behavior in Ruby.
↗
selectNative event payload↗
hoverNative event payload