private void Menu_AddSummary_Click(object sender, System.EventArgs e) { ChartSeries series = new ChartSeries(); TreeNode node = new TreeNode(series.ToString()); node.Tag = series; this.C_SeriesTree.Nodes.Add(node); }
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); }