janoside / btc-rpc-explorer

Database-free, self-hosted Bitcoin explorer, via RPC to Bitcoin Core.
https://bitcoinexplorer.org
MIT License
1.54k stars 1.16k forks source link

Include Time Frame options for the difficulty change percentage graph #410

Closed visskiss closed 1 year ago

visskiss commented 2 years ago

On the Difficulty History page, you rightly have a time frame for the history adjustment graph (All time, 8 year, 4 year, 2 year, 1 year). However, the selection of the time frame does not affect the graph for "Difficulty delta as a percentage. Can you please make it so that these same Time Frame buttons are available for the percentage graph. I would recommend the buttons be used for both graphs as I can't imagine people require different time frames. In that case, pull the buttons out of the first graph div and place them above both graphs or combine divs.

My 2 cents.