units

open override 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.


open override var units: MeasurementUnits

Parameters

units

Units currently applied to any measurement values drawn by the legend.