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

📄 defaultcs.aspx

📁 Telerik是很大的第三方软件制造商
💻 ASPX
字号:
<%@ Register TagPrefix="radc" Namespace="Telerik.WebControls" Assembly="RadChart" %>
<%@ Register TagPrefix="telerik" TagName="Footer" Src="~/Common/Footer.ascx" %>
<%@ Register TagPrefix="telerik" TagName="HeadTag" Src="~/Common/HeadTag.ascx" %>
<%@ Register TagPrefix="telerik" TagName="Header" Src="~/Common/Header.ascx" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.QuickStart" Assembly="Telerik.QuickStart" %>
<%@ Page AutoEventWireup="false" CodeBehind="DefaultCS.aspx.cs" Inherits="Telerik.ChartExamplesCS.Gradients.DefaultCS" Language="c#" %>
<!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 runat="server" ID="Header1" NavigationLanguage="C#" NavigationControl="~/Chart/Common/ConfigNavigation.ascx" Tab="Config"></telerik:Header>
			<!-- content start -->
			<table cellspacing="0" cellpadding="0" style="width: 94%; border: 0px;">
				<tr>
					<td valign="top">
						<div style="OVERFLOW: auto; WIDTH: 400px; HEIGHT: 360px"><radc:radchart id="RadChart1" Margins-Right="96px" Margins-Top="50px" Margins-Left="20px" Margins-Bottom="26px" Runat="server" LicenseFile="~\RadControls\LicenseFile.xml">
								<Legend>
									<Background MainColor="177, 183, 144" 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" MinValue="-80" Visible="False" MaxItemsCount="15" Step="20"></YAxis>
								<Title1 Text="r.a.d chart title" TextColor="White">
									<Background MainColor="177, 183, 144" Corners-BottomLeft="Round" Corners-TopRight="Round" Corners-BottomRight="Round" Corners-RoundSize="3" Corners-TopLeft="Round" FillStyle="Solid" BorderColor="64, 64, 64"></Background>
								</Title1>
								<XAxis LabelRotationAngle="0" MaxValue="5" MinValue="1" Step="1"></XAxis>
								<ChartSeriesCollection>
									<radc:ChartSeries Name="Series 1" DefaultLabel="#Y">
										<Items>
											<radc:ChartSeriesItem YValue="-18"></radc:ChartSeriesItem>
											<radc:ChartSeriesItem YValue="74"></radc:ChartSeriesItem>
											<radc:ChartSeriesItem YValue="89"></radc:ChartSeriesItem>
											<radc:ChartSeriesItem YValue="-65"></radc:ChartSeriesItem>
											<radc:ChartSeriesItem YValue="-55"></radc:ChartSeriesItem>
										</Items>
										<Appearance MainColor="199, 243, 178" SecondColor="17, 147, 7" BorderColor="DimGray"></Appearance>
										<LabelAppearance Distance="0" Alignment="TopCenter"></LabelAppearance>
									</radc:ChartSeries>
									<radc:ChartSeries Name="Series 2" DefaultLabel="#Y">
										<Items>
											<radc:ChartSeriesItem YValue="-52"></radc:ChartSeriesItem>
											<radc:ChartSeriesItem YValue="-71"></radc:ChartSeriesItem>
											<radc:ChartSeriesItem YValue="-35"></radc:ChartSeriesItem>
											<radc:ChartSeriesItem YValue="65"></radc:ChartSeriesItem>
											<radc:ChartSeriesItem YValue="70"></radc:ChartSeriesItem>
										</Items>
										<Appearance MainColor="253, 226, 0" SecondColor="255, 156, 0" BorderColor="DimGray"></Appearance>
										<LabelAppearance Distance="0" Alignment="TopCenter"></LabelAppearance>
									</radc:ChartSeries>
								</ChartSeriesCollection>
							</radc:radchart></div>
					</td>
					<td valign="top" align="right"><div class="module" style="WIDTH: 301px; HEIGHT: 274px">
							<table>
								<tr>
									<td colspan="2"><b>Set Gradient Fills</b></td>
								</tr>
								<tr>
									<td><asp:label id="Label4" runat="server">Chart Element:</asp:label></td>
									<td><asp:dropdownlist id="ddlChartElement" runat="server" Width="140px" AutoPostBack="True">
											<asp:ListItem Value="Background">Background</asp:ListItem>
											<asp:ListItem Value="Plot area">Plot area</asp:ListItem>
											<asp:ListItem Value="Title">Title</asp:ListItem>
											<asp:ListItem Value="Legend">Legend</asp:ListItem>
											<asp:ListItem Value="Series 1">Series 1</asp:ListItem>
											<asp:ListItem Value="Series 2">Series 2</asp:ListItem>
											<asp:ListItem Value="Series 1 item">Series 1 item</asp:ListItem>
											<asp:ListItem Value="Series 2 item">Series 2 item</asp:ListItem>
										</asp:dropdownlist></td>
								</tr>
								<tr>
									<td><asp:label id="Label1" runat="server">Main Color:</asp:label></td>
									<td><asp:dropdownlist id="ddlMainColor" runat="server" Width="140px"></asp:dropdownlist></td>
								</tr>
								<tr>
									<td><asp:label id="Label2" runat="server">Second Color:</asp:label></td>
									<td><asp:dropdownlist id="ddlSecondColor" runat="server" Width="140px"></asp:dropdownlist></td>
								</tr>
								<tr>
									<td style="white-space: nowrap"><asp:label id="Label3" runat="server">Gradient Fill Style:</asp:label></td>
									<td><asp:dropdownlist id="ddlGradientFillStyle" runat="server" Width="140px"></asp:dropdownlist></td>
								</tr>
								<tr>
									<td><asp:label id="Label5" runat="server">Gradient Focus:</asp:label></td>
									<td><asp:textbox class="textfield" id="txtBoxGradientFocus" runat="server">0.5</asp:textbox><asp:rangevalidator id="RangeValidator1" runat="server" ErrorMessage="Value must be between 0 and 1" ControlToValidate="txtBoxGradientFocus" MinimumValue="0" MaximumValue="1"></asp:rangevalidator></td>
								</tr>
								<tr>
									<td></td>
									<td><asp:checkbox id="cbGammaCorrection" runat="server" Width="10px"></asp:checkbox><asp:label id="Label6" runat="server">Gamma Correction</asp:label></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" runat="server" Width="160" Text="Apply" CssClass="button"></asp:button></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 + -