-
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
showEmpty doesn't work when min and max are defined #705
Comments
Currently, showEmtpy only has an effect when the axis doesn't have |
Possible workaround: http://jsfiddle.net/bfrHc/4/ |
Are there any plans to fix this? Or maybe suggest a work around? Thanks |
Can you elaborate please on how this is not a bug? |
Empty in this case means that the axis does not have information that defines how it should draw labels. Once you set min and max, it does have that information. But from your comment I assume that you consider an empty axis an axis that has no populated data series? |
Hi, Is that something you might consider adding? |
+1 are you going to add this configuration? |
I am a bit concerned about creating new issues, but I did a small refactoring that makes this accessible from the outside, so we can now override the Highcharts.Axis.prototype.hasData = function () {
return this.hasVisibleSeries;
}; |
I'd also appreciate a second flag @TorsteinHonsi Thanks for the work-around though, that's sufficient for us as we don't have any use for the current version of |
In case you want to show no-data message with custom conditions then no-data-to-display module supports showing message about lack of data on function call as presented in a demo from API reference: Closing this issue as this is not a bug. |
As in title - when axis min and max are defined, axis doesn't hide. However, it hides when you set just min, or just max. See the demo: http://jsfiddle.net/c92Zn/
The text was updated successfully, but these errors were encountered: