DevExpress chartcontrol饼图的问题

加会怪怪的 2014-05-16 03:14:27
怎么实现鼠标悬浮上饼图红色区域位置 然后提示信息,悬浮到蓝色上区域位置又提示信息
...全文
1221 14 打赏 收藏 转发到动态 举报
写回复
用AI写文章
14 条回复
切换为时间正序
请发表友善的回复…
发表回复
jglie 2014-12-17
  • 打赏
  • 举报
回复
// series1.LegendPointOptions.PointView = PointView.SeriesName; series1.LegendPointOptions.PointView = PointView.ArgumentAndValues;
exception92 2014-05-30
  • 打赏
  • 举报
回复
引用 12 楼 u014616216 的回复:
[quote=引用 11 楼 duanzi_peng 的回复:] [quote=引用 9 楼 u014616216 的回复:] [quote=引用 8 楼 duanzi_peng 的回复:] [quote=引用 7 楼 u014616216 的回复:] [quote=引用 6 楼 duanzi_peng 的回复:] [quote=引用 5 楼 u014616216 的回复:] [quote=引用 2 楼 duanzi_peng 的回复:] 是 右上角的 区域吗?
不是,就是大的那两块区域[/quote] 你设置它的 ToolTipEnabled 为true 试试。[/quote]不行 ,没有用。我想那样做的话应该会触发什么事件吧[/quote] 以前写过 柱状图 ,是为了自定义它的toolTip 的显示格式。我感觉这个pie 是没有你所说的那种功能,因为它都可以现实每个块的信息,比如你的图片。[/quote]这个是有这个功能的,demo里面也有,但是看不懂他的源码,写的乱七八糟,没有关键代码[/quote] 上图 把你的Series.ToolTipEnabled = DevExpress.Utils.DefaultBoolean.True; 或者 设置成true都可以了。 [/quote]没有效果的 ,这段代码 我早试过了 。 你测试过了吗 ?[/quote] 我的图 不都是截给你了吗??dexexpress 版本是多少?
加会怪怪的 2014-05-30
  • 打赏
  • 举报
回复
引用 11 楼 duanzi_peng 的回复:
[quote=引用 9 楼 u014616216 的回复:] [quote=引用 8 楼 duanzi_peng 的回复:] [quote=引用 7 楼 u014616216 的回复:] [quote=引用 6 楼 duanzi_peng 的回复:] [quote=引用 5 楼 u014616216 的回复:] [quote=引用 2 楼 duanzi_peng 的回复:] 是 右上角的 区域吗?
不是,就是大的那两块区域[/quote] 你设置它的 ToolTipEnabled 为true 试试。[/quote]不行 ,没有用。我想那样做的话应该会触发什么事件吧[/quote] 以前写过 柱状图 ,是为了自定义它的toolTip 的显示格式。我感觉这个pie 是没有你所说的那种功能,因为它都可以现实每个块的信息,比如你的图片。[/quote]这个是有这个功能的,demo里面也有,但是看不懂他的源码,写的乱七八糟,没有关键代码[/quote] 上图 把你的Series.ToolTipEnabled = DevExpress.Utils.DefaultBoolean.True; 或者 设置成true都可以了。 [/quote]没有效果的 ,这段代码 我早试过了 。 你测试过了吗 ?
exception92 2014-05-28
  • 打赏
  • 举报
回复
引用 9 楼 u014616216 的回复:
[quote=引用 8 楼 duanzi_peng 的回复:]
[quote=引用 7 楼 u014616216 的回复:]
[quote=引用 6 楼 duanzi_peng 的回复:]
[quote=引用 5 楼 u014616216 的回复:]
[quote=引用 2 楼 duanzi_peng 的回复:]
是 右上角的 区域吗?


不是,就是大的那两块区域[/quote]
你设置它的 ToolTipEnabled 为true 试试。[/quote]不行 ,没有用。我想那样做的话应该会触发什么事件吧[/quote]
以前写过 柱状图 ,是为了自定义它的toolTip 的显示格式。我感觉这个pie 是没有你所说的那种功能,因为它都可以现实每个块的信息,比如你的图片。[/quote]这个是有这个功能的,demo里面也有,但是看不懂他的源码,写的乱七八糟,没有关键代码[/quote]
上图

把你的Series.ToolTipEnabled = DevExpress.Utils.DefaultBoolean.True; 或者 设置成true都可以了。
exception92 2014-05-27
  • 打赏
  • 举报
回复
加会怪怪的 2014-05-27
  • 打赏
  • 举报
回复
引用 8 楼 duanzi_peng 的回复:
[quote=引用 7 楼 u014616216 的回复:] [quote=引用 6 楼 duanzi_peng 的回复:] [quote=引用 5 楼 u014616216 的回复:] [quote=引用 2 楼 duanzi_peng 的回复:] 是 右上角的 区域吗?
不是,就是大的那两块区域[/quote] 你设置它的 ToolTipEnabled 为true 试试。[/quote]不行 ,没有用。我想那样做的话应该会触发什么事件吧[/quote] 以前写过 柱状图 ,是为了自定义它的toolTip 的显示格式。我感觉这个pie 是没有你所说的那种功能,因为它都可以现实每个块的信息,比如你的图片。[/quote]这个是有这个功能的,demo里面也有,但是看不懂他的源码,写的乱七八糟,没有关键代码
exception92 2014-05-21
  • 打赏
  • 举报
回复
引用 7 楼 u014616216 的回复:
[quote=引用 6 楼 duanzi_peng 的回复:] [quote=引用 5 楼 u014616216 的回复:] [quote=引用 2 楼 duanzi_peng 的回复:] 是 右上角的 区域吗?
不是,就是大的那两块区域[/quote] 你设置它的 ToolTipEnabled 为true 试试。[/quote]不行 ,没有用。我想那样做的话应该会触发什么事件吧[/quote] 以前写过 柱状图 ,是为了自定义它的toolTip 的显示格式。我感觉这个pie 是没有你所说的那种功能,因为它都可以现实每个块的信息,比如你的图片。
加会怪怪的 2014-05-21
  • 打赏
  • 举报
回复
引用 6 楼 duanzi_peng 的回复:
[quote=引用 5 楼 u014616216 的回复:] [quote=引用 2 楼 duanzi_peng 的回复:] 是 右上角的 区域吗?
不是,就是大的那两块区域[/quote] 你设置它的 ToolTipEnabled 为true 试试。[/quote]不行 ,没有用。我想那样做的话应该会触发什么事件吧
exception92 2014-05-21
  • 打赏
  • 举报
回复
引用 5 楼 u014616216 的回复:
[quote=引用 2 楼 duanzi_peng 的回复:] 是 右上角的 区域吗?
不是,就是大的那两块区域[/quote] 你设置它的 ToolTipEnabled 为true 试试。
加会怪怪的 2014-05-20
  • 打赏
  • 举报
回复
引用 2 楼 duanzi_peng 的回复:
是 右上角的 区域吗?
不是,就是大的那两块区域
加会怪怪的 2014-05-20
  • 打赏
  • 举报
回复
引用 1 楼 u014616216 的回复:
饼状图是我动态生成的
不是,就是大的那两块区域
exception92 2014-05-19
  • 打赏
  • 举报
回复
是 右上角的 区域吗?
markly999 2014-05-19
  • 打赏
  • 举报
回复
不太清楚,没用过
加会怪怪的 2014-05-16
  • 打赏
  • 举报
回复
饼状图是我动态生成的

8,834

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 组件/控件开发
社区管理员
  • 组件/控件开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧