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

📄 defaultcs.aspx

📁 Telerik是很大的第三方软件制造商
💻 ASPX
字号:
<%@ Page AutoEventWireup="false" CodeBehind="DefaultCS.aspx.cs" Inherits="Telerik.ChartExamplesCS.XAxis.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="width: 94%; border: 0px;">
				<tr>
					<td style="vertical-align: top">
						<div style="OVERFLOW: auto; WIDTH: 400px; HEIGHT: 360px"><radc:radchart id="RadChart1" LicenseFile="~\RadControls\LicenseFile.xml" ShowLegend="False" ShowTitle="False" Margins-Right="30px" Margins-Top="30px" Margins-Left="30px" Margins-Bottom="60px" Height="300px" Width="400px" Runat="server">
								<Background MainColor="242, 242, 242" SecondColor="White"></Background>
								<PlotArea MainColor="224, 224, 224" SecondColor="Gray"></PlotArea>
								<Legend Visible="False">
									<Background MainColor="LightGray" Corners-BottomLeft="Round" Corners-TopRight="Round" Corners-BottomRight="Round" Corners-RoundSize="3" Corners-TopLeft="Round" BorderColor="64, 64, 64" GradientFocus="0.5"></Background>
								</Legend>
								<YAxis LabelRotationAngle="0" MaxValue="90" Visible="False" MaxItemsCount="15"></YAxis>
								<Title1 Text="r.a.d chart title" Visible="False" TextColor="White">
									<Background MainColor="LightGray" Corners-BottomLeft="Round" Corners-TopRight="Round" Corners-BottomRight="Round" Corners-RoundSize="3" Corners-TopLeft="Round" BorderColor="64, 64, 64"></Background>
								</Title1>
								<XAxis DefaultItemFont="Arial, 9pt, style=Bold" DefaultItemColor="SaddleBrown" LabelRotationAngle="0" AxisColor="DarkOrange" AxisWidth="4" MarkLength="9" MaxValue="5" MinValue="1" MarkWidth="2" MarkColor="DarkOrange" Step="1">
									<Label Text="X Axis Label" HorPadding="10" TextColor="SaddleBrown" TextFont="Verdana, 12pt, style=Bold">
										<Background MainColor="SeaShell" Corners-BottomLeft="Round" Corners-TopRight="Round" Corners-BottomRight="Round" Corners-RoundSize="6" Corners-TopLeft="Round" SecondColor="PeachPuff" BorderColor="DarkRed" GradientFocus="0.5"></Background>
									</Label>
								</XAxis>
								<ChartSeriesCollection>
									<radc:ChartSeries Name="Series 1" DefaultLabel="#Y">
										<Items>
											<radc:ChartSeriesItem YValue="51"></radc:ChartSeriesItem>
											<radc:ChartSeriesItem YValue="81"></radc:ChartSeriesItem>
											<radc:ChartSeriesItem YValue="37"></radc:ChartSeriesItem>
											<radc:ChartSeriesItem YValue="43"></radc:ChartSeriesItem>
											<radc:ChartSeriesItem YValue="13"></radc:ChartSeriesItem>
										</Items>
										<Appearance MainColor="Silver" SecondColor="Black" BorderColor="DimGray"></Appearance>
										<LabelAppearance Distance="0" Alignment="TopCenter"></LabelAppearance>
									</radc:ChartSeries>
									<radc:ChartSeries Name="Series 2" DefaultLabel="#Y">
										<Items>
											<radc:ChartSeriesItem YValue="20"></radc:ChartSeriesItem>
											<radc:ChartSeriesItem YValue="69"></radc:ChartSeriesItem>
											<radc:ChartSeriesItem YValue="22"></radc:ChartSeriesItem>
											<radc:ChartSeriesItem YValue="72"></radc:ChartSeriesItem>
											<radc:ChartSeriesItem YValue="36"></radc:ChartSeriesItem>
										</Items>
										<Appearance MainColor="White" SecondColor="Gray" BorderColor="DimGray"></Appearance>
										<LabelAppearance Distance="0" Alignment="TopCenter"></LabelAppearance>
									</radc:ChartSeries>
								</ChartSeriesCollection>
							</radc:radchart></div>
					</td>
					<td style="vertical-align: top; text-aling: right;"><div class="module" style="WIDTH: 315px; HEIGHT: 420px">
							<table class="center">
								<tr>
									<td colspan="2"><b>Customize the X axis</b></td>
								</tr>
								<tr>
									<td style="WIDTH: 137px"><asp:label id="Label6" runat="server">Series type:</asp:label></td>
									<td><asp:dropdownlist id="ddlSeriesType" Width="140" runat="server"></asp:dropdownlist></td>
								</tr>								
								<tr>
									<td style="WIDTH: 137px"><asp:label id="Label1" runat="server">Items in series:</asp:label></td>
									<td><asp:textbox class="textfield" id="txtBoxSeriesItemsCount" runat="server"></asp:textbox></td>
								</tr>
								<tr>
									<td style="WIDTH: 137px"><asp:label id="Label9" runat="server">Items in axis:</asp:label></td>
									<td><asp:textbox class="textfield" id="txtBoxItemsCount" runat="server"></asp:textbox></td>
								</tr>								
								<tr>
									<td style="WIDTH: 137px"><asp:checkbox id="cbAutoScale" Width="80px" runat="server" Text="AutoScale"></asp:checkbox></td>
									<td></td>
								</tr>
								<tr>
									<td style="WIDTH: 137px"><asp:label id="Label2" runat="server">Axis style:</asp:label></td>
									<td><asp:dropdownlist id="ddlAxisStyle" Width="140" runat="server"></asp:dropdownlist></td>
								</tr>
								<tr>
									<td style="WIDTH: 137px"><asp:label id="Label3" runat="server"> Axis label:</asp:label></td>
									<td><asp:textbox class="textfield" id="txtBoxAxisLabel" runat="server"></asp:textbox></td>
								</tr>
								<tr>
									<td style="WIDTH: 137px"><asp:label id="Label5" runat="server">Label Alignment:</asp:label></td>
									<td><asp:dropdownlist id="ddlHorAlignment" Width="140" runat="server"></asp:dropdownlist></td>
								</tr>
								<tr>
									<td style="WIDTH: 137px"><asp:checkbox id="cbShowMarks" Width="122px" runat="server" Text="ShowMarks"></asp:checkbox></td>
									<td><asp:checkbox id="cbShowItemLabels" Width="150px" runat="server" Text="ShowItemLabels"></asp:checkbox></td>
								</tr>
								<tr>
									<td style="WIDTH: 137px"><asp:label id="Label4" runat="server">Mark Length:</asp:label></td>
									<td><asp:textbox class="textfield" id="txtBoxMarkLength" runat="server"></asp:textbox></td>
								</tr>
								<tr>
									<td style="WIDTH: 137px"><asp:label id="Label7" runat="server">Space to item labels:</asp:label></td>
									<td><asp:textbox class="textfield" id="txtBoxSpaceToItemLabel" runat="server"></asp:textbox></td>
								</tr>
								<tr>
									<td style="WIDTH: 137px"><asp:label id="Label8" runat="server">Space to axis label:</asp:label></td>
									<td><asp:textbox class="textfield" id="txtBoxSpaceToAxisLabel" runat="server"></asp:textbox></td>
								</tr>
								<tr>
									<td style="WIDTH: 137px"><asp:label id="Label10" runat="server">Label rotation angle:</asp:label></td>
									<td><asp:textbox class="textfield" id="txtBoxRotationAngle" runat="server">0</asp:textbox></td>
								</tr>
								<tr>
									<td>
										<p>Value format:</p>
									</td>
									<td><asp:dropdownlist id="ddlValueFormat" Width="140px" runat="server"></asp:dropdownlist></td>
								</tr>
								<tr>
									<td>Custom format:</td>
									<td><asp:textbox class="textfield" id="txtBoxCustomFormat" runat="server"></asp:textbox></td>
								</tr>
								<tr>
									<td align="center" colspan="2"><asp:button id="Button1" style="BORDER-RIGHT: #33cc00 2px solid; BORDER-TOP: #33cc00 2px solid; BORDER-LEFT: #33cc00 2px solid; BORDER-BOTTOM: #33cc00 2px solid" Height="22px" Width="244px" runat="server" 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 + -