-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tooltip on DateAxis #1581
Comments
Would you be able to post your whole chart and data on CodePen/jsFiddle so that we can test? |
@martynasma Here is the reference code noticed that it happens if I set I have set it to false for xAxis0 is false and xAxis1 to true. |
Try enabling snapping of cursor to series: var cursor = chart.set(
"cursor",
am5xy.XYCursor.new(root, {
behavior: "zoomX",
snapToSeries: chart.series.values
})
); |
@martynasma I'm afraid it does not work for me. if used it mismatch persists while showing only the points data tooltip on which I hover. |
Try adding https://www.amcharts.com/docs/v5/charts/xy-chart/cursor/#Irregularly_spaced_data |
@martynasma nope not working |
Can you actually reproduce it in the modified CodePen? https://codepen.io/team/amcharts/pen/wvLBJmw/afc1f1d0e704db98df5613fcb38a8651 |
@martynasma It occurs in the given codepen url if you hover over any column the dates shown are not matching |
Just add |
This issue is stale because it has been open 30 days with no activity. It will be closed in 5 days unless a new comment is added. |
I am working on XYChart and have enabled the tooltip for the date axis as seen in the below-pasted image
there seems to be a mismatch in the dates shown on the tool tip when I hover over any of the data bars.
as per my expectation both should show the same dates which is not happening
this is noticed when I have one a record of every alternate hours and when zoomed in to data it shows proper
and in the above image if you see the labels happen to overlap each other
The text was updated successfully, but these errors were encountered: