<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PerformanceYTDLineeAPI.aspx.cs" Inherits="OlympiaIntranet.PerformanceYTDLineeAPI" %>
<%@ Register Assembly="DevExpress.XtraCharts.v23.2.Web, Version=23.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.XtraCharts.Web" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v23.2, Version=23.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.XtraCharts.v23.2, Version=23.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.XtraCharts" TagPrefix="dx" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <table>
                <tr>
                    <td>
                        <dx:ASPxGridView ID="gvPerformanceYTDLinee" runat="server" EnableTheming="True" Theme="Office2010Blue" AutoGenerateColumns="False" KeyFieldName="Linea">
                            <SettingsPager PageSize="40" Visible="False">
                                <PageSizeItemSettings ShowAllItem="True">
                                </PageSizeItemSettings>
                            </SettingsPager>
                            <Settings ShowFilterRow="True" ShowHeaderFilterButton="True" ShowFilterBar="Visible" ShowFooter="true" />
                            <SettingsBehavior FilterRowMode="OnClick" />
                            <SettingsFilterControl ViewMode="VisualAndText">
                            </SettingsFilterControl>
                            <Columns>
                                <dx:GridViewDataTextColumn FieldName="Linea" VisibleIndex="3">
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn FieldName="PerfYTDAvg" Caption="Perf YTD (Avg)" VisibleIndex="4">
                                    <PropertiesTextEdit DisplayFormatString="F2">
                                    </PropertiesTextEdit>
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn FieldName="PerfYTDStd" Caption="Perf YTD (Std)" VisibleIndex="5">
                                    <PropertiesTextEdit DisplayFormatString="F2">
                                    </PropertiesTextEdit>
                                </dx:GridViewDataTextColumn>
                            </Columns>
                            <TotalSummary>
                                <dx:ASPxSummaryItem FieldName="PerfYTDAvg" SummaryType="Average" DisplayFormat="Avg = {0:F2}" />
                                <dx:ASPxSummaryItem FieldName="PerfYTDStd" SummaryType="Average" DisplayFormat="Avg = {0:F2}" />
                            </TotalSummary>
                        </dx:ASPxGridView>
                    </td>
                    <td>
                        <dx:WebChartControl ID="barChart" ClientInstanceName="clientBarChart" runat="server" CrosshairEnabled="True" Height="500px" Width="1024px" RenderFormat="Svg" EnableViewState="False" AppearanceNameSerializable="Gray">
                        </dx:WebChartControl>
                    </td>
                </tr>
            </table>

            <dx:ASPxGridViewExporter ID="ASPxGridViewExporter1" runat="server" GridViewID="gvPerformanceYTDLinee">
            </dx:ASPxGridViewExporter>
        </div>
    </form>
</body>
</html>
