Optional properties: ScaleBarPropertiesThe ID or node representing the DOM element containing the widget.
The unique ID assigned to the widget when the widget is created.
The widget's label.
The style for the scale bar.
Units to use for the scale bar.
non-metric
[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ScaleBar.html#unit)
A reference to the MapView.
The view model for this widget.
Indicates whether the widget is visible.
true
[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Widget.html#visible)
Protected _getProtected _setProtected notifyGenerated using TypeDoc
The ScaleBar widget displays a scale bar on the map or in a specified HTML node.
Read more...