MicroXYSeriesBase Class
Provides the base class for a micro series that uses an X/Y axis.
public abstract class MicroXYSeriesBase : MicroSeriesBase
- Inheritance:
- object Visual UIElement FrameworkElement Control MicroSeriesBase object
Constructors
MicroXYSeriesBase()
Initializes an instance of the class.
protected MicroXYSeriesBase()
Properties
AggregationFactor
A factor between 0 and 1 that indicates the number of data points generated based on the size of the chart.
Chart
The MicroXYChart that owns this series.
DataPoints
The data points associated with this series.
public MicroXYDataPointCollectionView? DataPoints { get; }
Property Value
Description
A description of the series.
IsAggregationEnabled
Indicates whether the data points will be an aggregation of the source data.
LegendItemTemplate
The data template used when presenting a legend item for the series.
LegendMarkerStyle
A Style, which is applied to the MicroChartMarker element used when presenting a legend item for the series.
LegendStringFormat
The string format used when presenting a legend item for the series.
public string LegendStringFormat { get; set; }
Property Value
- string:
The default value is
"{0}".
Remarks
The format string will be passed the following parameters:
- {0} - The value of the primary axis.
- {1} - The value of the secondary axis.
- {2} - The X value.
- {3} - The Y value.
- {4} - Reserved.
- {5} - Description.
MarkerFirstStyle
A Style, which is applied to the MicroChartMarker element used to render the first marker along the series.
MarkerHighStyle
A Style, which is applied to the MicroChartMarker elements used to render the high markers along the series.
MarkerLastStyle
A Style, which is applied to the MicroChartMarker element used to render the last marker along the series.
MarkerLowStyle
A Style, which is applied to the MicroChartMarker elements used to render the low markers along the series.
MarkerNegativeStyle
A negative Style, which is applied to the MicroChartMarker elements used to render the markers along the series.
MarkerStyle
A Style, which is applied to the MicroChartMarker elements used to render the markers along the series.
MarkerStyleKinds
A MicroChartMarkerStyleKinds which indicates what style kinds are used for markers along the series.
public MicroChartMarkerStyleKinds MarkerStyleKinds { get; set; }
Property Value
- MicroChartMarkerStyleKinds:
The default value is None.
PrimaryAggregationKind
A value indicating which kind of aggregation to perform along the primary axis.
public MicroAggregationKind PrimaryAggregationKind { get; set; }
Property Value
- MicroAggregationKind:
The default value is Average.
RequiresNormalizedValues
A value indicating whether the values presented by this series must be normalized.
RequiresSlottedLayout
A value indicating whether the series requires slotted layout.
SecondaryAggregationKind
A value indicating which kind of aggregation to perform along the secondary axis.
public MicroAggregationKind SecondaryAggregationKind { get; set; }
Property Value
- MicroAggregationKind:
The default value is First.
StackKind
A value indicating the kind of stacking applied to the series.
public MicroXYSeriesStackKind StackKind { get; set; }
Property Value
- MicroXYSeriesStackKind:
The default value is None.
XPath
The path to the item property represented along the X-axis.
YPath
The path to the item property represented along the Y-axis.
Methods
GetMinimumMargin()
The minimum margin around the plotted area required by the series.
NormalizeValue(object, object)
Normalizes the value using the specified baseline
protected virtual object NormalizeValue(object value, object baselineValue)
| Parameter | Type | Description |
|---|---|---|
| value | object | The value to normalize. |
| baselineValue | object | The baseline value. |
Returns
PlotSeries(MicroXYChartPlotter)
Plots the series to the associated chart using the specified plotter.
protected virtual void PlotSeries(MicroXYChartPlotter plotter)
| Parameter | Type | Description |
|---|---|---|
| plotter | MicroXYChartPlotter | The plotter used to render shapes on the chart. |
PrepareSeries(MicroXYChartPlotter)
Prepares the series to be plotted to the associated chart using the specified plotter.
protected virtual void PrepareSeries(MicroXYChartPlotter plotter)
| Parameter | Type | Description |
|---|---|---|
| plotter | MicroXYChartPlotter | The plotter. |
Refresh()
Updates the series based on the current state.
public override void Refresh()
Fields
AggregationFactorProperty
Defines the AggregationFactor property.
public static readonly DependencyProperty AggregationFactorProperty
DescriptionProperty
Defines the Description property.
public static readonly DependencyProperty DescriptionProperty
IsAggregationEnabledProperty
Defines the IsAggregationEnabled property.
public static readonly DependencyProperty IsAggregationEnabledProperty
LegendItemTemplateProperty
Defines the LegendItemTemplate property.
public static readonly DependencyProperty LegendItemTemplateProperty
LegendMarkerStyleProperty
Defines the LegendMarkerStyle property.
public static readonly DependencyProperty LegendMarkerStyleProperty
LegendStringFormatProperty
Defines the LegendStringFormat property.
public static readonly DependencyProperty LegendStringFormatProperty
MarkerFirstStyleProperty
Defines the MarkerFirstStyle property.
public static readonly DependencyProperty MarkerFirstStyleProperty
MarkerHighStyleProperty
Defines the MarkerHighStyle property.
public static readonly DependencyProperty MarkerHighStyleProperty
MarkerLastStyleProperty
Defines the MarkerLastStyle property.
public static readonly DependencyProperty MarkerLastStyleProperty
MarkerLowStyleProperty
Defines the MarkerLowStyle property.
public static readonly DependencyProperty MarkerLowStyleProperty
MarkerNegativeStyleProperty
Defines the MarkerNegativeStyle property.
public static readonly DependencyProperty MarkerNegativeStyleProperty
MarkerStyleKindsProperty
Defines the MarkerStyleKinds property.
public static readonly DependencyProperty MarkerStyleKindsProperty
MarkerStyleProperty
Defines the MarkerStyle property.
public static readonly DependencyProperty MarkerStyleProperty
PrimaryAggregationKindProperty
Defines the PrimaryAggregationKind property.
public static readonly DependencyProperty PrimaryAggregationKindProperty
SecondaryAggregationKindProperty
Defines the SecondaryAggregationKind property.
public static readonly DependencyProperty SecondaryAggregationKindProperty
StackKindProperty
Defines the StackKind property.
public static readonly DependencyProperty StackKindProperty
XPathProperty
Defines the XPath property.
public static readonly DependencyProperty XPathProperty
YPathProperty
Defines the YPath property.
public static readonly DependencyProperty YPathProperty
Inherited Members
- MicroSeriesBase.IndexProperty
- MicroSeriesBase.ItemsSourceProperty
- MicroSeriesBase.NotifyPropertyChanged(string)
- MicroSeriesBase.OnItemsSourceChanged(IEnumerable, IEnumerable)
- MicroSeriesBase.OnItemsSourceCollectionChanged(object, NotifyCollectionChangedEventArgs)
- MicroSeriesBase.OnPropertyChanged(string)
- MicroSeriesBase.OnPropertyChanged(PropertyChangedEventArgs)
- MicroSeriesBase.SetProperty<T>(ref T, T, string)
- MicroSeriesBase.Index
- MicroSeriesBase.ItemsSource
- MicroSeriesBase.LogicalOrientation
- MicroSeriesBase.PropertyChanged