ios - Coreplot iOS - Color space between graph bars
问题描述
I am using CorePlot iOS library to create a bar chart for my application.Though I want alternate colors in the spaces between the bars. Have been stuck on this for a while .Can you guide me if this is possible and how ?
解决方案
使用alternatingBandFills
轴上的 。CPTFill
这是一个由、CPTColor
、CPTGradient
、CPTImage
或[NSNull null]
对象组成的数组。在绘图后面的轴上的每个主要刻度位置之间绘制填充。
推荐阅读
- ios - 将文本放在屏幕的顶部和中心之间
- python - 更新 Django 数据库中的布尔字段
- haskell - Haskell中'@'运算符的含义是什么
- c# - 如何从 DataGridView 中的行 ping 每个 IP?
- python - rqscheduler docker 因时间不匹配错误而停止
- debugging - 如何强制终止 Google Apps 脚本
- ubuntu - Apache2 总是将默认站点加载为我的 PrestaShop 首页
- javascript - Typescript - 如何推断非调用函数中的泛型?
- r - 如何将格式化的表格输出保存为 .png?
- javascript - 如何检查值是否已包含在数组javascript中