A component that provides bar type meter.
The q2-meter element has one or more properties that support text localization. Those properties are indicated by the localizable badge in the description.
animatedShows loading animation for bars, default is true.
completedLabelcompleted-labelDefines the label for the completed bar, which appears at the bottom in the legend section.
completedValuecompleted-valueDefines the value for the completed bar.
descriptionDefines the description for the meter, which appears at the top just below the label.
dottedShows a circle shaped dot indicator on completed bar, default is true.
labelDefines the label for the meter, which appears at the top.
maxLabelmax-labelDefines the label for the base bar, which appears at the bottom in the legend.
maxValuemax-valueDefines the value for the base bar.
segmentsShows thin tick bars based on the number of segments provided.
suggestedLabelsuggested-labelDefines the label for the suggested bar, which appears at the bottom in the legend.
suggestedValuesuggested-valueDefines the value for the suggested bar.
tooltipCompletedtooltip-completedDefines custom text for the completed bar tooltip.
tooltipSuggestedtooltip-suggestedDefines custom text for the suggested bar tooltip.
The following CSS variables are available to override the default theme styles of the q2-metercomponent.
Many Tecton components consume other components to maintain visual and functional consistency. If you are looking for a CSS variable you think should exist but are not seeing it, it may be defined in one of the dependent components below. Either way, if you think it's something we should expose more conveniently, let us know!