@axdspub/axiom-charts 0.0.11 → 0.0.13
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 +197 -17
- package/library/Libraries/axiom/index.js.map +1 -1
- package/library/axiom-charts.d.ts +15 -1
- package/library/browser.js +11 -0
- package/library/browser.js.map +1 -1
- package/library/cjs.js +11 -0
- package/library/cjs.js.map +1 -1
- package/library/index.js +11 -0
- package/library/index.js.map +1 -1
- package/package.json +1 -1
package/library/index.js
CHANGED
|
@@ -120,6 +120,7 @@ var PlotRoot = /** @class */ (function (_super) {
|
|
|
120
120
|
_this.chart = props.chart;
|
|
121
121
|
_this.dimensions = props.dimensions;
|
|
122
122
|
_this.style = props.style;
|
|
123
|
+
_this.scrubbing = props.scrubbing;
|
|
123
124
|
_this.axisSettings = props.axisSettings;
|
|
124
125
|
_this.runtime = {};
|
|
125
126
|
return _this;
|
|
@@ -246,6 +247,13 @@ var PlotRoot = /** @class */ (function (_super) {
|
|
|
246
247
|
});
|
|
247
248
|
});
|
|
248
249
|
};
|
|
250
|
+
PlotRoot.prototype.drawScrubbing = function (mouseX) {
|
|
251
|
+
console.log('drawScrubbing not implemented');
|
|
252
|
+
};
|
|
253
|
+
PlotRoot.prototype.getScrubPosition = function (mouseX) {
|
|
254
|
+
console.log('getScrubPosition not implemented');
|
|
255
|
+
return undefined;
|
|
256
|
+
};
|
|
249
257
|
PlotRoot.prototype.destroy = function () {
|
|
250
258
|
};
|
|
251
259
|
return PlotRoot;
|
|
@@ -256,6 +264,7 @@ var ChartRoot = /** @class */ (function () {
|
|
|
256
264
|
this.plots = props.plots.map(function (p) { return (__assign({}, p)); });
|
|
257
265
|
this.settings = props.settings;
|
|
258
266
|
this.element = props.element;
|
|
267
|
+
this.onScrub = props.onScrub;
|
|
259
268
|
this.runtime = {
|
|
260
269
|
prevWidth: 0,
|
|
261
270
|
prevHeight: 0
|
|
@@ -490,6 +499,8 @@ var ChartRoot = /** @class */ (function () {
|
|
|
490
499
|
};
|
|
491
500
|
ChartRoot.prototype.showXAxes = function (xAxes) {
|
|
492
501
|
};
|
|
502
|
+
ChartRoot.prototype.adjustYAxis = function () {
|
|
503
|
+
};
|
|
493
504
|
ChartRoot.prototype.draw = function () {
|
|
494
505
|
return __awaiter(this, void 0, void 0, function () {
|
|
495
506
|
var plotImplementations;
|