android - What is the purpose of the scale argument in functions such as setYLabelsColor()? -


in achartengine library, class xymultipleseriesrenderer has 2 functions:

public void setxlabelscolor(int color)  public void setylabelscolor(int scale, int color) 

setxlabelscolor() intuitively makes sense since 1 needs pass in color, longest time not figure out 'scale' argument setylabelscolor did. docs says, "renderer scale", not apparently clear values scale be. after messing around inputs, got function work 'scale' value of 0. not make intuitive sense me. thought scale value of 1 mean chart keeps scale. why value of 0 work, whereas default scale value of 1 doesn't?

take @ below image. there 2 lines in there, scaled in separate way, "air temperature" on left having scale = 0 , "sunshine hours" on right having scale = 1. pic http://www.achartengine.org/dimages/multiple_axis_cubic_line.png


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -