📄 chartview.aspx
字号:
<%@ Register TagPrefix="dcwc" Namespace="Dundas.Charting.WebControl" Assembly="DundasWebChart" %>
<%@ Page language="c#" Codebehind="ChartView.aspx.cs" AutoEventWireup="false" Inherits="Web.Manage.Vote.ChartView" %>
<html>
<head>
<title>蓝滨投票调查系统C#版本1.0Beta</title>
</head>
<body bgcolor="#d6dbef">
<form id="ImageMapPieToolTip" method="post" runat="server">
<table id="Table1" cellspacing="7" cellpadding="1" border="0">
<tr>
<td valign="top" align="left" width="100%">
<dcwc:chart id="LBVoteChart" runat="server" palette="Berry" imageurl="../../ChartPic/ChartPic_#SEQ(300,3)" backcolor="Navy" width="535px" height="420px" imagetype="Png" borderlinewidth="2" backgradienttype="HorizontalCenter" backgradientendcolor="CornflowerBlue" borderlinecolor="RoyalBlue">
<legends>
<dcwc:Legend AutoFitText="False" BorderColor="Black" FontColor="White" Name="Default" BackColor="120, 252, 252, 252" ShadowColor="128, 50, 50, 50" Font="Microsoft Sans Serif, 9pt" Alignment="Center" ShadowOffset="5"></dcwc:Legend>
</Legends>
<series>
<dcwc:Series XValueType="Double" ChartType="Pie" Name="Series1" BorderColor="64, 64, 64" YValueType="Double"></dcwc:Series>
</Series>
<chartareas>
<dcwc:ChartArea Name="Default" BorderColor="Transparent" BorderStyle="Solid" BackColor="Transparent">
<innerplotposition y="20" height="60" width="54" x="20">
</InnerPlotPosition>
<area3dstyle enable3d="True">
</Area3DStyle>
<position y="10" height="85" width="70" x="3">
</Position>
<axisy>
<labelstyle fontcolor="White">
</LabelStyle>
<majortickmark linecolor="White" enabled="False">
</MajorTickMark>
</AxisY>
<axisx>
<labelstyle fontcolor="White">
</LabelStyle>
<majortickmark linecolor="White" enabled="False">
</MajorTickMark>
</AxisX>
</dcwc:ChartArea>
</ChartAreas>
<titles>
<dcwc:Title Font="Microsoft Sans Serif, 9pt"></dcwc:Title>
</Titles>
<borderskin framebackcolor="CornflowerBlue" framebackgradientendcolor="DarkBlue" skinstyle="FrameTitle8">
</BorderSkin>
</dcwc:chart></td>
<td valign="top" align="left">
</td>
</tr>
</table>
</form>
<p><font face="宋体"></font></p>
<script language="javascript">
function onSliceClicked(pointIndex) {
var objSeries = document.Form1.elements["SeriesTooltip"];
var objLegend = document.Form1.elements["LegendTooltip"];
var parameters = "seriesTooltip=" + objSeries.options[objSeries.selectedIndex].value;
parameters = parameters + "&legendTooltip=" + objLegend.options[objLegend.selectedIndex].value;
document.Form1.elements["LBVoteChart"].ImageUrl = "ImageMapToolTipsChart.aspx?" + parameters;
document.images["LBVoteChart"].src = document.Form1.elements["LBVoteChart"].ImageUrl;
//alert(document.Form1.elements["LBVoteChart"].ImageUrl);
}
</script>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -