Comments (8)
参考 Swift
版本的相同问题:
Kotlin
版本的禁用图例的点击事件做法与之类似.
from aachartcore-kotlin.
from aachartcore-kotlin.
饼图禁用图例点击事件的方式稍微特殊一点, 参考:
from aachartcore-kotlin.
但是我用的是java版本的,是这么写吗
aaOptions.plotOptions.series.events = new AASeriesEvents().legendItemClick("false");
from aachartcore-kotlin.
Java
版本的写法:
//禁用图例点击事件
aaOptions.plotOptions.series.events = new AASeriesEvents()
.legendItemClick("function() { " +
"return false; " +
"}");
demo 中有相关示例, 下载运行查看即可.
from aachartcore-kotlin.
点击了之后看起来是不会隐藏折线了,但是折线的颜色变浅了
from aachartcore-kotlin.
这个应该是 Highcharts 刻意的默认效果, 参考:
from aachartcore-kotlin.
点击了之后看起来是不会隐藏折线了,但是折线的颜色变浅了
参考 Swift
版本的相同问题:
from aachartcore-kotlin.
Related Issues (20)
- Is there any event when clicking on the AATooltip?
- Why first series element always on top in column stacked chart HOT 2
- Method chartViewMoveOverEventMessage not override
- X轴坐标如何自定义 HOT 1
- 怎么设置只有部分图表可以点击 HOT 1
- 调用chart.tooltip.refresh(points); 没有回调chartViewMoveOverEventMessage(aaChartView: AAChartView, messageModel: AAMoveOverEventMessageModel)
- 最新7.2.1版本获取不到AAOptions对象
- 当有多条折线时,添加AAChartEvents,只有一条折线上显示了选中默认点 HOT 1
- Is there a way to disable stickyTracking? HOT 2
- [建议] 能否和Glide库一样自带混淆规则
- AAChartModel can't modified programmaticaly ? HOT 6
- How can I change the size of the font of the xAxis and yAxis? HOT 3
- 大神,pro版本什么时候能上啊?目前还不支持sankey! HOT 2
- 使用yAxisMax = 220,但是画出来的图标却是400 HOT 5
- 图表无法左右滑动 HOT 1
- AAChartView 内的方法有具体的介绍说明文章吗? HOT 5
- y轴想要显示2000,结果显示成了2k HOT 1
- 什么时候可以支持矩形树图? HOT 6
- How to custom yAxis value HOT 2
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 aachartcore-kotlin.