Charts and visualization
Native Qt
Gauge
Gauge is a native Zui component in the charts and visualization catalog, with 15 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.
gauge [72], value: 72, minimum: 0, maximum: 100, label: "CPU", show_label: true
API
Component properties
15 component-specific values, plus shared item and layout properties.
valueValue configuration for Gauge.propertyvaluesValues configuration for Gauge.propertyminimumMinimum configuration for Gauge.propertymaximumMaximum configuration for Gauge.propertywidthWidth configuration for Gauge.propertyheightHeight configuration for Gauge.propertycolorColor configuration for Gauge.propertytrack_colorTrack color configuration for Gauge.propertythicknessThickness configuration for Gauge.propertylabelLabel configuration for Gauge.propertylabel_formatLabel format configuration for Gauge.propertyshow_labelShow label configuration for Gauge.propertyfont_familyFont family configuration for Gauge.propertyfont_sizeFont size configuration for Gauge.propertyvisibleVisible configuration for Gauge.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