Fix "BTC/BCH" and "USD/BCH" chart label error

This commit is contained in:
Rucknium 2022-05-20 18:48:50 +00:00
parent 2fb3656953
commit 2fd806537d
3 changed files with 4 additions and 4 deletions

View file

@ -150,10 +150,10 @@ print(
axis.text = element_text(size = 20), axis.title.x = element_text(size = 20), axis.text = element_text(size = 20), axis.title.x = element_text(size = 20),
legend.title = element_blank(), legend.text = element_text(size = 14)) + legend.title = element_blank(), legend.text = element_text(size = 14)) +
geom_vline(xintercept = as.POSIXct("2017-11-12"), linetype = 3) + geom_vline(xintercept = as.POSIXct("2017-11-12"), linetype = 3) +
geom_text(aes(x = as.POSIXct("2017-11-12"), label = "Max BCH/BTC Exchange Rate", geom_text(aes(x = as.POSIXct("2017-11-12"), label = "Max BTC/BCH Exchange Rate",
y = 0.75 * sum.value.pre.fork), colour = "black", size = 6, check_overlap = TRUE) + y = 0.75 * sum.value.pre.fork), colour = "black", size = 6, check_overlap = TRUE) +
geom_vline(xintercept = as.POSIXct("2017-12-20"), linetype = 3) + geom_vline(xintercept = as.POSIXct("2017-12-20"), linetype = 3) +
geom_text(aes(x = as.POSIXct("2017-12-20"), label = "Max BCH/USD Exchange Rate", geom_text(aes(x = as.POSIXct("2017-12-20"), label = "Max USD/BCH Exchange Rate",
y = 0.75 * sum.value.pre.fork), colour = "black", size = 6, check_overlap = TRUE) + y = 0.75 * sum.value.pre.fork), colour = "black", size = 6, check_overlap = TRUE) +
geom_vline(xintercept = as.POSIXct("2018-11-15"), linetype = 3) + geom_vline(xintercept = as.POSIXct("2018-11-15"), linetype = 3) +
geom_text(aes(x = as.POSIXct("2018-11-15"), label = "BSV Hard Fork", geom_text(aes(x = as.POSIXct("2018-11-15"), label = "BSV Hard Fork",
@ -191,10 +191,10 @@ print(
axis.text = element_text(size = 20), axis.title.x = element_text(size = 20), axis.text = element_text(size = 20), axis.title.x = element_text(size = 20),
legend.title = element_blank(), legend.text = element_text(size = 14)) + legend.title = element_blank(), legend.text = element_text(size = 14)) +
geom_vline(xintercept = as.POSIXct("2017-11-12"), linetype = 3) + geom_vline(xintercept = as.POSIXct("2017-11-12"), linetype = 3) +
geom_text(aes(x = as.POSIXct("2017-11-12"), label = "Max BCH/BTC Exchange Rate", geom_text(aes(x = as.POSIXct("2017-11-12"), label = "Max BTC/BCH Exchange Rate",
y = 0.75 * sum.outputs.pre.fork), colour = "black", size = 6, check_overlap = TRUE) + y = 0.75 * sum.outputs.pre.fork), colour = "black", size = 6, check_overlap = TRUE) +
geom_vline(xintercept = as.POSIXct("2017-12-20"), linetype = 3) + geom_vline(xintercept = as.POSIXct("2017-12-20"), linetype = 3) +
geom_text(aes(x = as.POSIXct("2017-12-20"), label = "Max BCH/USD Exchange Rate", geom_text(aes(x = as.POSIXct("2017-12-20"), label = "Max USD/BCH Exchange Rate",
y = 0.75 * sum.outputs.pre.fork), colour = "black", size = 6, check_overlap = TRUE) + y = 0.75 * sum.outputs.pre.fork), colour = "black", size = 6, check_overlap = TRUE) +
geom_vline(xintercept = as.POSIXct("2018-11-15"), linetype = 3) + geom_vline(xintercept = as.POSIXct("2018-11-15"), linetype = 3) +
geom_text(aes(x = as.POSIXct("2018-11-15"), label = "BSV Hard Fork", geom_text(aes(x = as.POSIXct("2018-11-15"), label = "BSV Hard Fork",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 167 KiB

After

Width:  |  Height:  |  Size: 167 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 169 KiB

After

Width:  |  Height:  |  Size: 169 KiB