zui docs v0.0.5
GitHub ↗
Charts and visualization Native Qt

Radial Gauge

Radial Gauge is a native Zui component in the charts and visualization catalog, with 17 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.

Ruby
radial_gauge [84], value: 84, minimum: 0, maximum: 100, start_angle: -135, end_angle: 135, label: "Score"
API

Component properties

17 component-specific values, plus shared item and layout properties.

valueValue configuration for Radial Gauge.property
valuesValues configuration for Radial Gauge.property
minimumMinimum configuration for Radial Gauge.property
maximumMaximum configuration for Radial Gauge.property
widthWidth configuration for Radial Gauge.property
heightHeight configuration for Radial Gauge.property
colorColor configuration for Radial Gauge.property
track_colorTrack color configuration for Radial Gauge.property
thicknessThickness configuration for Radial Gauge.property
start_angleStart angle configuration for Radial Gauge.property
end_angleEnd angle configuration for Radial Gauge.property
labelLabel configuration for Radial Gauge.property
label_formatLabel format configuration for Radial Gauge.property
show_labelShow label configuration for Radial Gauge.property
font_familyFont family configuration for Radial Gauge.property
font_sizeFont size configuration for Radial Gauge.property
visibleVisible configuration for Radial Gauge.property
Show 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