UNPKG

plotly.js

Version:

The open source javascript graphing library that powers plotly

11 lines (10 loc) • 468 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.eventDataKeys = exports.TEXTPAD = void 0; // Padding in pixels around text exports.TEXTPAD = 3; // 'value' and 'label' are not really necessary for bar traces, // but they were made available to `texttemplate` (maybe by accident) // via tokens `%{value}` and `%{label}` starting in 1.50.0, // so let's include them in the event data also. exports.eventDataKeys = ['value', 'label'];