How To Customize Plot Area of CorePlot in Graph?

Set the majorGridLineStyle and/or minorGridLineStyle on the y-axis to draw horizontal lines at the major and minor tick locations, respectively.

Set the majorGridLineStyle and/or minorGridLineStyle on the y-axis to draw horizontal lines at the major and minor tick locations, respectively. Use the dashPattern and patternPhase properties of the line style to make a dotted line. See Apple's Quartz 2D docs for details on how those properties work.

Eric this is not useful for me can you give me some code to explain it completely, because I am unable where to use this code. – Amit Jan 9 at 5:42 Eric it works completely. Thanks!

– Amit Jan 9 at 6:23 Eric I am trying to plot dotted lines with patternPhase and dashPattern but it is showing an error: object cannot be set - either readonly property or no setter found... – Amit Jan 9 at 6:58 Eric I found my answer like ..CPTMutableLineStyle *dottedStyle=CPTMutableLineStyle lineStyle; dottedStyle. DashPattern=NSArray arrayWithObjects:NSDecimalNumber numberWithInt:1, NSDecimalNumber numberWithInt:2,nil; dottedStyle. PatternPhase=0.0f; – Amit Jan 9 at 8:01 Thanks for supporting me!

– Amit Jan 9 at 8:02.

This is my code which I have used for above.... // create an object of CPTMutableLineStyle and set property of it. CPTMutableLineStyle *dottedStyle=CPTMutableLineStyle lineStyle; dottedStyle. DashPattern=NSArray arrayWithObjects:NSDecimalNumber numberWithInt:1,NSDecimalNumber numberWithInt:2,nil; dottedStyle.

PatternPhase=0.0f; // set the majorGridLinestyleProperty by this line as. AxisSet.yAxis. MajorGridLineStyle=dottedStyle.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions