Bar Legend
constructor(id: String, items: List<BarLegendItem<UnitType>> = emptyList(), resample: EasingCurve? = null, title: String? = null, titleFontSize: TextUnit = LegendDefaults.titleFontSize, titleFontWeight: FontWeight = FontWeight.Bold, titleColorValue: Color = LegendDefaults().titleColor, labelFontSize: TextUnit = BarLegendDefaults.labelFontSize, labelColor: Color = BarLegendDefaults.labelColor, labelFont: Typeface = BarLegendDefaults.labelFont, measurement: MeasurementUnits.MeasurementType? = null, units: MeasurementUnits = MeasurementUnits.IMPERIAL, currentUnits: UnitType? = units.dimensions(measurement))
Parameters
Unit Type
A type representing the unit of measurement (e.g., Temperature, Speed).