dotnetCHARTING Send comments on this topic.
Series Class Members
See Also  Properties  Methods 
dotnetCHARTING Namespace : Series Class


The following tables list the members exposed by Series.

Public Constructors

 NameDescription
Public ConstructorSeries ConstructorOverloaded.  Initializes a new instance of the Series class with a name and the specified Elements.  
Top

Public Properties

 NameDescription
Public PropertyBackground Gets or sets the background object used to fill a gauge face or radar associated with this series.  
Public PropertyCommandTimeoutGets or sets the wait time before terminating the attempt to execute a command and generating an error.  
Public PropertyConnectionString Sets the database connection string used when dynamically obtaining charting data from a SQL statement.  
Public PropertyData Gets or sets a DataTable, DataSet, DataView, XML file name, XML string, or an object that implement IEnumerable, ArrayList or HashTable used to generate a SeriesCollection.  
Public PropertyDataFieldsGets or sets a value that specifies the 'database column' to 'chart data' relationship.  
Public PropertyDataProviderType Specifies a database type. Defaults to OleDb (Access database).  
Public PropertyDefaultElement Gets or sets the an Element object whose properties will trickle to all elements within this series.  
Public PropertyElement Gets or sets an Element object which facilitates a shortcut for adding elements to the chart.  
Public PropertyElements Gets or sets a collection of Element objects associated with this series.  
Public PropertyEmptyElement Gets or sets an EmptyElement object associated with this series.  
Public PropertyEndDate The ending date used with SqlStatement to query filtered data from a database.  
Public PropertyHatchStylePalette Gets or sets the hatch style palette used be the Elements of this series.  
Public PropertyHatchStylePaletteName Gets or sets a Palette boolean which indicates which static palette will be used be the Elements of this series.

Note If used, legend behavior will be different.  
Public PropertyImageBarTemplate Gets or sets the path and file name of the image bar template used when drawing elements of this series.  
Public PropertyInstanceID  
Public PropertyItem Gets or sets an Element of this Series at a specified index.  
Public PropertyLegendEntry Gets or sets the legend entry properties of this series.  
Public PropertyLimit Gets or sets the limit number of elements returned for this series when data is generated.  
Public PropertyLimitMode Determine the type of limitation for Limit and SplitByLimit properties. Default is Top.  
Public PropertyLine Gets or sets the line properties of this series.  
Public PropertyName Gets or sets the name of this series.  
Public PropertyOtherElementText Controls the label used for the aggregated datapoint / series created when using Limit or SplitByLimit and setting ShowOther to true.  
Public PropertyPalette Gets or sets the palette which will be used by the Elements of this series.

Note If used, legend behavior will be different.  
Public PropertyPaletteName Gets or sets a Palette enumeration which indicates which static palette will be used by the Elements of this series.

Note If used, legend behavior will be different.  
Public PropertyParameterCollection Gets or sets a collection of Parameter objects used in conjunction with StoredProcedure  
Public PropertyPosition Gets or sets the position of this series in relation to other series when the chart is drawn.  
Public PropertyShowOther This property controls if the additional series not shown due to the use of SplitByLimit, or the additional elements not shown due to the use of Limit are aggregated into a single series / element and graphed alongside the top x series / elements.  
Public PropertySplineTensionPercent Gets or sets a value between 0 and 100 that specifies the tension of a spline curve.  
Public PropertySplitByLimitGets or sets the number of series created using SplitBy.  
Public PropertySqlStatement The SQL statement used to obtain the charting data.  
Public PropertyStartDate The starting date used with SqlStatement to query filtered data from a database.  
Public PropertyStoredProcedure This property accepts the name of a stored procedure to be used in place of the SqlStatement property in order to obtain data for the chart.  
Public PropertyTotalElements Return the total number of elements in the elements collection. This property usually used in conjunction with Limit.  
Public PropertyTypeGets or sets the type of this series.  
Public PropertyVisible Gets or sets a value which indicates whether the series is visible.  
Public PropertyXAxis Gets or sets the x axis for this series.  
Public PropertyYAxis Gets or sets the y axis for this series.  
Top

Public Methods

 NameDescription
Public Methodstatic (Shared in Visual Basic)AddOverloaded.  Adds two Series objects together.  
Public MethodAddElementsOverloaded. Adds the elements of the specified series to this series.  
Public MethodAddParameter Adds a stored procedure when to use in conjunction with StoredProcedure.  
Public MethodCalculate Performs a Calculation on current instance of this series.  
Public Methodstatic (Shared in Visual Basic)DivideOverloaded.  Divides the element values of the series on the left by the element values of the series on the right.  
Public Methodstatic (Shared in Visual Basic)FromYValuesOverloaded. Creates a named series of element with the specified y values.  
Public MethodGetDataSource Gets a DataSource object representing this Series.  
Public MethodGetSmartPaletteOverloaded.  Generates a SmartPalette object that contains the names of the elements in this Series matched with the specified Palette enumeration.  
Public Methodstatic (Shared in Visual Basic)MultiplyOverloaded.  Multiplies two Series objects together.  
Public MethodSortOverloaded. Sorts the Elements based on an element property and order.  
Public MethodSplit Splits the elements into individual series per the specified TimeIntervalAdvanced.  
Public MethodSplitRegroupSplits the elements based on the first split, then the resulting series are grouped based on the second split. A simple analogy is a stretch of measuring tape representing a timeline. The tape is cut into sections based on (first split), then the pieces are stacked on top of each other and cut again based on the second split. The resulting stacks are evaluated down to an element based on the specified calculation.

As a real world example, consider you have a series with web site traffic represented by an element for each time the website was visited including a date and time. This method can parse the data in a way that allows determining the traffic for each day of the week throughout the entire span of time. This means all the traffic going through the website on any monday would be calculated down to a single element, same for tuesday and so on.

This illustration may shows how the data is arranged.

 

Public MethodSplitRegroupCalculateOverloaded. Splits the elements based on the first split, then the resulting series are grouped based on the second split. A simple analogy is a stretch of measuring tape representing a timeline. The tape is cut into sections based on (first split), then the pieces are stacked on top of each other and cut again based on the second split. The resulting stacks are evaluated down to an element based on the specified calculation.

As a real world example, consider you have a series with web site traffic represented by an element for each time the website was visited including a date and time. This method can parse the data in a way that allows determining the traffic for each day of the week throughout the entire span of time. This means all the traffic going through the website on any monday would be calculated down to a single element, same for tuesday and so on.

This illustration may shows how the data is arranged.

 

Public Methodstatic (Shared in Visual Basic)SubtractOverloaded.  Subtracts the element values of series on the right from the series on the left.  
Public MethodTrimOverloaded.  Trims elements out of this series based on a specified numeric range and element property.  
Top

Public Operators

Public Operator Addition Overloaded.  Adds two Series objects together.
Public Operator Division Overloaded.  Divides the element values of the series on the left by the element values of the series on the right.
Public Operator Multiplication Overloaded.  Multiplies two Series objects together.
Public Operator Subtraction Overloaded.  Subtracts the element values of series on the right from the series on the left.
Top

See Also