Comments (4)
- 刻度线只有一点点的长度, 设置成虚线意义不大, 而且也不支持设置成虚线.
aaOptions.yAxis.tickWidth
和aaOptions.yAxis.tickColor
设置的是刻度线相关内容, 然而刻度线 tick
与标志线 yAxisPlotLines
是两个东西.- 如果你是想将
yAxisPlotLines
设置成虚线, 参考: https://api.highcharts.com/highcharts/xAxis.plotLines.dashStyle
我感觉你应该是把刻度线 tick
和标志线 plotLines
以及网格线 gridLine
这三者的概念弄混了, 可以先查看在线文档:
from aachartkit.
感谢您的回复。想再次确认一下,图中的这个横线可以自定义颜色,或者换成虚线吗?
from aachartkit.
你图中所示的是 Y
轴的网格线 gridLine
, 对应的的属性是 AAYAxis
中的如下内容:
AAPropStatementAndPropSetFuncStatement(strong, AAYAxis, NSNumber *, gridLineWidth) // y 轴网格线宽度
AAPropStatementAndPropSetFuncStatement(copy, AAYAxis, NSString *, gridLineColor) // y 轴网格线颜色
AAPropStatementAndPropSetFuncStatement(copy, AAYAxis, NSString *, gridLineDashStyle) //网格线线条样式,所有可用的线条样式参考:Highcharts线条样式
AAPropStatementAndPropSetFuncStatement(strong, AAYAxis, NSNumber *, gridZIndex) //网格线的层叠值(zIndex) 默认是:1.
AAPropStatementAndPropSetFuncStatement(copy, AAYAxis, AAChartYAxisGridLineInterpolationType, gridLineInterpolation) //Polar charts only. Whether the grid lines should draw as a polygon with straight lines between categories, or as circles. Can be either circle or polygon. 默认是:null.
参考对应的在线文档:
- https://api.highcharts.com/highcharts/yAxis.gridLineColor
- https://api.highcharts.com/highcharts/yAxis.gridLineDashStyle
等等, 就不一一列举了.
from aachartkit.
非常感谢!
from aachartkit.
Related Issues (20)
- ios AALegend 如何禁止点击 禁用点击区块 (尝试过 很多属性都不能满足需求) HOT 2
- Y轴labels无法自定义显示格式化 HOT 1
- 最新版本获取不到AAOptions HOT 1
- Swift 无法为 X 轴文字 Labels 添加点击事件 HOT 1
- 如何默认选中折线图某个点 HOT 2
- How to change range on Y axis HOT 11
- Background color change is late, so it flashes from white to selected color
- 当y轴数据为0时,如何让这条数据的数值0不展示 HOT 1
- 如何使用自定义字体ttf?
- Crash on [WKWebView initWithFrame: configuration:]
- 柱状图 dataLabels的设置问题 HOT 5
- 如何绘制成不完整的扇形图,只能绘制完整圆吗 HOT 1
- About PrivacyInfo.xcprivacy HOT 4
- 如何通过代码让选中标识隐藏 HOT 2
- 你好作者。pie类型中 aaDataLabels.filter(<#T##[String : Any]?#>) 中的值如何填写呢? HOT 3
- 你好,使用曲线图时,当曲线数量比较多的时候,点击曲线的时候会很卡,浮动提示框显示的会很慢,想问下有什么办法解决? HOT 8
- 你好如何实现双Y轴柱形图组合折线图的效果两个Y轴代表了不同图 HOT 2
- 有些属性不知道怎么进行处理? HOT 7
- 浮动窗可以进行添加点击方法吗 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aachartkit.