Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.7k
_bullet measure and range bars have issues if the data set has negative values#4497
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
…has negative values
Thank you for reporting this,@ksheehy |
Hi@archmoj |
Thanks very much for the PR. |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
The issue is with the method of sorting the data from highest to lowest. The data needs to be sorted so both, the largest positive and negative values are plotted first.
Here is the current implementation - you can see since the sort function puts the -5000 tick mark last and the bar on top of all less negative values.

Here is a fix.

I did a little search on this function and it looks like it is being depreciated. I appologize if I have butchered the PR process.