Class DataPointSingleSeriesWithAxes
A dynamic series with axes and only one legend item and style for all data points.
Inheritance
Implements
Inherited Members
Namespace: System.Windows.Controls.DataVisualization.Charting
Assembly: Controls.DataVisualization.OpenSilver.dll
Syntax
public abstract class DataPointSingleSeriesWithAxes : DataPointSeriesWithAxes, ISeries, IRequireSeriesHost, IDataProvider, IRangeProvider, IAxisListener, IValueMarginProvider, IRequireGlobalSeriesIndex
Constructors
| Improve this Doc View SourceDataPointSingleSeriesWithAxes()
Initializes a new instance of the DataPointSingleSeriesWithAxes class.
Declaration
protected DataPointSingleSeriesWithAxes()
Fields
| Improve this Doc View SourceActualDataPointStyleName
Name of the ActualDataPointStyle property.
Declaration
protected const string ActualDataPointStyleName = "ActualDataPointStyle"
Field Value
Type | Description |
---|---|
System.String |
ActualDataPointStyleProperty
Identifies the ActualDataPointStyle dependency property.
Declaration
protected static readonly DependencyProperty ActualDataPointStyleProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
ActualLegendItemStyleProperty
Identifies the ActualLegendItemStyle dependency property.
Declaration
protected static readonly DependencyProperty ActualLegendItemStyleProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
GlobalSeriesIndexProperty
Identifies the GlobalSeriesIndex dependency property.
Declaration
public static readonly DependencyProperty GlobalSeriesIndexProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceActualDataPointStyle
Gets or sets the actual style used for the data points.
Declaration
protected Style ActualDataPointStyle { get; set; }
Property Value
Type | Description |
---|---|
Style |
ActualLegendItemStyle
Gets or sets the actual style used for the legend item.
Declaration
protected Style ActualLegendItemStyle { get; set; }
Property Value
Type | Description |
---|---|
Style |
GlobalSeriesIndex
Gets the index of the series in the Parent's series collection.
Declaration
public int? GlobalSeriesIndex { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
LegendItem
Gets the single legend item associated with the series.
Declaration
protected LegendItem LegendItem { get; }
Property Value
Type | Description |
---|---|
LegendItem |
PaletteResources
Gets the Palette-dispensed ResourceDictionary for the Series.
Declaration
protected ResourceDictionary PaletteResources { get; }
Property Value
Type | Description |
---|---|
ResourceDictionary |
Methods
| Improve this Doc View SourceGetResourceDictionaryEnumeratorFromHost()
Returns the custom ResourceDictionary to use for necessary resources.
Declaration
protected abstract IEnumerator<ResourceDictionary> GetResourceDictionaryEnumeratorFromHost()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<ResourceDictionary> | ResourceDictionary to use for necessary resources. |
GlobalSeriesIndexChanged(Nullable<Int32>)
This method updates the global series index property.
Declaration
public void GlobalSeriesIndexChanged(int? globalIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.Int32> | globalIndex | The global index of the series. |
OnDataPointsChanged(IList<DataPoint>, IList<DataPoint>)
Called after data points have been loaded from the items source.
Declaration
protected override void OnDataPointsChanged(IList<DataPoint> newDataPoints, IList<DataPoint> oldDataPoints)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<DataPoint> | newDataPoints | New active data points. |
System.Collections.Generic.IList<DataPoint> | oldDataPoints | Old inactive data points. |
Overrides
| Improve this Doc View SourceOnDataPointStylePropertyChanged(Style, Style)
DataPointStyleProperty property changed handler.
Declaration
protected override void OnDataPointStylePropertyChanged(Style oldValue, Style newValue)
Parameters
Type | Name | Description |
---|---|---|
Style | oldValue | Old value. |
Style | newValue | New value. |
Overrides
| Improve this Doc View SourceOnGlobalSeriesIndexPropertyChanged(Nullable<Int32>, Nullable<Int32>)
GlobalSeriesIndexProperty property changed handler.
Declaration
protected virtual void OnGlobalSeriesIndexPropertyChanged(int? oldValue, int? newValue)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.Int32> | oldValue | Old value. |
System.Nullable<System.Int32> | newValue | New value. |
OnLegendItemStylePropertyChanged(Style, Style)
Called when the value of the LegendItemStyle property changes.
Declaration
protected override void OnLegendItemStylePropertyChanged(Style oldValue, Style newValue)
Parameters
Type | Name | Description |
---|---|---|
Style | oldValue | Old value. |
Style | newValue | New value. |
Overrides
| Improve this Doc View SourceOnPlotAreaChanged(Panel, Panel)
Insert grid containing data point used for legend item into the plot area.
Declaration
protected override void OnPlotAreaChanged(Panel oldValue, Panel newValue)
Parameters
Type | Name | Description |
---|---|---|
Panel | oldValue | The old plot area. |
Panel | newValue | The new plot area. |
Overrides
| Improve this Doc View SourceOnSeriesHostPropertyChanged(ISeriesHost, ISeriesHost)
When the series host property is set retrieves a style to use for all the data points.
Declaration
protected override void OnSeriesHostPropertyChanged(ISeriesHost oldValue, ISeriesHost newValue)
Parameters
Type | Name | Description |
---|---|---|
ISeriesHost | oldValue | The old series host value. |
ISeriesHost | newValue | The new series host value. |
Overrides
| Improve this Doc View SourceOnTitleChanged(Object, Object)
Called when the Title property changes.
Declaration
protected override void OnTitleChanged(object oldValue, object newValue)
Parameters
Type | Name | Description |
---|---|---|
System.Object | oldValue | Old value of the Title property. |
System.Object | newValue | New value of the Title property. |
Overrides
| Improve this Doc View SourcePrepareDataPoint(DataPoint, Object)
Sets the style of the data point to the single style used for all data points.
Declaration
protected override void PrepareDataPoint(DataPoint dataPoint, object dataContext)
Parameters
Type | Name | Description |
---|---|---|
DataPoint | dataPoint | The data point to apply the style to. |
System.Object | dataContext | The object associated with the data point. |