units

abstract fun units(newValue: MeasurementUnits): Legend

Allows an implementing class to create a new version of itself with updated units.

Return

A new instance of the Legend with the updated units.


abstract val units: MeasurementUnits

Units used when formatting any measurement values displayed by the legend.