Ring Gauge Chart Defaults
An object that provides default styles for a Ring Gauge Chart.
Properties
Functions
Link copied to clipboard
fun labels(visible: Boolean = true, color: Color = StyleDefaults.axisLabelColor, size: TextUnit = StyleDefaults.axisLabelSize): GaugeLabelsStyle
Returns a GaugeLabelsStyle with the provided parameters or their default values.
Link copied to clipboard
Returns a LegendStyle with the provided parameters or their default values.
Link copied to clipboard
fun range(min: Double = StyleDefaults.gaugeRangeMin, max: Double = StyleDefaults.gaugeRangeMax): GaugeRangeStyle
Returns a GaugeRangeStyle with the provided parameters or their default values.
Link copied to clipboard
fun rings(baseColor: Color = StyleDefaults.seriesColor, alpha: Float = StyleDefaults.seriesAlpha, colors: List<Color> = emptyList(), width: Dp = StyleDefaults.ringGaugeWidth, spacing: Dp = StyleDefaults.ringGaugeSpacing): RingGaugeRingsStyle
Returns a RingGaugeRingsStyle with the provided parameters or their default values.
Link copied to clipboard
fun style(chartContainerStyle: ChartContainerStyle = ChartContainerDefaults.style(), range: GaugeRangeStyle = range(), rings: RingGaugeRingsStyle = rings(), track: GaugeTrackStyle = track(), labels: GaugeLabelsStyle = labels(), legend: LegendStyle = legend()): RingGaugeChartStyle
Returns a RingGaugeChartStyle with the provided parameters or their default values.
Link copied to clipboard
Returns a GaugeTrackStyle with the provided parameters or their default values.