klyn.gui.windows.charts.KlynPlotWidget.colorbar
method
public colorbar(label as String = "", visible as Boolean = true) as Void
Description

Displays the most recently inserted scalar-colored scatter's scale. The same cached palette and bounds color points and the bar; later series do not silently change it. Call again to select a later colored series.

Parameters
ParameterDescription
labelValue/unit label.
visibleWhether to display the bar.
Throws
  • ValueException if no scalar-colored 2D scatter is available.
Example

chart.colorbar("Median house value (100,000 USD)")