@axdspub/axiom-charts 0.0.38 → 0.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/library/Libraries/axiom/index.js +2 -2
- package/library/Libraries/axiom/index.js.map +1 -1
- package/library/axiom-charts.d.ts +8 -1
- package/library/browser.js +21 -0
- package/library/browser.js.map +1 -1
- package/library/cjs.js +21 -0
- package/library/cjs.js.map +1 -1
- package/library/index.js +22 -2
- package/library/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1311,7 +1311,7 @@ class AxiomChart extends ChartRoot {
|
|
|
1311
1311
|
drawScrubLine(plotId, scrubPosition, svg, style, scrubSettings) {
|
|
1312
1312
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
1313
1313
|
const scrubLineClass = this.getPlotScrubLineClass(plotId);
|
|
1314
|
-
svg.
|
|
1314
|
+
svg.selectAll(`.${scrubLineClass}`).remove();
|
|
1315
1315
|
const line = svg.insert('line')
|
|
1316
1316
|
.classed(scrubLineClass, true);
|
|
1317
1317
|
if ((scrubSettings === null || scrubSettings === void 0 ? void 0 : scrubSettings.axis) === EChartAxes.x) {
|
|
@@ -1336,7 +1336,7 @@ class AxiomChart extends ChartRoot {
|
|
|
1336
1336
|
}
|
|
1337
1337
|
}
|
|
1338
1338
|
drawPlotScrubCircle(plotId, x, y, svg, style) {
|
|
1339
|
-
svg.
|
|
1339
|
+
svg.selectAll(`.${this.getPlotScrubCircleClass(plotId)}`).remove();
|
|
1340
1340
|
svg.insert('circle')
|
|
1341
1341
|
.classed(this.getPlotScrubCircleClass(plotId), true)
|
|
1342
1342
|
.attr('r', 6)
|