I am using the MPAndroid library to create bar charts. To create a barEntry, we make an object like (2, 10) which represents the (x, y) values.
I wanted to know if it's possible to create entries such as this (2-10, 10) where 2-10 is the range.
I know this can be achieved by looping through the range and creating the bar entries individually. Also, reducing the space between the bars will make them appear as a single bar. But this method becomes very costly once the range increases.
Is there some other optimized approach to achieve this ?