UNPKG

plotly.js

Version:

The open source javascript graphing library that powers plotly

22 lines (21 loc) • 1.16 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.itemHeightPad = exports.itemMinHeight = exports.dfltFillHeight = exports.itemGap = exports.titlePad = exports.scrollBarEnterAttrs = exports.scrollBarMargin = exports.scrollBarColor = exports.scrollBarMinHeight = exports.scrollBarWidth = void 0; exports.scrollBarWidth = 6; exports.scrollBarMinHeight = 20; exports.scrollBarColor = '#808BA4'; exports.scrollBarMargin = 4; exports.scrollBarEnterAttrs = { rx: 20, ry: 3, width: 0, height: 0 }; /** Number of px between legend title and (left) side of legend (always in x direction and from inner border) */ exports.titlePad = 2; /** Number of px between each legend item (x and/or y direction) */ exports.itemGap = 5; /** Height (in px) of the legend fill swatch at the default `itemheight` */ exports.dfltFillHeight = 6; /** Minimum height (in px) of a legend item, so that the largest legend marker (16px across) fits */ exports.itemMinHeight = 16; /** * Number of px added to the height of each legend item. * Items stack with no other gap, so this value is the vertical space between them. */ exports.itemHeightPad = 3;