-
Notifications
You must be signed in to change notification settings - Fork 32
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
BarChar with only one single bar shows nothing #146
Comments
I can reproduce your results. In your example, the bar plot has only one data point at x=0.1. This causes the axis renderer of the x-axis to receive a display range from x=0.1 to x=0.1. By the looks of it, these limits are exclusive, which means that no data is displayed. I am not sure if this is a bug or not. You can work around this by explicitly setting the displayed range of the axis after you added all the data to the plot. For example |
Thanks, I got it and it is possible to explicitly set the range manually. |
Based on the simple barchart example, to reproduce the problem, I comment out the other rows and expect to see one single bar but there is nothing rendered. However, two bars works as expected. Any ideas?
The text was updated successfully, but these errors were encountered: