I am trying to use custom Myriad Set font for the entire app which contains
graphs built using Core-Plot. I am unable to use the font for X & Y axis
labelTextStyles. All the other system fonts just work fine for the
labelTextStyles.
CPTMutableLineStyle accepts fontName & fontSize separately. So I am not sure
how to set the custom font to labelTextStyles. It would really great if you
someone can help me this.
CPTMutableTextStyle *axisTitleStyle = [CPTMutableTextStyle textStyle];
axisTitleStyle.color = [CPTColor blackColor];
//axisTitleStyle.fontName =
[CGFontCreateWithFontName(kWISRFontNameForSimpleType)];
//UIFont* font = [UIFont fontWithName:@"MyriadSetText" size:20];
axisTitleStyle.fontName = kWISRFontNameForSimpleType; //(Constant with value
@"MyriadSetText")
axisTitleStyle.fontSize = 11.0f;
This actually displays nothing in the graph. Entire Axis label Text is not
displayed.
Original issue reported on code.google.com by vigneshr...@gmail.com on 23 Jul 2013 at 8:58
Original issue reported on code.google.com by
vigneshr...@gmail.com
on 23 Jul 2013 at 8:58