Skip to content

Commit

Permalink
v2.5.0 released
Browse files Browse the repository at this point in the history
  • Loading branch information
asantibanez committed Feb 1, 2023
1 parent c799775 commit 9f95543
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## 2.5.0 - 2023-02-01
- Added tooltip override via `extras.tooltip`

## 2.4.2 - 2023-02-01
- Fixed hover title on column chart

Expand Down
2 changes: 1 addition & 1 deletion public/app.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/js/columnChart.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ const columnChart = () => {
tooltip: {
y: {
formatter: function(value, series) {
return data[series.dataPointIndex].extras.formatted || value;
return data[series.dataPointIndex].extras.tooltip || value;
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion resources/js/lineChart.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ const lineChart = () => {
tooltip: {
y: {
formatter: function(value, series) {
return data[series.dataPointIndex].extras.formatted || value;
return data[series.dataPointIndex].extras.tooltip || value;
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion resources/js/pieChart.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const pieChart = () => {
tooltip: {
y: {
formatter: function(value, series) {
return data[series.dataPointIndex].extras.formatted || value;
return data[series.dataPointIndex].extras.tooltip || value;
}
}
},
Expand Down

0 comments on commit 9f95543

Please sign in to comment.