Skip to content

Variable: modebarIcons ​

ts
const modebarIcons: object;

The built-in modebar glyphs, reusable as icon of custom buttons.

Type Declaration ​

NameTypeDescription
cameraModebarIconCamera: download image.
dotModebarIconFilled dot: the fallback for custom buttons without an icon.
drawCircleModebarIconRing: draw circle.
drawClosedPathModebarIconIrregular ring: draw closed freeform.
drawLineModebarIconSegment with end handles: draw line.
drawOpenPathModebarIconZigzag stroke: draw open freeform.
drawRectModebarIconRectangle outline: draw rectangle.
eraseShapeModebarIconEraser over a baseline: erase the active shape.
expandModebarIconDiagonal outward arrows: autoscale.
homeModebarIconHouse: reset axes.
lassoModebarIconLoop with a tail: lasso select.
magnifierModebarIconMagnifier: box zoom.
moveModebarIconFour-way arrows: pan.
selectBoxModebarIconDashed rectangle: box select.
spikelinesModebarIconPoint with dashed guides: spike lines.
tooltipModebarIconOne label: closest-point hover.
tooltipsModebarIconTwo labels: compare-data hover.
zoomInModebarIconFramed plus: zoom in.
zoomOutModebarIconFramed minus: zoom out.

Released under the MIT License.