<%@ Page Language="C#" %>
<%@ Register Assembly="System.Web.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
Namespace="System.Web.UI.WebControls" TagPrefix="asp" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!DOCTYPE html>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head runat="server">
<title>Telerik ASP.NET Example</title>
</head>
<body>
<form id="form1" runat="server">
<telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
<telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" />
<asp:EntityDataSource ID="EntityDataSource1" runat="server" ConnectionString="name=NorthwindReadOnlyEntities"
DefaultContainerName="NorthwindReadOnlyEntities" CommandText="select p.ProductName, p.UnitsInStock from NorthwindReadOnlyEntities.Products as p where p.CategoryID = 1">
</asp:EntityDataSource>
<div class="demo-container size-wide">
<telerik:RadHtmlChart runat="server" ID="RadHtmlChart1" Width="800px" Height="500px"
DataSourceID="EntityDataSource1">
<PlotArea>
<Series>
<telerik:BarSeries DataFieldY="UnitsInStock" Name="Drinks">
<TooltipsAppearance Visible="false"></TooltipsAppearance>
</telerik:BarSeries>
</Series>
<XAxis DataLabelsField="ProductName">
<MinorGridLines Visible="false"></MinorGridLines>
<MajorGridLines Visible="false"></MajorGridLines>
</XAxis>
<YAxis>
<TitleAppearance Text="Units"></TitleAppearance>
<MinorGridLines Visible="false"></MinorGridLines>
</YAxis>
</PlotArea>
<Legend>
<Appearance Visible="false"></Appearance>
</Legend>
<ChartTitle Text="Units In Stock">
</ChartTitle>
</telerik:RadHtmlChart>
</div>
</form>
</body>
</html>