getSingleScreenCandleCount method
Implementation
int getSingleScreenCandleCount(double width) {
screenWidth = width;
double count =
(screenWidth - kCandlestickGap) / ((candlestickWidth ?? 0) + kCandlestickGap);
int totalScreenCountNum = count.toInt();
return totalScreenCountNum;
}