<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="GetMonthlyDefect.aspx.cs" Inherits="WidgetGraph.GetMonthlyDefect" %>

<%@ Register Assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI.DataVisualization.Charting" TagPrefix="asp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Graph</title>
    <script type="text/javascript">
        function GoBack() {
            window.history.back();
        }
    </script>
    <style type="text/css">
        body
        {
            padding: 2px;
            margin: 2px;
        }
        
        div.Chart
        {
            float: left;
        }
        
        div.ChartToolbar
        {
            float: left;
        }
        
        a
        {
            font-family: Calibri;
            font-size: 12pt;
            font-weight: bold;
            color: Blue;
            text-decoration : none;
        }
    </style>
</head>
<body>
    <form id="GraphForm" runat="server">
        <input type="hidden" name="ChartType" value="column" />
        <div class="Chart">
            <asp:chart ID="DefectChart" Height="400" Width="700" runat="server">
                <legends>
                    <asp:Legend IsTextAutoFit="False" Name="Default" BackColor="Transparent" Font="Trebuchet MS, 8.25pt, style=Bold"></asp:Legend>
                </legends>
                <ChartAreas>
                    <asp:ChartArea Name="MainChartArea"></asp:ChartArea>
                </ChartAreas>
                <Titles>
                    <asp:Title Font="Calibri, 12pt, style=Bold" ForeColor="DimGray" Name="Title"></asp:Title>
                </Titles>
            </asp:chart>   
        </div>
        <div class="ChartToolbar"><br />
            <a href="javascript:GoBack()">Back</a>
        </div>
        <div style="clear: both"></div>
    </form>
</body>
</html>
