plotly.js
Version:
The open source javascript graphing library that powers plotly
31 lines (30 loc) • 1.13 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.OFFEDGE = exports.MINZOOM = exports.MINDRAG = exports.cornerHalfWidth = exports.cornerLen = exports.angularDragBoxSize = exports.radialDragBoxSize = exports.layerNames = exports.axisName2dataArray = exports.axisNames = exports.name = exports.attr = void 0;
exports.attr = 'subplot';
exports.name = 'polar';
exports.axisNames = ['angularaxis', 'radialaxis'];
exports.axisName2dataArray = { angularaxis: 'theta', radialaxis: 'r' };
exports.layerNames = [
'draglayer',
'plotbg',
'backplot',
'angular-grid',
'radial-grid',
'frontplot',
'angular-line',
'radial-line',
'angular-axis',
'radial-axis'
];
exports.radialDragBoxSize = 50;
exports.angularDragBoxSize = 30;
exports.cornerLen = 25;
exports.cornerHalfWidth = 2;
// Pixels to move mouse before you stop clamping to starting point
exports.MINDRAG = 8;
// Smallest radial distance [px] allowed for a zoombox
exports.MINZOOM = 20;
// Distance [px] off (r=0) or (r=radius) where we transition
// from single-sided to two-sided radial zoom
exports.OFFEDGE = 20;