Skip to content

Commit abb7d87

Browse files
author
Niilo Keinänen
committed
LCJS v7.0.1
1 parent 7674465 commit abb7d87

6 files changed

+6
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"webpack-stream": "^7.0.0"
1818
},
1919
"dependencies": {
20-
"@lightningchart/lcjs": "^6.1.1",
20+
"@lightningchart/lcjs": "^6.1.2",
2121
"@lightningchart/xydata": "^1.4.0"
2222
},
2323
"lightningChart": {
-14.2 KB
Loading
-10.6 KB
Loading
-11.9 KB
Loading
Loading

src/index.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,23 +49,23 @@ fetch(document.head.baseURI + 'examples/assets/1703/training-by-shoe-category.js
4949
.setTickStrategy(AxisTickStrategies.Empty, (strategy) =>
5050
strategy.setCursorFormatter((value) => shoeBrands[Math.round(value)] ?? ''),
5151
)
52-
shoeBrands.forEach((brand, i) => chart.getAxis(Axes.shoe_brand).addCustomTick().setValue(i).setMouseInteractions(false))
52+
shoeBrands.forEach((brand, i) => chart.getAxis(Axes.shoe_brand).addCustomTick().setValue(i).setPointerEvents(false))
5353

5454
chart
5555
.getAxis(Axes.over_5_miles)
5656
.setTickStrategy(AxisTickStrategies.Empty, (strategy) =>
5757
strategy.setCursorFormatter((value) => (value ? '> 5 miles' : '< 5 miles')),
5858
)
59-
chart.getAxis(Axes.over_5_miles).addCustomTick().setValue(0).setMouseInteractions(false).setLabelAlignment(-1)
60-
chart.getAxis(Axes.over_5_miles).addCustomTick().setValue(1).setMouseInteractions(false).setLabelAlignment(1)
59+
chart.getAxis(Axes.over_5_miles).addCustomTick().setValue(0).setPointerEvents(false).setLabelAlignment(-1)
60+
chart.getAxis(Axes.over_5_miles).addCustomTick().setValue(1).setPointerEvents(false).setLabelAlignment(1)
6161

6262
chart
6363
.getAxis(Axes.after_2020)
6464
.setTickStrategy(AxisTickStrategies.Empty, (strategy) =>
6565
strategy.setCursorFormatter((value) => (value ? 'After 2020' : 'Before 2020')),
6666
)
67-
chart.getAxis(Axes.after_2020).addCustomTick().setValue(0).setMouseInteractions(false).setLabelAlignment(-1)
68-
chart.getAxis(Axes.after_2020).addCustomTick().setValue(1).setMouseInteractions(false).setLabelAlignment(1)
67+
chart.getAxis(Axes.after_2020).addCustomTick().setValue(0).setPointerEvents(false).setLabelAlignment(-1)
68+
chart.getAxis(Axes.after_2020).addCustomTick().setValue(1).setPointerEvents(false).setLabelAlignment(1)
6969

7070
// Configure nice labels and formatting for Axes.
7171
chart.getAxis(Axes.training_date).setTitle('Training date').setTickStrategy(AxisTickStrategies.DateTime)

0 commit comments

Comments
 (0)