鼠标悬停时设置堆栈透明度
我试图使堆栈条形图上的堆栈变得不透明并在鼠标悬停时更加透明。现在默认行为是相反的。通过将 alpha 设置为 1.0,我无需鼠标悬停即可获得不透明的颜色。然而,悬停时不透明度仍为 1.0。有没有办法在鼠标悬停时设置颜色的透明度。
提前致谢
I am trying to make the behavior that the stacks on stack bar chart become opaque and be more transparent while doing mouse hover. Right now the default behavior is opposite. I am able to get the colors as opaque without mouse hover by setting the alpha to 1.0. However the opaqueness remains at 1.0 while hovering. Is there a way to set the transparency of color while doing mouse hover.
thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你看过使用效果吗?理想情况下 openflashchart 支持它们,但我不熟悉该库。但是使用效果是我对于标准控件可能的做法。
have you looked at using an Effect? Ideally openflashchart supports them, but i am not familiar with that lib. But using an Effect is how i would probably do it for a standard control.