UNPKG

plotly.js

Version:

The open source javascript graphing library that powers plotly

14 lines (13 loc) • 684 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.eventDataKeys = exports.maxScreensAway = exports.toleranceGrowth = exports.minTolerance = exports.PTS_LINESONLY = void 0; exports.PTS_LINESONLY = 20; // Fixed parameters of clustering and clipping algorithms // Fraction of clustering tolerance "so close we don't even consider it a new point" exports.minTolerance = 0.2; // How fast does clustering tolerance increase as you get away from the visible region exports.toleranceGrowth = 10; // Number of viewport sizes away from the visible region // at which we clip all lines to the perimeter exports.maxScreensAway = 20; exports.eventDataKeys = [];