@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.
@@ -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: {