<%@ Page Language="C#" MasterPageFile="~/Site.Master" Title="Chart" AutoEventWireup="true" CodeBehind="ChartFeatures.aspx.cs" Inherits="SyncfusionASPNETApplication1.ChartFeatures" %>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<h2>Chart Features:</h2>
<br />
<li> Chart Types - Line Chart</li>
<li> Zooming</li>
<li> CrossHair</li>
<li> Legend Position</li>
<li> ChartSelection</li>
<li> Theme - Flat-Azure</li>
<br/>
<div class="frame ">
<div class="control">
<div id="Tooltip" style="display: none;">
<div id="icon">
<div id="eficon"></div>
</div>
<div id="value">
<div>
<label id="efpercentage"> #point.y#%</label>
<label id="ef">Efficiency</label>
</div>
</div>
</div>
<div id="container">
<ej:WaitingPopup runat="server" ID="waitingpopup" ShowOnInit="false"></ej:WaitingPopup>
<ej:Chart ID="Chart1" runat="server" Width="970" Height="600" CanResize="true" ClientIDMode="Static" EnableCanvasRendering="false" Enable3D="false" OnClientLoad="loadTheme" >
<PrimaryXAxis Title-Text="day"/>
<PrimaryYAxis LabelFormat="{value}" RangePadding="Round" Title-Text="円/米ドル"/>
<CommonSeriesOptions Type="Line" DoughnutSize="0.2" Tooltip-Visible="false" Tooltip-Template="Tooltip" Marker-Size-Height="10"
Marker-Size-Width="10" Marker-Border-Width="2" Marker-Visible="true" EnableAnimation="True"/>
<Series>
<ej:Series Name="円/米ドル" XName="Xvalue" YName="YValue1"></ej:Series>
</Series>
<Legend Visible="true"></Legend>
<Zooming Enable="true" EnableMouseWheel="true" Type="x,y" />
<Crosshair Visible="false" Type="Crosshair" />
<Title Text="為替チャート"></Title>
</ej:Chart>
<ej:Grid ID="Grid1" runat="server" OnServerRowSelected="Grid1_ServerRowSelected">
<Columns>
<ej:Column Field="Xvalue" HeaderText="date" TextAlign="Right" Width="300" />
<ej:Column Field="YValue1" HeaderText="volume" Width="300" TextAlign="Right" />
</Columns>
<ScrollSettings Height="200" Width="600" ></ScrollSettings>
<PageSettings PageSize="15" />
<EditSettings AllowEditing="True" AllowAdding="True" AllowDeleting="True"></EditSettings>
<ToolbarSettings ShowToolbar="True" ToolbarItems="add,edit,delete,update,cancel"></ToolbarSettings>
</ej:Grid>
<br />
</div>
<style>
label {
margin-bottom : -25px !important ;
text-align :center !important;
}
.tooltipDiv {
background-color:#E94649;
color: white;
width:130px;
}
#Tooltip >div:first-child {
float: left;
}
#Tooltip #value {
float: right;
height: 50px;
width: 68px;
}
#Tooltip #value >div {
margin: 5px 5px 5px 5px;
}
#Tooltip #efpercentage {
font-size: 20px;
font-family: segoe ui;
padding-left: 2px;
}
#Tooltip #ef {
font-size: 12px;
font-family: segoe ui;
}
#eficon {
background-image: url("../Content/images/chart/eficon.png");
height: 60px;
width: 60px;
background-repeat: no-repeat;
}
</style>
</div>
</div>
</asp:Content>