Guest User

Untitled

a guest
Oct 22nd, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.78 KB | None | 0 0
  1. <%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
  2. CodeBehind="Default.aspx.cs" Inherits="Sample._Default" %>
  3.  
  4. <%@ Register Assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
  5. Namespace="System.Web.UI.DataVisualization.Charting" TagPrefix="asp" %>
  6.  
  7. <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
  8.  
  9.  
  10. <asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
  11. </asp:Content>
  12. <asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
  13.  
  14.  
  15. <asp:ScriptManager ID="ScriptManager1" runat="server">
  16. </asp:ScriptManager>
  17.  
  18.  
  19.  
  20. <form runat="server" method="get" action="Default.aspx">
  21. Date: <input type="text" name="inputdate" />
  22. <input type="submit" value="Submit" />
  23. </form>
  24.  
  25.  
  26. <asp:Chart ID="Chart1" runat="server" Height="296px" Width="460px">
  27. <Series>
  28. <asp:Series Name="BoxPlotSeries" ChartType="BoxPlot" ChartArea="BoxPlotArea">
  29. </asp:Series>
  30. </Series>
  31. <Series>
  32. <asp:Series Name="DataSeries" ChartType="Point" ChartArea="DataChartArea">
  33. </asp:Series>
  34. </Series>
  35.  
  36. <ChartAreas>
  37. <asp:ChartArea Name="BoxPlotArea" >
  38. <position y="12" height="82" width="20" x="61"></position>
  39. </asp:ChartArea>
  40. </ChartAreas>
  41. <ChartAreas>
  42. <asp:ChartArea Name="DataChartArea" >
  43. <position y="12" height="82" width="60" x="2"></position>
  44. </asp:ChartArea>
  45. </ChartAreas>
  46.  
  47. </asp:Chart>
  48.  
  49.  
  50. <p></p>
  51.  
  52.  
  53.  
  54. <asp:DataGrid ID="dg" runat="server">
  55.  
  56. </asp:DataGrid>
  57.  
  58.  
  59.  
  60. </asp:Content>
Add Comment
Please, Sign In to add comment