UNPKG

@antv/g2plot

Version:

G2 Plot, a market of plots built with the Grammar of Graphics'

13 lines 408 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function minRingThickness(node, region) { var minThicknessPixel = 2; var minThickness = region.coord.radius / minThicknessPixel; return Math.min(minThickness, node.value); } exports.default = { type: 'padding', usage: 'assign', expression: minRingThickness, }; //# sourceMappingURL=min-ring-thickness.js.map