⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 defaultcs.aspx

📁 Telerik是很大的第三方软件制造商
💻 ASPX
字号:
<%@ Page AutoEventWireup="false" CodeBehind="DefaultCS.aspx.cs" Inherits="Telerik.ChartExamplesCS.Title.DefaultCS" Language="c#" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.QuickStart" Assembly="Telerik.QuickStart" %>
<%@ Register TagPrefix="telerik" TagName="Header" Src="~/Common/Header.ascx" %>
<%@ Register TagPrefix="telerik" TagName="HeadTag" Src="~/Common/HeadTag.ascx" %>
<%@ Register TagPrefix="telerik" TagName="Footer" Src="~/Common/Footer.ascx" %>
<%@ Register TagPrefix="radc" Namespace="Telerik.WebControls" Assembly="RadChart" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
	<head>
		<telerik:HeadTag runat="server" ID="Headtag1"></telerik:HeadTag>
		<!-- custom head section -->
		<style type="text/css">
			table.center {margin-left:auto; margin-right:auto;}
		</style>		
		<!-- end of custom head section -->
	</head>
	<body class="BODY">
		<form runat="server" id="mainForm" method="post" style="WIDTH:100%">
			<telerik:Header Tab="Config" runat="server" ID="Header1" NavigationLanguage="C#" NavigationControl="~/Chart/Common/ConfigNavigation.ascx"></telerik:Header>
			<!-- content start -->
			<table style="margin: 0px; padding: 0px; width: 94%; border: 0px;">
				<tr>
					<td style="vertical-align: top;">
						<div style="OVERFLOW: auto; WIDTH: 400px; HEIGHT: 360px"><radc:radchart id="RadChart1" ShowLegend="False" Margins-Right="20px" Margins-Top="75px" Margins-Left="20px" Margins-Bottom="25px" Runat="server" LicenseFile="~\RadControls\LicenseFile.xml">
								<Background MainColor="242, 242, 242" GradientFillStyle="Vertical" SecondColor="White" BorderColor="Gray" FillStyle="Gradient"></Background>
								<PlotArea MainColor="224, 224, 224" Corners-BottomLeft="Round" Corners-TopRight="Round" Corners-BottomRight="Round" Corners-RoundSize="6" Corners-TopLeft="Round" GradientFillStyle="Vertical" SecondColor="Gray" BorderColor="DimGray" FillStyle="Gradient"></PlotArea>
								<Legend Visible="False" ItemMark="Circle" ItemFont="Arial, 8.25pt" Location="OutsidePlotArea">
									<Background MainColor="LightGray" Corners-BottomLeft="Round" Corners-TopRight="Round" Corners-BottomRight="Round" Corners-TopLeft="Round" FillStyle="Gradient" BorderColor="64, 64, 64" GradientFocus="0.5"></Background>
								</Legend>
								<ChartSeriesCollection>
									<radc:ChartSeries CenterYOffset="0" CenterXOffset="0" Name="Series 1">
										<Items>
											<radc:ChartSeriesItem YValue="51">
												<Appearance MainColor=""></Appearance>
											</radc:ChartSeriesItem>
											<radc:ChartSeriesItem YValue="81">
												<Appearance MainColor=""></Appearance>
											</radc:ChartSeriesItem>
											<radc:ChartSeriesItem YValue="37">
												<Appearance MainColor=""></Appearance>
											</radc:ChartSeriesItem>
											<radc:ChartSeriesItem YValue="-43">
												<Appearance MainColor=""></Appearance>
											</radc:ChartSeriesItem>
											<radc:ChartSeriesItem YValue="-2">
												<Appearance MainColor=""></Appearance>
											</radc:ChartSeriesItem>
										</Items>
										<Appearance MainColor="Silver" SecondColor="Black" FillStyle="Gradient" BorderColor="DimGray"></Appearance>
										<LabelAppearance TextColor="White" RotationAngle="0" TextFont="Arial, 9pt, style=Bold">
											<Background MainColor=""></Background>
										</LabelAppearance>
									</radc:ChartSeries>
									<radc:ChartSeries CenterYOffset="0" CenterXOffset="0" Name="Series 2">
										<Items>
											<radc:ChartSeriesItem YValue="20">
												<Appearance MainColor=""></Appearance>
											</radc:ChartSeriesItem>
											<radc:ChartSeriesItem YValue="-69">
												<Appearance MainColor=""></Appearance>
											</radc:ChartSeriesItem>
											<radc:ChartSeriesItem YValue="-22">
												<Appearance MainColor=""></Appearance>
											</radc:ChartSeriesItem>
											<radc:ChartSeriesItem YValue="-72">
												<Appearance MainColor=""></Appearance>
											</radc:ChartSeriesItem>
											<radc:ChartSeriesItem YValue="36">
												<Appearance MainColor=""></Appearance>
											</radc:ChartSeriesItem>
										</Items>
										<Appearance MainColor="White" SecondColor="Gray" FillStyle="Gradient" BorderColor="DimGray"></Appearance>
										<LabelAppearance TextColor="White" RotationAngle="0" TextFont="Arial, 9pt, style=Bold">
											<Background MainColor=""></Background>
										</LabelAppearance>
									</radc:ChartSeries>
								</ChartSeriesCollection>
								<XAxis>
									<Items>
										<radc:ChartAxisItem Label="1" Value="0"></radc:ChartAxisItem>
										<radc:ChartAxisItem Label="2" Value="0"></radc:ChartAxisItem>
										<radc:ChartAxisItem Label="3" Value="0"></radc:ChartAxisItem>
										<radc:ChartAxisItem Label="4" Value="0"></radc:ChartAxisItem>
										<radc:ChartAxisItem Label="5" Value="0"></radc:ChartAxisItem>
									</Items>
									<Label VAlignment="Top">
										<Background MainColor=""></Background>
									</Label>
								</XAxis>
								<Title1 Text="r.a.d chart title" TextFont="Arial, 15.75pt, style=Bold" TextColor="Brown" HorPadding="7" Location="OutsidePlotArea">
									<Background MainColor="177, 183, 144" Corners-BottomLeft="Round" Corners-TopRight="Round" Corners-BottomRight="Round" Corners-TopLeft="Round" BorderColor="DarkRed"></Background>
								</Title1>
								<YAxis Step="20" MarkLength="5" MinValue="-80" Visible="False" MaxItemsCount="15">
									<Items>
										<radc:ChartAxisItem Label="-80" Value="-80"></radc:ChartAxisItem>
										<radc:ChartAxisItem Label="-60" Value="-60"></radc:ChartAxisItem>
										<radc:ChartAxisItem Label="-40" Value="-40"></radc:ChartAxisItem>
										<radc:ChartAxisItem Label="-20" Value="-20"></radc:ChartAxisItem>
										<radc:ChartAxisItem Label="0" Value="0"></radc:ChartAxisItem>
										<radc:ChartAxisItem Label="20" Value="20"></radc:ChartAxisItem>
										<radc:ChartAxisItem Label="40" Value="40"></radc:ChartAxisItem>
										<radc:ChartAxisItem Label="60" Value="60"></radc:ChartAxisItem>
										<radc:ChartAxisItem Label="80" Value="80"></radc:ChartAxisItem>
										<radc:ChartAxisItem Label="100" Value="100"></radc:ChartAxisItem>
									</Items>
									<Label TextDirection="Left">
										<Background MainColor=""></Background>
									</Label>
								</YAxis>
								<Gridlines PenStyle="Dot" Visible="True" Color="GhostWhite">
									<VerticalGridlines PenStyle="Dot" Visible="True" Color="GhostWhite"></VerticalGridlines>
									<HorizontalGridlines PenStyle="Dot" Visible="True" Color="GhostWhite"></HorizontalGridlines>
								</Gridlines>
							</radc:radchart></div>
					</td>					
					<td style="vertical-align: top; text-align: right;"><div class="module" style="WIDTH: 301px; HEIGHT: 300px">
							<table class="center">
								<tr>
									<td colspan="2"><b>Customize the Title</b></td>
								</tr>
								<tr>
									<td><asp:label id="Label1" runat="server">Text:</asp:label></td>
									<td><asp:textbox id="txtBoxText" runat="server" Width="140"></asp:textbox></td>
								</tr>
								<tr>
									<td><asp:label id="Label10" runat="server">Text font:</asp:label></td>
									<td><asp:textbox id="txtBoxFont" runat="server" Width="140"></asp:textbox></td>
								</tr>
								<tr>
									<td><asp:label id="Label9" runat="server">Text color:</asp:label></td>
									<td><asp:dropdownlist id="ddlTextColor" runat="server" Width="140"></asp:dropdownlist></td>
								</tr>
								<tr>
									<td><asp:label id="Label8" runat="server">Text direction:</asp:label></td>
									<td><asp:dropdownlist id="ddlTextDirection" runat="server" Width="140"></asp:dropdownlist></td>
								</tr>
								<tr>
									<td><asp:label id="Label3" runat="server">Position:</asp:label></td>
									<td><asp:dropdownlist id="ddlPosition" runat="server" Width="140" AutoPostBack="True"></asp:dropdownlist></td>
								</tr>
								<tr>
									<td><asp:label id="Label2" runat="server">Location:</asp:label></td>
									<td><asp:dropdownlist id="ddlLocation" runat="server" Width="140"></asp:dropdownlist></td>
								</tr>
								<tr>
									<td><asp:label id="Label4" runat="server">Hor. alignment:</asp:label></td>
									<td><asp:dropdownlist id="ddlHorAlignment" runat="server" Width="140"></asp:dropdownlist></td>
								</tr>
								<tr>
									<td><asp:label id="Label5" runat="server">Ver. alignment:</asp:label></td>
									<td><asp:dropdownlist id="ddlVerAlignment" runat="server" Width="140"></asp:dropdownlist></td>
								</tr>
								<tr>
									<td><asp:label id="Label6" runat="server">Hor. spacing:</asp:label></td>
									<td><asp:textbox class="textfield" id="txtBoxHorSpacing" runat="server"></asp:textbox></td>
								</tr>
								<tr>
									<td><asp:label id="Label7" runat="server">Ver. spacing:</asp:label></td>
									<td><asp:textbox class="textfield" id="txtBoxVerSpacing" runat="server"></asp:textbox></td>
								</tr>
								<tr>
									<td align="center" colspan="2"><asp:button id="btnApply" style="BORDER-RIGHT: #33cc00 2px solid; BORDER-TOP: #33cc00 2px solid; BORDER-LEFT: #33cc00 2px solid; BORDER-BOTTOM: #33cc00 2px solid" runat="server" Width="237px" Text="Apply" CssClass="button"></asp:button></td>
								</tr>
								<tr>
									<td colspan="2" align="center">
										<asp:Label id="lblIncorrectSettings" runat="server" ForeColor="Red" Visible="False">Incorrect value(s)!</asp:Label>
									</td>
								</tr>
							</table>
						</div>
					</td>
				</tr>
			</table>
			<!-- content end -->
			<telerik:Footer runat="server" ID="Footer1"></telerik:Footer>
		</form>
	</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -