-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Bug in rendering of dates #2342
Comments
Live demo please? |
After a lot of struggling, I were able to reproduce the defect. The problem comes in when you combine "scatter" and area charts. Here is a lovely fiddle to showcase the problem: The reason we used a "scatter" was because someone suggested it to us because we were having a problem with something. I can't remember the reason but I'm cautious to change it. If you don't use scatter data, everything works as expected. I do feel like Highstock should either deal with the use of scatters and area charts or prevent you from using them altogether. |
OK, I figured out why I needed scatter points as markers. I need to add custom member variables to each point. Only by clicking on a scatter point can I retrieve these values. Using anything else doesn't yield the same result. It seems like I'll need to use scatter and area charts together so this bug is very much an issue. |
It seems like a bug allright. The data for the scatter isn't properly cropped, so the point is left visible and considered when laying out the ordinal axis. Before we dive into creating a fix for this, did you consider using a line series without a line, and with data grouping disabled? http://jsfiddle.net/highcharts/sy8dE/11/ |
As far as I can tell, the same problems exist if follow your advice. Make sure there are a few markers on the graph and that the lineWidth is 0. (see example in the top image) I have tried a few solutions but it seems like "scatter" points are the only thing that's going to work for us. We are launching an internal beta release on Friday so we are cutting it close. This is the only defect I have left and it would be cool if we can have a priority on the defect. |
"It’s like the graph is covered by an invisible chart that intercepts the mouse overs." |
Simplified demo: http://jsfiddle.net/highcharts/QYeFu/ The scatter point is at January 1st 2013, while the axis max is January 1st 2012. |
The patch worked. Thanks. |
We have a version of highstock with a patch applied as suggested here:
#1651 (comment)
As seen on the images, the dates does not match the dates on the navigator. I assume it's a bug within highstock. We are starting our final TC soon and would like this bug fixed as the client has already indicated that he won't be signing off on it :(
The text was updated successfully, but these errors were encountered: