ios - Core Plot : Grid lines appear once per two plots -


am using core plot plot memory statistics iphone app. here sample plot

enter image description here

why grid line appearing every alternating plot? want appear every plot. how do it? here's code configure grid line.

    cptmutablelinestyle *majorgridlinestyle = [cptmutablelinestyle linestyle];     majorgridlinestyle.linewidth = 0.5f;     majorgridlinestyle.linecolor = [cptcolor lightgraycolor]; //[[cptcolor lightgraycolor] colorwithalphacomponent:0.6f];     axisset.xaxis.majorgridlinestyle = majorgridlinestyle;     axisset.yaxis.majorgridlinestyle = majorgridlinestyle; 

please help.

the majorgridlinestyle grid lines @ major tick locations, i.e., ones labels in sample image. set minorgridlinestyle draw lines @ minor tick locations between major ticks. 2 line styles can different, example emphasize major grid lines.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -