/
ivan
/
ModMas
Обзор
Документация
Войти
/
ivan
/
ModMas
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
ModuleMaster/mi/kpi.aspx
107 строк
6 KB
i.krivokon
Initial commit
13 мар 2026, 13:49
13 мар 2026, 13:49
00d9fb6
Код
Авторство
О чём код?
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="KPI.aspx.vb" Inherits="r" %> <%@ Register Src="~/UserControls/editableGridNew.ascx" TagPrefix="uc1" TagName="editableGridNew" %> <%@ Register Src="~/UserControls/alerter.ascx" TagPrefix="uc1" TagName="alerter" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>KPI report</title> <link href="../Styles/page.css" rel="stylesheet" /> <style> a { color: white; text-decoration:none; } .cellid a { color: white; text-decoration:none; } .headerID a { color: white; text-decoration:underline; } </style> </head> <body style="background-color: black"> <form id="form1" runat="server"> <%--<div class="center"> <asp:ImageButton ID="ibRefresh" runat="server" ImageUrl="~/Images/Refresh.png" class="vcenter" /> <asp:ImageButton ID="ibExcelDownload" runat="server" Height="27" Width="27" ImageUrl="~/Images/Microsoft%20Office%202003%20Excel.png" CssClass="vcenter" /> </div><br/>--%> <div class="center"> <asp:DropDownList ID="KPI_drop_list" runat="server" AutoPostBack="True"> </asp:DropDownList> </div> <table border="1"> <tr> <td> <div class="center"> <asp:Chart ID="Summary" runat="server" Width="1100px" Height="500px" BackColor="white" > <Titles> <asp:Title ShadowColor="32, 0, 0, 0" Font="Trebuchet MS, 14.25pt, style=Bold" Text="" ForeColor="Blue"></asp:Title> </Titles> <Series runat="server"> <asp:Series Name="target_label" MarkerSize="5" MarkerStyle="None" Label="#VAL" BorderWidth="3" Font="Microsoft Sans Serif, 18pt, style=Bold" ChartType="Point" Color="red" runat="server" LegendText="Target" XValueType="String" IsXValueIndexed="False" IsVisibleInLegend="False" LabelForeColor="Red"> <smartlabelstyle enabled="True" calloutstyle="None" MaxMovingDistance="00" /> </asp:Series> <asp:Series Name="KPI_value" MarkerSize="10" MarkerStyle="Circle" Label="" BorderWidth="4" Font="Microsoft Sans Serif, 18pt" ChartType="line" Color="LimeGreen" runat="server" LegendText="" XValueType="String" IsValueShownAsLabel="True"> <smartlabelstyle enabled="true" calloutstyle="None" MaxMovingDistance="30" MinMovingDistance="0" /> </asp:Series> <asp:Series Name="target" MarkerSize="10" MarkerStyle="None" Label="" BorderWidth="5" Font="Microsoft Sans Serif, 18pt" ChartType="Line" Color="red" runat="server" LegendText="Target" XValueType="String" LabelBorderDashStyle="Solid" BorderDashStyle="Dash" IsVisibleInLegend="True" IsValueShownAsLabel="False"> <smartlabelstyle enabled="true" calloutstyle="None" IsMarkerOverlappingAllowed="False" /> </asp:Series> </Series> <ChartAreas> <asp:ChartArea Name="ChartArea1" Area3DStyle-Enable3D="False" Area3DStyle-Inclination="10" Area3DStyle-Rotation="5" AlignmentOrientation="Horizontal" Area3DStyle-IsClustered="True" BackColor="White"> <AxisX IntervalType="Auto" interval="1" LineColor="gray" IsLabelAutoFit="False"> <MajorGrid LineColor="white" IntervalType="Auto" Interval="1" Enabled="True" /> <LabelStyle ForeColor="gray" Font="Microsoft Sans Serif, 14pt" Angle="-45" /> </AxisX> <AxisY TextOrientation="Rotated270" LineColor="Gray" TitleForeColor="black" IsLabelAutoFit="false" ArrowStyle="None"> <MajorGrid LineColor="white" /> <LabelStyle ForeColor="gray" Font="Microsoft Sans Serif, 14pt" /> </AxisY> </asp:ChartArea> </ChartAreas> <Legends> <asp:Legend Name="Legend1" Docking="Bottom" Alignment="Center" Font="Trebuchet MS, 20pt" BackColor="white" IsDockedInsideChartArea="True" ItemColumnSeparator="Line" ForeColor="black" IsTextAutoFit="False"> </asp:Legend> </Legends> </asp:Chart> </div> </td> </tr> </table> <asp:SqlDataSource ID="Sql_linear" runat="server" ConnectionString="<%$ ConnectionStrings:SERKIntranetConnectionString %>"></asp:SqlDataSource> <asp:SqlDataSource ID="sql_target" runat="server" ConnectionString="<%$ ConnectionStrings:SERKIntranetConnectionString %>"></asp:SqlDataSource> <asp:SqlDataSource ID="sql_kpi_drop_list" runat="server" ConnectionString="<%$ ConnectionStrings:SERKIntranetConnectionString %>"></asp:SqlDataSource> <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager> <%--<asp:Timer ID="Timer1" runat="server" Enabled="False"></asp:Timer>--%> </form> </body> </html>