Class SeriesView
Denotes a view that visualizes series data in a chart
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: NFX.WinForms.Controls.ChartKit.Temporal
Assembly: NFX.WinForms.dll
Syntax
public abstract class SeriesView : INamed, IOrdered
Constructors
SeriesView(String, Int32, String)
Declaration
protected SeriesView(string name, int order, string paneName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | |
| System.Int32 | order | |
| System.String | paneName |
Fields
m_MaxScale
Declaration
protected float m_MaxScale
Field Value
| Type | Description |
|---|---|
| System.Single |
m_MinScale
Declaration
protected float m_MinScale
Field Value
| Type | Description |
|---|---|
| System.Single |
Properties
DefaultPaneName
Returns the default scale/pane name which is used if PaneName is not assigned in .ctor Series redering is directed in the named panes Every pane has its own Y scale
Declaration
public abstract string DefaultPaneName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
MaxScale
Declaration
public float MaxScale { get; }
Property Value
| Type | Description |
|---|---|
| System.Single |
MinScale
Declaration
public float MinScale { get; }
Property Value
| Type | Description |
|---|---|
| System.Single |
Name
Series name
Declaration
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Order
Series order in the list of orders
Declaration
public int Order { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
PaneName
Returns the scale/pane name which is either assigned in .ctor or taken from DefaultPaneName. Series redering is directed in the named panes Every pane has its own Y scale
Declaration
public string PaneName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
SampleWidth
Returns the width (horizontal size) of one sample, including any padding
Declaration
public abstract int SampleWidth { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
ShowYLevels
Shows/hides all views
Declaration
public bool ShowYLevels { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Visible
Shows/hides all views
Declaration
public bool Visible { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Methods
BuildElements(TimeSeriesChart, PlotPane, TimeSeries, Int32)
Override to build elements that render the data by adding drawable elements to the chart. Returns how many samples could fit
Declaration
public abstract int BuildElements(TimeSeriesChart chart, PlotPane pane, TimeSeries series, int maxSampleWidth)
Parameters
| Type | Name | Description |
|---|---|---|
| TimeSeriesChart | chart | |
| PlotPane | pane | |
| TimeSeries | series | |
| System.Int32 | maxSampleWidth |
Returns
| Type | Description |
|---|---|
| System.Int32 |