-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
xAxis DateTime in Scatter Plot should convert Tooltip #3552
Comments
For the records, here's how to add date formatting to the I do agree that I would expect the tooltip to print dates in this case, however it would also require an additional setting for what tooltip format to use, so maybe we would be just as far... |
I don't see any reason to deviate from the standard linechart label when representing dateTime, I can take a look over the weekend and you can see what you think i guess, I have my concerns more-so about when you have multiple X-Axis's for example. |
Yes, that might work... |
I second klexas's comment about the tooltip. |
And still no change. Do developers have any particular reason to leave formatting like that? |
It has been a while is there any update or workaround? |
Solution is simple, see: #3552 (comment) - set |
i think i was not clear with what i want to actually achieve when i said change the tooltip format. |
In Advanced -> Custom code tab you can set format: Highcharts.merge(true, options, {
tooltip: {
headerFormat: '{point.key}'
}
}); |
Thanks @pawelfus it worked. |
Hi @pawelfus |
Hi @bharatnagdev When I run the console I do not see the error. Could you confirm that it still appears? If yes, which browser do you use? |
i already confirmed it. |
So you are not looking for a Highcharts Cloud solution? In that case please provide full description of the issue. At this moment we can only guess what is wrong, for example maybe you use outdated typescript/flow definitions. Additionally, please provide a live demo. Note that solutions for Highcharts Cloud are different from simply using Highcharts library... |
In your case @bharatnagdev simply set |
Thanks @pawelfus finally it worked. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions! |
When you have defined the xAxis as a 'dateTime' type the tooltip should be aware of this as the 'point.x' value and convert it to the DateTime format.
http://jsfiddle.net/egf4vbfL/6/
As you can see the X-Axis is correct in that it uses the Time rage however when you view the default tooltip you get the epoch time.
I know you can format this using 'point.key' etc but it is not expected behavior.
The text was updated successfully, but these errors were encountered: