<%@ Page Language="C#" MasterPageFile="~/masterpages/eDashboard.master" AutoEventWireup="True"
    Inherits="CallCenterDashboard" Theme="eMain" CodeBehind="CallCenterDashboard.aspx.cs" %>

<%@ Register TagPrefix="dgwc" Namespace="Dundas.Gauges.WebControl" Assembly="DundasWebGauge" %>
<asp:Content ID="Content1" ContentPlaceHolderID="eContent" runat="Server">
    <dgwc:GaugeContainer id="gcCallCenter" autolayout="False" runat="server" width="931px"
        height="352px" backcolor="#E3EDFE" refreshrate="60" realtimedatainterval="5"
        rendertype="RealTimeStreaming" onrealtimedata="GaugeContainer1_RealTimeData">
        <Labels>
            <dgwc:GaugeLabel Name="gaugeCallVolume" TextColor="White" BackGradientEndColor=""
                Parent="" BackColor="" Text="<%$ Resources: Default, LabelCallVolume %>">
                <Size Height="10" Width="25"></Size>
                <Location Y="21.1" X="34.1"></Location>
            </dgwc:GaugeLabel>
            <dgwc:GaugeLabel Name="gaugeAvgCallTime1" TextColor="White" BackGradientEndColor=""
                Parent="" BackColor="" Text="<%$ Resources: Default, LabelAvgDotCallTime %>">
                <Size Height="5" Width="15"></Size>
                <Location Y="32" X="3.3"></Location>
            </dgwc:GaugeLabel>
            <dgwc:GaugeLabel Name="gaugeAvgRejectedTime1" TextColor="White" BackGradientEndColor=""
                Parent="" BackColor="" Text="<%$ Resources: Default, LabelAvgRejectedTime %>">
                <Size Height="5" Width="15"></Size>
                <Location Y="32" X="29.3"></Location>
            </dgwc:GaugeLabel>
            <dgwc:GaugeLabel Name="gaugeAvgAcceptedTime1" TextColor="White" BackGradientEndColor=""
                Parent="" BackColor="" Text="<%$ Resources: Default, LabelAvgAcceptedTime %>">
                <Size Height="5" Width="15"></Size>
                <Location Y="32" X="57.6"></Location>
            </dgwc:GaugeLabel>
            <dgwc:GaugeLabel Name="gaugeUsersLoggedIn" TextColor="Black" BackGradientEndColor=""
                Parent="" BackColor="" Text="<%$ Resources: Default, LabelUsersLoggedIn %>" Font="Microsoft Sans Serif, 8pt, style=Bold">
                <Size Height="9" Width="15"></Size>
                <Location Y="90" X="83"></Location>
            </dgwc:GaugeLabel>
            <dgwc:GaugeLabel Name="gaugeAvgCallTime2" TextColor="White" BackGradientEndColor=""
                Parent="" BackColor="" Text="">
                <Size Height="6.7" Width="16.3"></Size>
                <Location Y="92" X="28.3"></Location>
            </dgwc:GaugeLabel>
        </Labels>
        <Values>
            <dgwc:InputValue Value="0" Name="ValueavgCallTime">
            </dgwc:InputValue>
            <dgwc:InputValue Value="0" Name="ValueavgRejectedTime">
            </dgwc:InputValue>
            <dgwc:InputValue Value="0" Name="ValueavgAcceptedTime">
            </dgwc:InputValue>
            <dgwc:InputValue Value="0" Name="ValueaUsersLoggedIn">
            </dgwc:InputValue>
            <dgwc:InputValue Value="0" Name="ValueCallVolume">
                <CalculatedValues>
                    <dgwc:CalculatedValueMax BaseValueName="ValueCallVolume" Period="20" Name="Max1">
                    </dgwc:CalculatedValueMax>
                    <dgwc:CalculatedValueMin BaseValueName="ValueCallVolume" Name="Min2"></dgwc:CalculatedValueMin>
                </CalculatedValues>
            </dgwc:InputValue>
        </Values>
        <BackFrame Style="none" Shape="Rectangular" FrameColor="Gray" BackColor="Brown">
        </BackFrame>
        <NumericIndicators>
            <dgwc:NumericIndicator Visible = "false" Style="digital14segment" ShowDecimalPoint="True" BackColor="White"
                Decimals="0" Value="3000" Font="Microsoft Sans Serif, 12pt, style=Bold" Parent="LinearGauges.ValueCallVolume"
                LedDimColor="235, 235, 235" BorderColor="Gold" Name="ValueCallVolume" DigitColor="Black" DecimalColor="Black"
                ShowLeadingZeros="False" ValueSource="ValueCallVolume" Digits="3">
                <Location Y="10" X="71.3"></Location>
                <Size Height="8.9" Width="4"></Size>
            </dgwc:NumericIndicator>
            <dgwc:NumericIndicator Parent="CircularGauges.avgCallTime" Name="ValueavgCallTime"
                BackColor="Gainsboro" LedDimColor="20, 0, 0, 0" DecimalColor="Black" DigitColor="Black"
                IndicatorStyle="Digital7Segment" ShowLeadingZeros="false" BackGradientEndColor=""
                BorderColor="Black" BorderWidth="1" ValueSource="ValueavgCallTime" Font="Microsoft Sans Serif, 9pt, style=Bold"
                BackGradientType="None" Decimals="2" Digits="4" SeparatorColor="Black" SeparatorWidth="0"
                ShowDecimalPoint="True">
                <Location Y="75" X="40"></Location>
                <Size Height="10" Width="30"></Size>
            </dgwc:NumericIndicator>
            <dgwc:NumericIndicator Parent="CircularGauges.avgRejectedTime" Name="ValueavgRejectedTime"
                ValueSource="ValueavgRejectedTime" BackColor="Gainsboro" LedDimColor="20, 0, 0, 0"
                DecimalColor="Black" DigitColor="Black" IndicatorStyle="Digital7Segment" ShowLeadingZeros="false"
                BackGradientEndColor="" BorderColor="Black" BorderWidth="1" Font="Microsoft Sans Serif, 9pt, style=Bold"
                BackGradientType="None" Decimals="2" Digits = "4" SeparatorColor="Black" SeparatorWidth="0"
                ShowDecimalPoint="True">
                <Location Y="75" X="40"></Location>
                <Size Height="10" Width="30"></Size>
            </dgwc:NumericIndicator>
            <dgwc:NumericIndicator Parent="CircularGauges.avgAcceptedTime" Name="ValueavgAcceptedTime"
                ValueSource="ValueavgAcceptedTime" BackColor="Gainsboro" LedDimColor="20, 0, 0, 0"
                DecimalColor="Black" DigitColor="Black" IndicatorStyle="Digital7Segment" ShowLeadingZeros="false"
                BackGradientEndColor="" BorderColor="Black" BorderWidth="1" Font="Microsoft Sans Serif, 9pt, style=Bold"
                BackGradientType="None" Decimals="2" Digits = "4" SeparatorColor="Black" SeparatorWidth="0"
                ShowDecimalPoint="True">
                <Location Y="75" X="40"></Location>
                <Size Height="10" Width="30"></Size>
            </dgwc:NumericIndicator>
        </NumericIndicators>
        <StateIndicators>
            <dgwc:StateIndicator Name="siCallVolume" Style="roundedrectangularled" BorderColor="White"
                Value="3000" Parent="LinearGauges.ValueCallVolume" BorderWidth="1" FillGradientType="None" 
                ValueSource="ValueCallVolume">
                <Size Height="3.3" Width="5.6"></Size>
                <States>
                    <dgwc:State Name="State1" EndValue="0" StartValue="20" FillColor="Red" FillGradientEndColor="Red" FillGradientType="None" ></dgwc:State>
                    <dgwc:State Name="State2" EndValue="21" StartValue="40" FillColor="Orange" FillGradientEndColor="Orange" FillGradientType="None" ></dgwc:State>
                    <dgwc:State Name="State3" EndValue="41" StartValue="60" FillColor="Green" FillGradientEndColor="Green" FillGradientType="None" ></dgwc:State>
                    <dgwc:State Name="State4" EndValue="61" StartValue="80" FillColor="Orange" FillGradientEndColor="Orange" FillGradientType="None" ></dgwc:State>
                    <dgwc:State Name="State5" EndValue="81" StartValue="1000" FillColor="Red" FillGradientEndColor="Red" FillGradientType="None" ></dgwc:State>
                </States>
                <Location Y="13" X="90"></Location>
            </dgwc:StateIndicator>
        </StateIndicators>
        <CircularGauges>
            <dgwc:CircularGauge Name="avgCallTime" ZOrder="1">
                <Scales>
                    <dgwc:CircularScale FillColor="White" StartAngle="45" SweepAngle="135" Name="Default"
                        Maximum="45">
                        <LabelStyle TextColor="White"></LabelStyle>
                    </dgwc:CircularScale>
                </Scales>
                <BackFrame FrameWidth="0" Style="edged" Shape="AutoShape" FrameGradientType="None"
                    FrameColor="Transparent" BackColor="#022754" BackGradientType="None" BorderColor="Gray"
                    BorderWidth="3"></BackFrame>
                <Size Height="75" Width="47"></Size>
                <PivotPoint Y="50" X="50"></PivotPoint>
                <Location Y="31.1" X="0"></Location>
                <Pointers>
                    <dgwc:CircularPointer NeedleStyle="NeedleStyle11" DampeningSweepTime="5" Width="10"
                        FillGradientEndColor="White" Value="42" Name="Default" ValueSource="ValueavgCallTime">
                    </dgwc:CircularPointer>
                </Pointers>
                <Ranges>
                    <dgwc:CircularRange Name="Default" FillColor="Gold" FillGradientType="None"></dgwc:CircularRange>
                </Ranges>
            </dgwc:CircularGauge>
            <dgwc:CircularGauge Name="avgRejectedTime" ZOrder="1">
                <Scales>
                    <dgwc:CircularScale FillColor="White" StartAngle="45" SweepAngle="135" Name="Default"
                        Maximum="45">
                        <LabelStyle TextColor="White"></LabelStyle>
                    </dgwc:CircularScale>
                </Scales>
                <BackFrame FrameWidth="0" Style="edged" Shape="AutoShape" FrameGradientType="None"
                    FrameColor="Transparent" BackColor="#022754" BackGradientType="None" BorderColor="Gray"
                    BorderWidth="3"></BackFrame>
                <Size Height="75" Width="47"></Size>
                <PivotPoint Y="50" X="50"></PivotPoint>
                <Location Y="31.1" X="26"></Location>
                <Pointers>
                    <dgwc:CircularPointer NeedleStyle="NeedleStyle11" DampeningSweepTime="5" Width="10"
                        FillGradientEndColor="White" Value="31" Name="Default" ValueSource="ValueavgRejectedTime">
                    </dgwc:CircularPointer>
                </Pointers>
                <Ranges>
                    <dgwc:CircularRange Name="Default" FillColor="Gold" FillGradientType="None"></dgwc:CircularRange>
                </Ranges>
            </dgwc:CircularGauge>
            <dgwc:CircularGauge Name="avgAcceptedTime" ZOrder="1">
                <Scales>
                    <dgwc:CircularScale FillColor="White" StartAngle="45" SweepAngle="135" Name="Default"
                        Maximum="45">
                        <LabelStyle TextColor="White"></LabelStyle>
                    </dgwc:CircularScale>
                </Scales>
                <BackFrame FrameWidth="0" Style="edged" Shape="AutoShape" FrameGradientType="None"
                    FrameColor="Transparent" BackColor="#022754" BackGradientType="None" BorderColor="Gray"
                    BorderWidth="3"></BackFrame>
                <Size Height="75" Width="47"></Size>
                <PivotPoint Y="50" X="50"></PivotPoint>
                <Location Y="31" X="52.4"></Location>
                <Pointers>
                    <dgwc:CircularPointer NeedleStyle="NeedleStyle11" DampeningSweepTime="5" Width="10"
                        FillGradientEndColor="White" Value="37" Name="Default" ValueSource="ValueavgAcceptedTime">
                    </dgwc:CircularPointer>
                </Pointers>
                <Ranges>
                    <dgwc:CircularRange Name="Default" FillColor="Gold" FillGradientType="None"></dgwc:CircularRange>
                </Ranges>
            </dgwc:CircularGauge>
        </CircularGauges>
        <LinearGauges>
            <dgwc:LinearGauge Name="ValueCallVolume">
                <Scales>
                    <dgwc:LinearScale TickMarksOnTop="True" StartMargin="6.086957" Maximum="100" FillGradientEndColor="WhiteSmoke"
                        EndMargin="14.8584137" Width="7.5" FillColor="White" Name="Default" Position="14.6087">
                        <LabelStyle Font="Microsoft Sans Serif, 3.5pt" TextColor="White"></LabelStyle>
                        <MajorTickMark Width="0.5" BorderWidth="0" FillColor="Black" Length="9.340659" BorderColor="Black">
                        </MajorTickMark>
                        <MinorTickMark Width="0.5" BorderWidth="0" FillColor="Black" Length="2.19780231">
                        </MinorTickMark>
                    </dgwc:LinearScale>
                </Scales>
                <BackFrame FrameWidth="1" Style="edged" BackGradientEndColor="#E3EDFE" Shape="Rectangular"
                    FrameGradientType="TopBottom" FrameColor="Gray" BackColor="#022754" BackGradientType="TopBottom"
                    FrameShape="Rectangular"></BackFrame>
                <Size Height="100" Width="100"></Size>
                <Location Y="0" X="0"></Location>
                <Pointers>
                    <dgwc:LinearPointer ThermometerBackGradientEndColor="" MarkerLength="25" FillGradientType="None"
                        ThermometerBackColor="" Placement="Cross" Width="8" Value="3000" FillColor="Gray"
                        BorderWidth="0" Type="Bar" Name="Default" ValueSource="ValueCallVolume"></dgwc:LinearPointer>
                    <dgwc:LinearPointer ThermometerBackGradientEndColor="" MarkerLength="2" ThermometerBackColor=""
                        Width="2" Value="3000" Name="Max" ValueSource="ValueCallVolume.Max1"></dgwc:LinearPointer>
                    <dgwc:LinearPointer ThermometerBackGradientEndColor="" MarkerLength="2" ThermometerBackColor=""
                        Width="2" Value="3000" Name="Min" ValueSource="ValueCallVolume.Min2"></dgwc:LinearPointer>
                </Pointers>
            </dgwc:LinearGauge>
            <dgwc:LinearGauge Name="Login">
                <Scales>
                    <dgwc:LinearScale Maximum="200" Width="21.9" Name="Default" FillColor="#022754">
                        <LabelStyle TextColor="White"></LabelStyle>
                    </dgwc:LinearScale>
                </Scales>
                <BackFrame FrameWidth="1" Style="edged" Shape="RoundedRectangular" FrameColor="Gray"
                    BackColor="#022754" BackGradientEndColor="#022754"></BackFrame>
                <Size Height="53.3" Width="11.1"></Size>
                <Location Y="34" X="85"></Location>
                <Pointers>
                    <dgwc:LinearPointer MarkerLength="22.6087" FillColor="White" FillGradientEndColor="White"
                        Width="10" Value="150" Name="Default" ValueSource="ValueaUsersLoggedIn">
                    </dgwc:LinearPointer>
                </Pointers>
            </dgwc:LinearGauge>
        </LinearGauges>
    </dgwc:gaugecontainer>
</asp:Content>
