Same width (thickness) of candles in OHLC charts

The problem is the following, when I load the graph the thickness of the candles goes well, by default the graph loads with an interval of 1 hour so when changing the graph to one of less time (1m, 3m, 5m, 15m, 30m ) there are no problems with the thickness of the candles, the problem is when changing the graph at larger intervals (2hr, 3hr, 4hr, 6hr, etc), the width of the candles is thinner, 2hr being the thinnest thickness and As we increase the interval, the thickness increases little by little, what can I do so that the thickness of the candles does not change when updating the graph at intervals greater than 1hr

normal thickness

thin thickness