Skip to content

Commit 9f95543

Browse files
committed
v2.5.0 released
1 parent c799775 commit 9f95543

File tree

5 files changed

+7
-4
lines changed

5 files changed

+7
-4
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
## 2.5.0 - 2023-02-01
4+
- Added tooltip override via `extras.tooltip`
5+
36
## 2.4.2 - 2023-02-01
47
- Fixed hover title on column chart
58

public/app.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/js/columnChart.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ const columnChart = () => {
9595
tooltip: {
9696
y: {
9797
formatter: function(value, series) {
98-
return data[series.dataPointIndex].extras.formatted || value;
98+
return data[series.dataPointIndex].extras.tooltip || value;
9999
}
100100
}
101101
},

resources/js/lineChart.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ const lineChart = () => {
100100
tooltip: {
101101
y: {
102102
formatter: function(value, series) {
103-
return data[series.dataPointIndex].extras.formatted || value;
103+
return data[series.dataPointIndex].extras.tooltip || value;
104104
}
105105
}
106106
},

resources/js/pieChart.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ const pieChart = () => {
7777
tooltip: {
7878
y: {
7979
formatter: function(value, series) {
80-
return data[series.dataPointIndex].extras.formatted || value;
80+
return data[series.dataPointIndex].extras.tooltip || value;
8181
}
8282
}
8383
},

0 commit comments

Comments
 (0)