[bisq-network/bisq] Increase price precision in Offer Book chart (altcoins) (#4311)
James Cox
notifications at github.com
Tue Jun 16 03:19:51 UTC 2020
In the Offer Book Chart, altcoins were displayed with prices having only 3 decimal places of precision. This resulted in not being able to see any meaningful prices across the x-axis because they were all the same, e.g. ETH=0.025
Instead it should show 8 digits of precision for altcoins. So for example ETH=0.02456914
Change the rule for display of altcoin Offer Book chart from:
`if price begins 0.000 then display higher precision`
to:
`if price begins 0.0 then display higher precision`
Fiat currency chart not affected by this rule.
Fixes #4251
You can view, comment on, or merge this pull request online at:
https://github.com/bisq-network/bisq/pull/4311
-- Commit Summary --
* Increase price precision in Offer Book chart (altcoins)
-- File Changes --
M desktop/src/main/java/bisq/desktop/main/market/offerbook/OfferBookChartView.java (2)
-- Patch Links --
https://github.com/bisq-network/bisq/pull/4311.patch
https://github.com/bisq-network/bisq/pull/4311.diff
--
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/pull/4311
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20200615/55906b19/attachment-0001.html>
More information about the bisq-github
mailing list