如何将工具提示添加到asp饼图 [英] How to add the tool tip to asp pie chart

查看:66
本文介绍了如何将工具提示添加到asp饼图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨专家,

我有一个asp饼图

目前每个街区都显示百分比。每个百分比有一些数量

- 来自另一个数据表我想显示鼠标上每个部分的数量



感谢你

(Keerthi Kumar)

解决方案

请尝试如下。



1.在设计图面上选择Chart控件

2.打开属性窗口

3.找到Series属性并单击省略号打开系列集编辑器

4.在左侧窗格中确保Series1突出显示

5.在右侧窗格中向下滚动,直至找到ToolTip

6.单击省略号打开String Keywords Editor对话框

7.在String Keywords Editor对话框中,单击Insert New Keyword按钮

8.选择Y值作为总计百分比选项

您可以通过更改格式下拉菜单中的值来自定义工具提示的格式。

要创建自己的自定义格式,请在格式下拉列表中选择自定义选项。



9.单击关键字编辑器对话框中的确定按钮

10.单击String Keywords Editor对话框中的Ok按钮。

11.单击Series Collection Editor对话框中的Ok按钮。

12.运行应用程序时,您应该看到特定于饼图的每个部分的工具提示。



点击此处查看更多信息: 使用工具提示创建ASP.NET饼图


以最好的例子看这篇文章..



使用ASP.NET图表控件的工具提示的简单图表 [ ^ ]

Hi experts,
I have a asp pie chart
On each block presently am showing percentage. that each percentage is having some count
-- from one more datatable i wanted to show the count of each part on mouse over

Thanking you
(Keerthi Kumar)

解决方案

Please try is as below.

1.Select the Chart control on the design surface
2.Open the properties window
3.Locate the "Series" property and click the ellipsis to open the "Series Collection Editor"
4.In the left pane make sure "Series1″ is highlighted
5.On the right pane scroll down until you locate "ToolTip"
6.Click the ellipsis to open the "String Keywords Editor" dialog
7.In the String Keywords Editor dialog click the button "Insert New Keyword"
8.Select the option "Y Value as Percentage of Total"
You can customize the formatting of the tooltips by changing values in the "Format" drop down.
To create your own custom formatting select the "Custom" option in the "Format" drop down list.

9.Click the "Ok" button on Keyword Editor dialog
10.Click the "Ok" button on the String Keywords Editor dialog.
11.Click the "Ok" button on the Series Collection Editor dialog.
12.Run the application you should see tooltips specific to each section of the pie graph.

Check here for more info: Create ASP.NET Pie Chart With Tooltips


see this article with best example..

Simple Chart with ToolTip using ASP.NET Chart Control[^]


这篇关于如何将工具提示添加到asp饼图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆