dreamRs / apexcharter

:bar_chart: R Htmlwidget for ApexCharts.js
https://dreamrs.github.io/apexcharter
Other
142 stars 15 forks source link

Remove Time Gaps from Candlestick Chart #71

Open jhwatts opened 1 year ago

jhwatts commented 1 year ago

The candlestick chart does not display correctly. The chart needs to remove the time gaps between times of no trading activity.

jhwatts commented 1 year ago

library(TTR) library(apexcharter) data("ttrc") ticker<-ttrc[1:30,] apex(ticker, aes(x = Date, open = Open, close = Close, low = Low, high = High), type = "candlestick")

There should be no gaps between candles.

jhwatts commented 1 year ago

See this similar issue.

https://github.com/apexcharts/apexcharts.js/issues/1191