[bisq-network/bisq] [Feature] Improvements to BSQ supply charts and figures (#3753)

dmos62 notifications at github.com
Wed Dec 11 12:07:35 UTC 2019


@chimp1984 the solution I'm currently finishing up on is to automatically recalculate the appropriate range for the chart axes, without taking the outliers into account. The outliers are not removed, but they are not captured whole in the viewport, and you can see that there's a point or points "outside" the viewport, because of how the chart line moves. Furthermore, the idea is to ultimately have a tooltip or something similar to be able to check the exact values of each point, so you'd be able to check the Y value by hovering on the X value, even if the Y value is not in the axis. I hope my explanation is clear enough. I can't provide a screenshot right now.

That said, this does bring up an important point. Since starting to work on this I've learned that JavaFX charts are severely lacking in features. For example, if auto-rangeing is disabled, JavaFX axis don't support automatic tick-unit computation, I had to reimplement that. Also, JavaFX axis don't support a logarithmic scale, which is significant. Also, no interactive panning or zooming. There are many other features that we've come to expect from charting libraries that are not there in JavaFX.

I brought this up on Keybase chat, asking if it would be possible to include a JavaFX extension library, like [extjfx](https://github.com/extjfx/extjfx/), which provides these features, but I was told that new JAR dependencies are not welcome.

I'd like to expand on why I said that not having log scale support is significant: BSQ burnt over time is logarithmically distributed. Even after clipping out the outliers, it doesn't look "right" on linear scale. I guess it's up for debate if that's detrimental to interpreting the data. I'll provide screenshots soon.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/issues/3753#issuecomment-564511376
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20191211/78d0eaa4/attachment.html>


More information about the bisq-github mailing list