SHLineGraphView icon indicating copy to clipboard operation
SHLineGraphView copied to clipboard

Min/Max draw Y axis labels

Open FerasAmara opened this issue 10 years ago • 6 comments

Hello @grevolution

after using your library to draw some graphs in my app, I found that i can define the maximum value of the Y axis labels but I can't define the Min value of the same axis labels

it has to begin from zero and my requirements is that I must be able to customize the min value for each graph

how can i do that. in this library

again thank you for your effort and that you in advance for taking time out of your schedule to answer me

BR Feras Amara.

FerasAmara avatar Jun 11 '14 08:06 FerasAmara

there is no api exposed for that. you'll have to take a look and change the code for that.

grevolution avatar Jun 12 '14 02:06 grevolution

Hi @grevolution again,

If you could help me with define static minimum value for Y axis Label, I would make it not zero, I would make it from 35, because I want to use it to graph a human temperature in celsius degree, and you know the the range is from 35°C - 45°C , if I use the minimum Y label from zero, the graph will not display the different between degrees like (39 & 40), So I want to make it from 35, So the Y labels will be just 10 values, So any two values will be displayed clearly in the graph.

Thank you and best regards.

FerasAmara avatar Jun 28 '14 09:06 FerasAmara

@grevolution any help ?

FerasAmara avatar Jul 02 '14 12:07 FerasAmara

@FerasAmara had you figured it out? Dealing with the same problem here.

http://stackoverflow.com/questions/25258216/shlinegraphview-set-graph-origin-value

teffi avatar Aug 12 '14 06:08 teffi

@teffi not yet, I wish to find it, if you got the chance, please share it with me.

FerasAmara avatar Nov 23 '14 09:11 FerasAmara

@FerasAmara I abandoned this and use this instead JBChartView. It still don't have a built in y-axis labeling but I was able to do a category file to solve it.

teffi avatar Nov 25 '14 02:11 teffi