示例#1
0
 private void FormatChart(BaseChartAbs chart, string name, string sqlConn, bool RealTime, int yAxisCnt, ChartTypes chType, ChartSeries[] chSeries)
 {
     chart.FormatChart(name, RealTime);
     chart.SqlConnectString = sqlConn;
     foreach (ChartSeries series in chSeries)
     {
         SeeSeriesOptions serOpt = SeeChartParams.GetSeriesOptions(series);
         chart._chartParams.AddSeries(serOpt);
     }
     chart.ApplySeriesOptions(chType, yAxisCnt);
 }
示例#2
0
        protected virtual void serView1_AfterCheck(object sender, TreeViewEventArgs e)
        {
            SeeSeriesOptions serOpt = (SeeSeriesOptions)e.Node.Tag;

            if (e.Node.Checked)
            {
                chartA.CHART.Series[serOpt.SeriesIndex].Visible = true;
                chartD.CHART.Series[serOpt.SeriesIndex].Visible = true;
            }
            else
            {
                chartA.CHART.Series[serOpt.SeriesIndex].Visible = false;
                chartD.CHART.Series[serOpt.SeriesIndex].Visible = false;
            }
        }
示例#3
0
        public void AddSeries(string tableName, string columnName, string seriesName,
                              Gallery galleryType, ChartScales chartScale, bool stacked, int yaxisNum)
        {
            SeeSeriesOptions sOptions = new SeeSeriesOptions();

            sOptions.TableName   = tableName;
            sOptions.ColumnName  = columnName;
            sOptions.GalleryType = galleryType;
            sOptions.Stacked     = stacked;
            sOptions.ChartScale  = chartScale;           //Bytes, Counts, Percentage
            sOptions.YaxisLabel  = chartScale.ToString();
            sOptions.YaxisNumber = yaxisNum;
            sOptions.SeriesName  = seriesName;           //Must do this last
            sOptions.SeriesIndex = SeriesList.Count;     //Must do this before adding the series to the collection
            SeriesList.Add(sOptions);
        }
示例#4
0
        private TreeNode[] FormatChart(BaseChartDelt chart, string name, string sqlConn, bool RealTime, int yAxisCnt, ChartTypes chType, ChartSeries[] chSeries)
        {
            chart.FormatChart(name, RealTime);
            chart.SqlConnectString = sqlConn;
            TreeNode[] tNodes = new TreeNode[chSeries.Length];
            int        tCnt   = 0;

            foreach (ChartSeries series in chSeries)
            {
                SeeSeriesOptions serOpt = SeeChartParams.GetSeriesOptions(series);
                chart._chartParams.AddSeries(serOpt);
                TreeNode tNode = new TreeNode(serOpt.SeriesName);
                tNode.Tag    = serOpt; tNode.Checked = true;
                tNodes[tCnt] = tNode;
                tCnt++;
            }
            chart.ApplySeriesOptions(chType, yAxisCnt);

            return(tNodes);
        }
示例#5
0
 public void AddSeries(SeeSeriesOptions series)
 {
     series.SeriesIndex = SeriesList.Count;            //Must do this before adding the series to the collection
     SeriesList.Add(series);
 }
示例#6
0
        public static SeeSeriesOptions GetSeriesOptions(ChartSeries cSeries)
        {
            SeeSeriesOptions sOptions = null;

            switch (cSeries)
            {
                #region VSE
            case ChartSeries.Program_Checks:
                sOptions = new SeeSeriesOptions("VSE_Stats", cSeries.ToString(), "Program Checks", Gallery.Lines, ChartScales.Count, false, 1);
                break;

            case ChartSeries.Phase_Loads:
                sOptions = new SeeSeriesOptions("VSE_Stats", cSeries.ToString(), "Phase Loads", Gallery.Lines, ChartScales.Count, false, 1);
                break;

            case ChartSeries.Subchannel_Starts:
                sOptions = new SeeSeriesOptions("VSE_Stats", cSeries.ToString(), "Subchannel Starts", Gallery.Lines, ChartScales.Count, false, 1);
                break;

            case ChartSeries.Supervisor_Interrupts:
                sOptions = new SeeSeriesOptions("VSE_Stats", cSeries.ToString(), "SVC Interrupts", Gallery.Lines, ChartScales.Count, false, 1);
                break;

            case ChartSeries.IO_Interrupts:
                sOptions = new SeeSeriesOptions("VSE_Stats", cSeries.ToString(), "IO Interrupts", Gallery.Lines, ChartScales.Count, false, 1);
                break;

            case ChartSeries.External_Interrupts:
                sOptions = new SeeSeriesOptions("VSE_Stats", cSeries.ToString(), "EXT Interrupts", Gallery.Lines, ChartScales.Count, false, 1);
                break;

            case ChartSeries.Nof_Active_Tasks:
                sOptions = new SeeSeriesOptions("VSE_Summary", cSeries.ToString(), "VSE Tasks", Gallery.Lines, ChartScales.Count, false, 1);
                break;

            case ChartSeries.Nof_Allocated_Partitions:
                sOptions = new SeeSeriesOptions("VSE_Summary", cSeries.ToString(), "Allocated Partitions", Gallery.Lines, ChartScales.Count, false, 1);
                break;

                #endregion
                #region CPU
            case ChartSeries.Dispatch_Cycles:
                sOptions = new SeeSeriesOptions("CPU_Stats", cSeries.ToString(), "Dispatch Cycles", Gallery.Lines, ChartScales.Count, false, 1);
                break;

            case ChartSeries.NonVSE_sec:
                sOptions = new SeeSeriesOptions("CPU_Stats", cSeries.ToString(), "Non-VSE", Gallery.Bar, ChartScales.Percent, true, 1);
                break;

            case ChartSeries.Spin_sec:
                sOptions = new SeeSeriesOptions("CPU_Stats", cSeries.ToString(), "Spinning", Gallery.Bar, ChartScales.Percent, true, 1);
                break;

            case ChartSeries.Waiting_sec:
                sOptions = new SeeSeriesOptions("CPU_Stats", cSeries.ToString(), "Waiting", Gallery.Bar, ChartScales.Percent, true, 1);
                break;

            case ChartSeries.Busy_P_sec:
                sOptions = new SeeSeriesOptions("CPU_Stats", cSeries.ToString(), "Busy-Para", Gallery.Bar, ChartScales.Percent, true, 1);
                break;

            case ChartSeries.Busy_NonP_sec:
                sOptions = new SeeSeriesOptions("CPU_Stats", cSeries.ToString(), "Busy-NonP", Gallery.Bar, ChartScales.Percent, true, 1);
                break;

                #endregion
                #region TCP/IP
            case ChartSeries.FTP_Clients:
                sOptions = new SeeSeriesOptions("TCPIP_Clients", cSeries.ToString(), "Int-FTP Clients", Gallery.Lines, ChartScales.Count, false, 1);
                break;

            case ChartSeries.Telnet_Clients:
                sOptions = new SeeSeriesOptions("TCPIP_Clients", cSeries.ToString(), "Telnet Clients", Gallery.Lines, ChartScales.Count, false, 1);
                break;

            case ChartSeries.LPR_Clients:
                sOptions = new SeeSeriesOptions("TCPIP_Clients", cSeries.ToString(), "LPR Clients", Gallery.Lines, ChartScales.Count, false, 1);
                break;

            case ChartSeries.HTTP_Clients:
                sOptions = new SeeSeriesOptions("TCPIP_Clients", cSeries.ToString(), "HTTP Clients", Gallery.Lines, ChartScales.Count, false, 1);
                break;

            case ChartSeries.FTP_Daemons:
                sOptions = new SeeSeriesOptions("TCPIP_Daemons", cSeries.ToString(), "FTP Daemons", Gallery.Lines, ChartScales.Count, false, 1);
                break;

            case ChartSeries.Active_FTP_Daemons:
                sOptions = new SeeSeriesOptions("TCPIP_Daemons", cSeries.ToString(), "Active FTP Daemons", Gallery.Lines, ChartScales.Count, false, 1);
                break;

            case ChartSeries.Max_FTP_Daemons:
                sOptions = new SeeSeriesOptions("TCPIP_Daemons", cSeries.ToString(), "Max FTP Daemons", Gallery.Lines, ChartScales.Count, false, 1);
                break;

            case ChartSeries.Telnet_Daemons:
                sOptions = new SeeSeriesOptions("TCPIP_Daemons", cSeries.ToString(), "Telnet Daemons", Gallery.Lines, ChartScales.Count, false, 1);
                break;

            case ChartSeries.Active_Telnet_Daemons:
                sOptions = new SeeSeriesOptions("TCPIP_Daemons", cSeries.ToString(), "Active Telnet Daemons", Gallery.Lines, ChartScales.Count, false, 1);
                break;

            case ChartSeries.Max_Telnet_Daemons:
                sOptions = new SeeSeriesOptions("TCPIP_Daemons", cSeries.ToString(), "Max Telnet Daemons", Gallery.Lines, ChartScales.Count, false, 1);
                break;

            case ChartSeries.Active_Telnet_Buffers:
                sOptions = new SeeSeriesOptions("TCPIP_Daemons", cSeries.ToString(), "Active Telnet Buffers", Gallery.Lines, ChartScales.Count, false, 1);
                break;

            case ChartSeries.Max_Telnet_Buffers:
                sOptions = new SeeSeriesOptions("TCPIP_Daemons", cSeries.ToString(), "Max Telnet Buffers", Gallery.Lines, ChartScales.Count, false, 1);
                break;

            case ChartSeries.LP_Daemons:
                sOptions = new SeeSeriesOptions("TCPIP_Daemons", cSeries.ToString(), "LP Daemons", Gallery.Lines, ChartScales.Count, false, 1);
                break;

            case ChartSeries.HTTP_Daemons:
                sOptions = new SeeSeriesOptions("TCPIP_Daemons", cSeries.ToString(), "HTTP Daemons", Gallery.Lines, ChartScales.Count, false, 1);
                break;

            case ChartSeries.SMTP_Daemons:
                sOptions = new SeeSeriesOptions("TCPIP_Daemons", cSeries.ToString(), "SMTP Daemons", Gallery.Lines, ChartScales.Count, false, 1);
                break;

            case ChartSeries.POP3_Daemons:
                sOptions = new SeeSeriesOptions("TCPIP_Daemons", cSeries.ToString(), "POP3 Daemons", Gallery.Lines, ChartScales.Count, false, 1);
                break;

            case ChartSeries.Total_Dispatches:
                sOptions = new SeeSeriesOptions("TCPIP_Dispatcher", cSeries.ToString(), "Total Dispatches", Gallery.Lines, ChartScales.Count, false, 1);
                break;

            case ChartSeries.Active_Dispatches:
                sOptions = new SeeSeriesOptions("TCPIP_Dispatcher", cSeries.ToString(), "Active Dispatches", Gallery.Bar, ChartScales.Count, true, 1);
                break;

            case ChartSeries.Fixed_Dispatches:
                sOptions = new SeeSeriesOptions("TCPIP_Dispatcher", cSeries.ToString(), "Fixed Dispatches", Gallery.Bar, ChartScales.Count, true, 1);
                break;

            case ChartSeries.Quick_Dispatches:
                sOptions = new SeeSeriesOptions("TCPIP_Dispatcher", cSeries.ToString(), "Quick Dispatches", Gallery.Bar, ChartScales.Count, true, 1);
                break;

            case ChartSeries.Persistent_Dispatches:
                sOptions = new SeeSeriesOptions("TCPIP_Dispatcher", cSeries.ToString(), "Persistant Dispatches", Gallery.Bar, ChartScales.Count, true, 1);
                break;

            case ChartSeries.Complete_Dispatches:
                sOptions = new SeeSeriesOptions("TCPIP_Dispatcher", cSeries.ToString(), "Complete Dispatches", Gallery.Bar, ChartScales.Count, true, 1);
                break;

            case ChartSeries.Passed_Dispatches:
                sOptions = new SeeSeriesOptions("TCPIP_Dispatcher", cSeries.ToString(), "Passed Dispatches", Gallery.Bar, ChartScales.Count, true, 1);
                break;

            case ChartSeries.Total_Dispatcher_Time:
                sOptions = new SeeSeriesOptions("TCPIP_Dispatcher", cSeries.ToString(), "Dispatch Time(sec)", Gallery.Lines, ChartScales.Count, false, 1);
                break;

            case ChartSeries.Dispatcher_Waits:
                sOptions = new SeeSeriesOptions("TCPIP_Dispatcher", cSeries.ToString(), "Dispatcher Waits", Gallery.Lines, ChartScales.Count, false, 1);
                break;

            case ChartSeries.Storage_Releases:
                sOptions = new SeeSeriesOptions("TCPIP_Dispatcher", cSeries.ToString(), "Storage Releases", Gallery.Lines, ChartScales.Count, false, 1);
                break;

            case ChartSeries.TCP_Checksum_Errors:
                sOptions = new SeeSeriesOptions("TCPIP_Errors", cSeries.ToString(), "TCP Checksum Errors", Gallery.Lines, ChartScales.Count, false, 1);
                break;

            case ChartSeries.IP_Checksum_Errors:
                sOptions = new SeeSeriesOptions("TCPIP_Errors", cSeries.ToString(), "IP Checksum Errors", Gallery.Lines, ChartScales.Count, false, 1);
                break;

            case ChartSeries.UDP_Checksum_Errors:
                sOptions = new SeeSeriesOptions("TCPIP_Errors", cSeries.ToString(), "UDP Checksum Errors", Gallery.Lines, ChartScales.Count, false, 1);
                break;

            case ChartSeries.ICMP_Checksum_Errors:
                sOptions = new SeeSeriesOptions("TCPIP_Errors", cSeries.ToString(), "ICMP Checksum Errors", Gallery.Lines, ChartScales.Count, false, 1);
                break;

            case ChartSeries.Datagram_Length_Errors:
                sOptions = new SeeSeriesOptions("TCPIP_Errors", cSeries.ToString(), "Datagram Length Errors", Gallery.Lines, ChartScales.Count, false, 1);
                break;

            case ChartSeries.Non_IP:
                sOptions = new SeeSeriesOptions("TCPIP_Other", cSeries.ToString(), "Non-IP", Gallery.Lines, ChartScales.Bytes, false, 1);
                break;

            case ChartSeries.Miss_Routed_IP:
                sOptions = new SeeSeriesOptions("TCPIP_Other", cSeries.ToString(), "Miss-routed IP", Gallery.Lines, ChartScales.Bytes, false, 1);
                break;

            case ChartSeries.Discarded_UDP:
                sOptions = new SeeSeriesOptions("TCPIP_Other", cSeries.ToString(), "Discarded UDP", Gallery.Lines, ChartScales.Bytes, false, 1);
                break;

            case ChartSeries.Unsupported_ICMP:
                sOptions = new SeeSeriesOptions("TCPIP_Other", cSeries.ToString(), "Unsupported ICMP", Gallery.Lines, ChartScales.Bytes, false, 1);
                break;

            case ChartSeries.Unsupported_IGMP:
                sOptions = new SeeSeriesOptions("TCPIP_Other", cSeries.ToString(), "Unsupported IGMP", Gallery.Lines, ChartScales.Bytes, false, 1);
                break;

            case ChartSeries.Unsupported_Protocol:
                sOptions = new SeeSeriesOptions("TCPIP_Other", cSeries.ToString(), "Unsupported Protocol", Gallery.Lines, ChartScales.Bytes, false, 1);
                break;

            case ChartSeries.Connect_Rejections:
                sOptions = new SeeSeriesOptions("TCPIP_Other", cSeries.ToString(), "Connect Rejections", Gallery.Lines, ChartScales.Count, false, 1);
                break;

            case ChartSeries.Inbound_TCP_Rejections:
                sOptions = new SeeSeriesOptions("TCPIP_Other", cSeries.ToString(), "TCP Rejections", Gallery.Lines, ChartScales.Count, false, 1);
                break;

            case ChartSeries.Nof_TCPIP_Connections:
                sOptions = new SeeSeriesOptions("TCPIP_Summary", cSeries.ToString(), "Active Connections", Gallery.Lines, ChartScales.Count, false, 1);
                break;

            case ChartSeries.Nof_TCPIP_PseudoTasks:
                sOptions = new SeeSeriesOptions("TCPIP_Summary", cSeries.ToString(), "Pseudo Tasks", Gallery.Lines, ChartScales.Count, false, 1);
                break;

            case ChartSeries.Int_FTP_Files_Sent:
                sOptions = new SeeSeriesOptions("TCPIP_Traffic", cSeries.ToString(), "Int-FTP Files Sent", Gallery.Lines, ChartScales.Count, false, 1);
                break;

            case ChartSeries.Int_FTP_Files_Received:
                sOptions = new SeeSeriesOptions("TCPIP_Traffic", cSeries.ToString(), "Int-FTP Files Rcvd", Gallery.Lines, ChartScales.Count, false, 1);
                break;

            case ChartSeries.Int_FTP_Bytes_Sent:
                sOptions = new SeeSeriesOptions("TCPIP_Traffic", cSeries.ToString(), "Int-FTP Sent", Gallery.Lines, ChartScales.Bytes, false, 1);
                break;

            case ChartSeries.Int_FTP_Bytes_Received:
                sOptions = new SeeSeriesOptions("TCPIP_Traffic", cSeries.ToString(), "Int-FTP Rcvd", Gallery.Lines, ChartScales.Bytes, false, 1);
                break;

            case ChartSeries.Telnet_Bytes_Sent:
                sOptions = new SeeSeriesOptions("TCPIP_Traffic", cSeries.ToString(), "Telnet Sent", Gallery.Lines, ChartScales.Bytes, false, 1);
                break;

            case ChartSeries.Telnet_Bytes_Received:
                sOptions = new SeeSeriesOptions("TCPIP_Traffic", cSeries.ToString(), "Telnet Rcvd", Gallery.Lines, ChartScales.Bytes, false, 1);
                break;

            case ChartSeries.TCP_Bytes_Sent:
                sOptions = new SeeSeriesOptions("TCPIP_Traffic", cSeries.ToString(), "TCP Sent", Gallery.Lines, ChartScales.Bytes, false, 1);
                break;

            case ChartSeries.TCP_Bytes_Received:
                sOptions = new SeeSeriesOptions("TCPIP_Traffic", cSeries.ToString(), "TCP Rcvd", Gallery.Lines, ChartScales.Bytes, false, 1);
                break;

            case ChartSeries.UDP_Bytes_Sent:
                sOptions = new SeeSeriesOptions("TCPIP_Traffic", cSeries.ToString(), "UDP Sent", Gallery.Lines, ChartScales.Bytes, false, 1);
                break;

            case ChartSeries.UDP_Bytes_Received:
                sOptions = new SeeSeriesOptions("TCPIP_Traffic", cSeries.ToString(), "UDP Rcvd", Gallery.Lines, ChartScales.Bytes, false, 1);
                break;

            case ChartSeries.IP_Bytes_Sent:
                sOptions = new SeeSeriesOptions("TCPIP_Traffic", cSeries.ToString(), "IP Sent", Gallery.Lines, ChartScales.Bytes, false, 1);
                break;

            case ChartSeries.IP_Bytes_Received:
                sOptions = new SeeSeriesOptions("TCPIP_Traffic", cSeries.ToString(), "IP Rcvd", Gallery.Lines, ChartScales.Bytes, false, 1);
                break;

            case ChartSeries.Arps_In:
                sOptions = new SeeSeriesOptions("TCPIP_Traffic", cSeries.ToString(), "Arps In", Gallery.Lines, ChartScales.Count, false, 1);
                break;

            case ChartSeries.Arp_Requests_Inbound:
                sOptions = new SeeSeriesOptions("TCPIP_Traffic", cSeries.ToString(), "Arp Requests In", Gallery.Lines, ChartScales.Count, false, 1);
                break;

            case ChartSeries.Arp_Requests_Outbound:
                sOptions = new SeeSeriesOptions("TCPIP_Traffic", cSeries.ToString(), "Arp Requests Out", Gallery.Lines, ChartScales.Count, false, 1);
                break;

            case ChartSeries.Arp_Replies_Outbound:
                sOptions = new SeeSeriesOptions("TCPIP_Traffic", cSeries.ToString(), "Arp Replies Out", Gallery.Lines, ChartScales.Count, false, 1);
                break;

            case ChartSeries.IPNL3172_Blocks_Received:
                sOptions = new SeeSeriesOptions("TCPIP_Traffic", cSeries.ToString(), "IPNL3172 Blocks Rcvd", Gallery.Lines, ChartScales.Count, false, 1);
                break;

            case ChartSeries.IPNL3172_Blocks_Transmitted:
                sOptions = new SeeSeriesOptions("TCPIP_Traffic", cSeries.ToString(), "IPNL3172 Blocks Trans", Gallery.Lines, ChartScales.Count, false, 1);
                break;

            case ChartSeries.IPNL3172_Datagrams_Inbound:
                sOptions = new SeeSeriesOptions("TCPIP_Traffic", cSeries.ToString(), "IPNL3172 Datagrams In", Gallery.Lines, ChartScales.Count, false, 1);
                break;

            case ChartSeries.IPNL3172_Datagrams_Outbound:
                sOptions = new SeeSeriesOptions("TCPIP_Traffic", cSeries.ToString(), "IPNL3172 Datagrams Out", Gallery.Lines, ChartScales.Count, false, 1);
                break;

                #endregion
                #region Partitions
            case ChartSeries.CPU_Time_sec:
                sOptions = new SeeSeriesOptions("Partition_Job_Step", cSeries.ToString(), "CPU Time", Gallery.Bar, ChartScales.Percent, true, 1);
                break;

            case ChartSeries.SIO_Count:
                sOptions = new SeeSeriesOptions("Partition_Job_Step", cSeries.ToString(), "SIO", Gallery.Bar, ChartScales.Count, true, 1);
                break;

                #endregion
                #region Connections
            case ChartSeries.Inbound_Data:
                sOptions = new SeeSeriesOptions("Connection_Stats", cSeries.ToString(), "Dgrams Received",
                                                Gallery.Bar, ChartScales.Count, true, 1);
                break;

            case ChartSeries.Inbound_Bytes:
                sOptions = new SeeSeriesOptions("Connection_Stats", cSeries.ToString(), "Received",
                                                Gallery.Bar, ChartScales.Bytes, true, 1);
                break;

            case ChartSeries.Inbound_Data_Dup:
                sOptions = new SeeSeriesOptions("Connection_Stats", cSeries.ToString(), "Dgram Duplicates",
                                                Gallery.Bar, ChartScales.Count, true, 1);
                break;

            case ChartSeries.Inbound_Bytes_Dup:
                sOptions = new SeeSeriesOptions("Connection_Stats", cSeries.ToString(), "Duplicates",
                                                Gallery.Bar, ChartScales.Bytes, true, 1);
                break;

            case ChartSeries.Inbound_Eff:
                sOptions = new SeeSeriesOptions("Connection_Stats", cSeries.ToString(), "Inbound Efficiency",
                                                Gallery.Lines, ChartScales.Percent, false, 1);
                break;

            case ChartSeries.Outbound_Data:
                sOptions = new SeeSeriesOptions("Connection_Stats", cSeries.ToString(), "Dgrams Sent",
                                                Gallery.Bar, ChartScales.Count, true, 1);
                break;

            case ChartSeries.Outbound_Bytes:
                sOptions = new SeeSeriesOptions("Connection_Stats", cSeries.ToString(), "Sent",
                                                Gallery.Bar, ChartScales.Bytes, true, 1);
                break;

            case ChartSeries.Outbound_Data_Retr:
                sOptions = new SeeSeriesOptions("Connection_Stats", cSeries.ToString(), "Dgram Retransmits",
                                                Gallery.Bar, ChartScales.Count, true, 1);
                break;

            case ChartSeries.Outbound_Bytes_Retr:
                sOptions = new SeeSeriesOptions("Connection_Stats", cSeries.ToString(), "Retransmits",
                                                Gallery.Bar, ChartScales.Bytes, true, 1);
                break;

            case ChartSeries.Outbound_Eff:
                sOptions = new SeeSeriesOptions("Connection_Stats", cSeries.ToString(), "Outbound Efficiency",
                                                Gallery.Lines, ChartScales.Percent, false, 1);
                break;

            case ChartSeries.SWS_Count:
                sOptions = new SeeSeriesOptions("Connection_Stats", cSeries.ToString(), "SWS",
                                                Gallery.Bar, ChartScales.Count, true, 1);
                break;

            case ChartSeries.Recvs_Issued:
                sOptions = new SeeSeriesOptions("Connection_Stats", cSeries.ToString(), "RECVs Issued",
                                                Gallery.Bar, ChartScales.Count, true, 1);
                break;

            case ChartSeries.Sends_Issued:
                sOptions = new SeeSeriesOptions("Connection_Stats", cSeries.ToString(), "SENDs Issued",
                                                Gallery.Bar, ChartScales.Count, true, 1);
                break;

            case ChartSeries.Retransmits:
                sOptions = new SeeSeriesOptions("Connection_Stats", cSeries.ToString(), "Retransmits Issued",
                                                Gallery.Bar, ChartScales.Count, true, 1);
                break;

                #endregion
                #region Foreign IPs
            case ChartSeries.TCP_Inbound_Bytes:
                sOptions = new SeeSeriesOptions("ForeignIP_Stats", cSeries.ToString(), "TCP Received", Gallery.Bar, ChartScales.Bytes, true, 1);
                break;

            case ChartSeries.IP_Inbound_Bytes:
                sOptions = new SeeSeriesOptions("ForeignIP_Stats", cSeries.ToString(), "IP Received", Gallery.Bar, ChartScales.Bytes, true, 1);
                break;

            case ChartSeries.UDP_Inbound_Bytes:
                sOptions = new SeeSeriesOptions("ForeignIP_Stats", cSeries.ToString(), "UDP Received", Gallery.Bar, ChartScales.Bytes, true, 1);
                break;

            case ChartSeries.ICMP_Inbound_Bytes:
                sOptions = new SeeSeriesOptions("ForeignIP_Stats", cSeries.ToString(), "ICMP Received", Gallery.Bar, ChartScales.Bytes, true, 1);
                break;

            case ChartSeries.ARP_Inbound_Bytes:
                sOptions = new SeeSeriesOptions("ForeignIP_Stats", cSeries.ToString(), "ARP Received", Gallery.Bar, ChartScales.Bytes, true, 1);
                break;

            case ChartSeries.Misdirected_IP_Bytes:
                sOptions = new SeeSeriesOptions("ForeignIP_Stats", cSeries.ToString(), "Misdirected IP", Gallery.Bar, ChartScales.Bytes, true, 1);
                break;

            case ChartSeries.NonIP_Bytes:
                sOptions = new SeeSeriesOptions("ForeignIP_Stats", cSeries.ToString(), "Non-IP Received", Gallery.Bar, ChartScales.Bytes, true, 1);
                break;

            case ChartSeries.TCP_Outbound_Bytes:
                sOptions = new SeeSeriesOptions("ForeignIP_Stats", cSeries.ToString(), "TCP Sent", Gallery.Bar, ChartScales.Bytes, true, 1);
                break;

            case ChartSeries.IP_Outbound_Bytes:
                sOptions = new SeeSeriesOptions("ForeignIP_Stats", cSeries.ToString(), "IP Sent", Gallery.Bar, ChartScales.Bytes, true, 1);
                break;

            case ChartSeries.UDP_Outbound_Bytes:
                sOptions = new SeeSeriesOptions("ForeignIP_Stats", cSeries.ToString(), "UDP Sent", Gallery.Bar, ChartScales.Bytes, true, 1);
                break;

            case ChartSeries.ICMP_Outbound_Bytes:
                sOptions = new SeeSeriesOptions("ForeignIP_Stats", cSeries.ToString(), "ICMP Sent", Gallery.Bar, ChartScales.Bytes, true, 1);
                break;

            case ChartSeries.ARP_Outbound_Bytes:
                sOptions = new SeeSeriesOptions("ForeignIP_Stats", cSeries.ToString(), "ARP Sent", Gallery.Bar, ChartScales.Bytes, true, 1);
                break;

            case ChartSeries.TCP_Inbound_Datagrams:
                sOptions = new SeeSeriesOptions("ForeignIP_Stats", cSeries.ToString(), "TCP Received", Gallery.Bar, ChartScales.Count, true, 1);
                break;

            case ChartSeries.IP_Inbound_Datagrams:
                sOptions = new SeeSeriesOptions("ForeignIP_Stats", cSeries.ToString(), "IP Received", Gallery.Bar, ChartScales.Count, true, 1);
                break;

            case ChartSeries.UDP_Inbound_Datagrams:
                sOptions = new SeeSeriesOptions("ForeignIP_Stats", cSeries.ToString(), "UDP Received", Gallery.Bar, ChartScales.Count, true, 1);
                break;

            case ChartSeries.ICMP_Inbound_Datagrams:
                sOptions = new SeeSeriesOptions("ForeignIP_Stats", cSeries.ToString(), "ICMP Received", Gallery.Bar, ChartScales.Count, true, 1);
                break;

            case ChartSeries.ARP_Inbound_Datagrams:
                sOptions = new SeeSeriesOptions("ForeignIP_Stats", cSeries.ToString(), "ARP Received", Gallery.Bar, ChartScales.Count, true, 1);
                break;

            case ChartSeries.Misdirected_IP_Datagrams:
                sOptions = new SeeSeriesOptions("ForeignIP_Stats", cSeries.ToString(), "Misdirected IP", Gallery.Bar, ChartScales.Count, true, 1);
                break;

            case ChartSeries.NonIP_Datagrams:
                sOptions = new SeeSeriesOptions("ForeignIP_Stats", cSeries.ToString(), "Non-IP Received", Gallery.Bar, ChartScales.Count, true, 1);
                break;

            case ChartSeries.TCP_Outbound_Datagrams:
                sOptions = new SeeSeriesOptions("ForeignIP_Stats", cSeries.ToString(), "TCP Sent", Gallery.Bar, ChartScales.Count, true, 1);
                break;

            case ChartSeries.IP_Outbound_Datagrams:
                sOptions = new SeeSeriesOptions("ForeignIP_Stats", cSeries.ToString(), "IP Sent", Gallery.Bar, ChartScales.Count, true, 1);
                break;

            case ChartSeries.UDP_Outbound_Datagrams:
                sOptions = new SeeSeriesOptions("ForeignIP_Stats", cSeries.ToString(), "UDP Sent", Gallery.Bar, ChartScales.Count, true, 1);
                break;

            case ChartSeries.ICMP_Outbound_Datagrams:
                sOptions = new SeeSeriesOptions("ForeignIP_Stats", cSeries.ToString(), "ICMP Sent", Gallery.Bar, ChartScales.Count, true, 1);
                break;

            case ChartSeries.ARP_Outbound_Datagrams:
                sOptions = new SeeSeriesOptions("ForeignIP_Stats", cSeries.ToString(), "ARP Sent", Gallery.Bar, ChartScales.Count, true, 1);
                break;

                #endregion
            default:
                System.Diagnostics.Debug.WriteLine("Invalid ChartSeries in SeeChartParams.GetSeriesOptions()...");
                break;
            }
            return(sOptions);
        }