public colorbar(label as String = "", visible as Boolean = true) as Void
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.
| Parameter | Description |
|---|---|
label | Value/unit label. |
visible | Whether to display the bar. |
chart.colorbar("Median house value (100,000 USD)")