Thank you for contacting us.
To calculate the correct width of every OHLC bar we need to know what is the maximum amount of bars which will fit on the plot area. To calculate this amount TKChart
uses the minorTickIntervalUnit
property of TKChartDateTimeAxis
, which should be set to a unit corresponding to your data points interval. Consider the code snippet below:
*xAxis = (
I hope this helps, if you have further questions do not hesitate to contact us.
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.