作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
如何更改轴上数字的大小?我需要在 y 轴上嵌入 100 个数字,但现在看起来很糟糕
最佳答案
您可以使用文本样式更改文本大小。在轴上为主要刻度标签设置 labelTextStyle
和/或为次要刻度标签设置 minorTickLabelTextStyle
。
设置文本样式的示例代码:
CPTMutableTextStyle *textStyle = [CPTMutableTextStyle textStyle];
textStyle.color = [CPTColor grayColor];
textStyle.fontName = @"Helvetica-Bold";
textStyle.fontSize = 18.0;
关于swift - 更改 CorePlot 中轴上数字的大小,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46622815/
在引用文献中,它们被描述为: axis('equal') changes limits of x or y axis so that equal increments of x and y have
我是一名优秀的程序员,十分优秀!