Skip to content

Commit

Permalink
Add axis info in formatter callback
Browse files Browse the repository at this point in the history
  • Loading branch information
susiwen8 committed May 11, 2019
1 parent a41ef53 commit cba87b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/component/axisPointer/viewHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ export function getValueLabel(value, axis, ecModel, seriesDataIndices, opt) {
if (formatter) {
var params = {
value: axisHelper.getAxisRawValue(axis, value),
axis: axis,
seriesData: []
};
zrUtil.each(seriesDataIndices, function (idxItem) {
Expand Down

0 comments on commit cba87b0

Please sign in to comment.