@tetacom/svg-charts 1.2.5 → 1.2.6
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/chart/chart-container/chart-container.component.d.ts +3 -3
- package/esm2020/chart/chart-container/chart-container.component.mjs +5 -5
- package/fesm2015/tetacom-svg-charts.mjs +4 -4
- package/fesm2015/tetacom-svg-charts.mjs.map +1 -1
- package/fesm2020/tetacom-svg-charts.mjs +4 -4
- package/fesm2020/tetacom-svg-charts.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -2472,8 +2472,8 @@ class ChartContainerComponent {
|
|
|
2472
2472
|
return item.value.index;
|
|
2473
2473
|
}
|
|
2474
2474
|
click(event, xScales, yScales) {
|
|
2475
|
-
const x = xScales.get(0);
|
|
2476
|
-
const y = yScales.get(0);
|
|
2475
|
+
const x = xScales.get(0).scale;
|
|
2476
|
+
const y = yScales.get(0).scale;
|
|
2477
2477
|
this._svc.emitChartClick({
|
|
2478
2478
|
event: event,
|
|
2479
2479
|
target: {
|
|
@@ -2483,8 +2483,8 @@ class ChartContainerComponent {
|
|
|
2483
2483
|
});
|
|
2484
2484
|
}
|
|
2485
2485
|
contextMenu(event, xScales, yScales) {
|
|
2486
|
-
const x = xScales.get(0);
|
|
2487
|
-
const y = yScales.get(0);
|
|
2486
|
+
const x = xScales.get(0).scale;
|
|
2487
|
+
const y = yScales.get(0).scale;
|
|
2488
2488
|
this._svc.emitChartContextMenu({
|
|
2489
2489
|
event: event,
|
|
2490
2490
|
target: {
|