Skip to content

Commit

Permalink
fix: line chart tooltip should use full datetime format (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
datability-io authored and zhaoyongjie committed Nov 26, 2021
1 parent ec2c194 commit 4bd482d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ function nvd3Vis(element, props) {
chart.useInteractiveGuideline(true);
if (vizType === 'line') {
chart.interactiveLayer.tooltip.contentGenerator(d =>
generateRichLineTooltipContent(d, xAxisFormatter, yAxisFormatter),
generateRichLineTooltipContent(d, smartDateVerboseFormatter, yAxisFormatter),
);
}
}
Expand Down

0 comments on commit 4bd482d

Please sign in to comment.