Make just 1 grid line dashed


#1

Is it possible to make just 1 grid line on an axis dashed? We can do all of them with ‘dashedMajorGridLines’ but I’d like to make 1 specific grid line dashed.


#2

Hi,

This isn’t something we directly support, however I’ll note down your interest and we may add it to our charts roadmap in the future.

For now, you could create an annotation and then add a dashed line to this as a subview (using drawRect:) or using a CAShapeLayer and adding it as a sublayer (http://stackoverflow.com/a/12702204/703700).

Kind regards,

Sam