Show / Hide Table of Contents

Class DataPointSeriesWithAxes

Represents a dynamic series that uses axes to display data points.

Inheritance
System.Object
DependencyObject
UIElement
FrameworkElement
Control
Series
DataPointSeries
DataPointSeriesWithAxes
DataPointSingleSeriesWithAxes
Implements
ISeries
IRequireSeriesHost
IDataProvider
IRangeProvider
IAxisListener
IValueMarginProvider
Inherited Members
DataPointSeries.PlotAreaName
DataPointSeries.DataPointStyleName
DataPointSeries.LegendItemStyleName
DataPointSeries.ActualLegendItemStyleName
DataPointSeries.DependentValueBinding
DataPointSeries.DependentValuePath
DataPointSeries.IndependentValueBinding
DataPointSeries.IndependentValuePath
DataPointSeries.ItemsSource
DataPointSeries.ItemsSourceProperty
DataPointSeries.OnItemsSourceChanged(IEnumerable, IEnumerable)
DataPointSeries.AnimationSequence
DataPointSeries.ActiveDataPoints
DataPointSeries.ActiveDataPointCount
DataPointSeries.TransitionEasingFunction
DataPointSeries.TransitionEasingFunctionProperty
DataPointSeries.IsSelectionEnabled
DataPointSeries.IsSelectionEnabledProperty
DataPointSeries.OnIsSelectionEnabledPropertyChanged(Boolean, Boolean)
DataPointSeries.AnimationSequenceProperty
DataPointSeries.PlotAreaSize
DataPointSeries.SelectionChanged
DataPointSeries.SelectedItem
DataPointSeries.SelectedItemProperty
DataPointSeries.OnSelectedItemPropertyChanged(Object, Object)
DataPointSeries.DataPointStyle
DataPointSeries.DataPointStyleProperty
DataPointSeries.OnDataPointStylePropertyChanged(Style, Style)
DataPointSeries.LegendItemStyle
DataPointSeries.LegendItemStyleProperty
DataPointSeries.OnLegendItemStylePropertyChanged(Style, Style)
DataPointSeries.TransitionDuration
DataPointSeries.TransitionDurationProperty
DataPointSeries.AddObject(Object)
DataPointSeries.ShouldCreateDataPoint(Object)
DataPointSeries.GetInsertionIndex(DataPoint)
DataPointSeries.AddDataPoint(DataPoint)
DataPointSeries.GetDataPoint(Object)
DataPointSeries.CreateDataPoint()
DataPointSeries.CreateLegendItem(DataPointSeries)
DataPointSeries.LoadDataPoints(IEnumerable, IEnumerable)
DataPointSeries.OnApplyTemplate()
DataPointSeries.OnItemsSourceCollectionChanged(IEnumerable, NotifyCollectionChangedEventArgs)
DataPointSeries.OnPlotAreaChanged(Panel, Panel)
DataPointSeries.Refresh()
DataPointSeries.RemoveObject(Object)
DataPointSeries.RemoveDataPoint(DataPoint)
DataPointSeries.UpdatingDataPoints
DataPointSeries.AttachEventHandlersToDataPoint(DataPoint)
DataPointSeries.DetachEventHandlersFromDataPoint(DataPoint)
DataPointSeries.OnBeforeUpdateDataPoints()
DataPointSeries.OnAfterUpdateDataPoints()
DataPointSeries.UpdateDataPoint(DataPoint)
DataPointSeries.PrepareDataPoint(DataPoint, Object)
DataPointSeries.OnDataPointStateChanged(DataPoint, DataPointState, DataPointState)
Series.TitleName
Series.SeriesHost
Series.LegendItems
Series.Title
Series.TitleProperty
Series.OnTitleChanged(Object, Object)
Control.EnableBaseControlHandlingOfVisualStates
Control.ManageIsEnabled(Boolean)
Control.Background
Control.BackgroundProperty
Control.BorderBrush
Control.BorderBrushProperty
Control.BorderThickness
Control.BorderThicknessProperty
Control.FontWeight
Control.FontWeightProperty
Control.FontStyle
Control.FontStyleProperty
Control.Foreground
Control.ForegroundProperty
Control.FontFamily
Control.FontFamilyProperty
Control.FontSize
Control.FontSizeProperty
Control.TextDecorations
Control.TextDecorationsProperty
Control.Padding
Control.PaddingProperty
Control.HorizontalContentAlignment
Control.HorizontalContentAlignmentProperty
Control.VerticalContentAlignment
Control.VerticalContentAlignmentProperty
Control.TabIndex
Control.TabIndexProperty
Control.IsTabStop
Control.IsTabStopProperty
Control.TabNavigation
Control.TabNavigationProperty
Control.Template
Control.TemplateProperty
Control.ApplyTemplate()
Control.GetTemplateChild(String)
Control.Focus()
Control.HandlesScrolling
Control.OnGotFocus(RoutedEventArgs)
Control.OnLostFocus(RoutedEventArgs)
Control.CreateDomElement(Object, Object)
Control.CharacterSpacingProperty
Control.CharacterSpacing
Control.FontStretchProperty
Control.FontStretch
Control.OnDrop(DragEventArgs)
Control.OnDragEnter(DragEventArgs)
Control.OnDragLeave(DragEventArgs)
Control.OnTextInputUpdate(TextCompositionEventArgs)
Control.MeasureOverride(Size)
Control.ArrangeOverride(Size)
FrameworkElement.LayoutUpdated
FrameworkElement.SizeChanged
FrameworkElement.ResourceLookupMode
FrameworkElement.StyleProperty
FrameworkElement.Style
FrameworkElement.DefaultStyleKeyProperty
FrameworkElement.DefaultStyleKey
FrameworkElement.OverridesDefaultStyleProperty
FrameworkElement.OverridesDefaultStyle
FrameworkElement.OnVisualParentChanged(DependencyObject)
FrameworkElement.VisualChildrenCount
FrameworkElement.GetVisualChild(Int32)
FrameworkElement.Parent
FrameworkElement.AddLogicalChild(Object)
FrameworkElement.RemoveLogicalChild(Object)
FrameworkElement.LogicalChildren
FrameworkElement.TemplatedParent
FrameworkElement.Resources
FrameworkElement.IsLoaded
FrameworkElement.SetBinding(DependencyProperty, BindingBase)
FrameworkElement.SetBinding(DependencyProperty, Binding)
FrameworkElement.GetBindingExpression(DependencyProperty)
FrameworkElement.Cursor
FrameworkElement.CursorProperty
FrameworkElement.FindName(String)
FrameworkElement.Name
FrameworkElement.NameProperty
FrameworkElement.DataContext
FrameworkElement.DataContextProperty
FrameworkElement.DataContextChanged
FrameworkElement.Triggers
FrameworkElement.FlowDirectionProperty
FrameworkElement.FlowDirection
FrameworkElement.LanguageProperty
FrameworkElement.Language
FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs)
FrameworkElement.Tag
FrameworkElement.TagProperty
FrameworkElement.LoadedEvent
FrameworkElement.Loaded
FrameworkElement.Unloaded
FrameworkElement.BindingValidationError
FrameworkElement.ContextMenuProperty
FrameworkElement.ContextMenu
FrameworkElement.ContextMenuOpening
FrameworkElement.ToolTipProperty
FrameworkElement.ToolTip
FrameworkElement.INTERNAL_OnDetachedFromVisualTree()
FrameworkElement.INTERNAL_OnAttachedToVisualTree()
FrameworkElement.Height
FrameworkElement.HeightProperty
FrameworkElement.Width
FrameworkElement.WidthProperty
FrameworkElement.HorizontalAlignment
FrameworkElement.HorizontalAlignmentProperty
FrameworkElement.VerticalAlignment
FrameworkElement.VerticalAlignmentProperty
FrameworkElement.Margin
FrameworkElement.MarginProperty
FrameworkElement.MinHeight
FrameworkElement.MinHeightProperty
FrameworkElement.MinWidth
FrameworkElement.MinWidthProperty
FrameworkElement.MaxHeight
FrameworkElement.MaxHeightProperty
FrameworkElement.MaxWidth
FrameworkElement.MaxWidthProperty
FrameworkElement.ActualWidthProperty
FrameworkElement.ActualWidth
FrameworkElement.ActualHeightProperty
FrameworkElement.ActualHeight
UIElement.TransformToVisual(UIElement)
UIElement.OnCreateAutomationPeer()
UIElement.RenderSize
UIElement.DesiredSize
UIElement.InvalidateMeasure()
UIElement.InvalidateArrange()
UIElement.Measure(Size)
UIElement.Arrange(Rect)
UIElement.UpdateLayout()
UIElement.DragEnter
UIElement.DragLeave
UIElement.Drop
UIElement.DragOver
UIElement.CacheMode
UIElement.CacheModeProperty
UIElement.Projection
UIElement.ProjectionProperty
UIElement.VisualParent
UIElement.AddVisualChild(UIElement)
UIElement.RemoveVisualChild(UIElement)
UIElement.OnVisualChildrenChanged(DependencyObject, DependencyObject)
UIElement.XamlSourcePath
UIElement.ClipToBounds
UIElement.ClipToBoundsProperty
UIElement.ClipProperty
UIElement.Clip
UIElement.IsEnabledProperty
UIElement.IsEnabled
UIElement.IsEnabledChanged
UIElement.EffectProperty
UIElement.Effect
UIElement.RenderTransformProperty
UIElement.RenderTransform
UIElement.RenderTransformOriginProperty
UIElement.RenderTransformOrigin
UIElement.UseLayoutRounding
UIElement.UseLayoutRoundingProperty
UIElement.Visibility
UIElement.VisibilityProperty
UIElement.IsVisibleProperty
UIElement.IsVisible
UIElement.IsVisibleChanged
UIElement.OpacityProperty
UIElement.Opacity
UIElement.OpacityMaskProperty
UIElement.OpacityMask
UIElement.IsHitTestVisible
UIElement.IsHitTestVisibleProperty
UIElement.AllowDrop
UIElement.AllowDropProperty
UIElement.CaptureMouse()
UIElement.IsMouseCaptured
UIElement.ReleaseMouseCapture()
UIElement.AllowScrollOnTouchMove
UIElement.AllowScrollOnTouchMoveProperty
UIElement.AddHandler(RoutedEvent, Delegate, Boolean)
UIElement.RemoveHandler(RoutedEvent, Delegate)
UIElement.MouseMoveEvent
UIElement.MouseMove
UIElement.OnMouseMove(MouseEventArgs)
UIElement.MouseLeftButtonDownEvent
UIElement.MouseLeftButtonDown
UIElement.OnMouseLeftButtonDown(MouseButtonEventArgs)
UIElement.MouseRightButtonDownEvent
UIElement.MouseRightButtonDown
UIElement.OnMouseRightButtonDown(MouseButtonEventArgs)
UIElement.MouseWheelEvent
UIElement.MouseWheel
UIElement.OnMouseWheel(MouseWheelEventArgs)
UIElement.MouseLeftButtonUpEvent
UIElement.MouseLeftButtonUp
UIElement.OnMouseLeftButtonUp(MouseButtonEventArgs)
UIElement.MouseEnterEvent
UIElement.MouseEnter
UIElement.OnMouseEnter(MouseEventArgs)
UIElement.MouseLeaveEvent
UIElement.MouseLeave
UIElement.OnMouseLeave(MouseEventArgs)
UIElement.TextInputStartEvent
UIElement.TextInputStart
UIElement.OnTextInputStart(TextCompositionEventArgs)
UIElement.TextInputEvent
UIElement.TextInput
UIElement.OnTextInput(TextCompositionEventArgs)
UIElement.TextInputUpdateEvent
UIElement.TextInputUpdate
UIElement.TappedEvent
UIElement.Tapped
UIElement.OnTapped(TappedRoutedEventArgs)
UIElement.MouseRightButtonUpEvent
UIElement.MouseRightButtonUp
UIElement.OnMouseRightButtonUp(MouseButtonEventArgs)
UIElement.KeyDownEvent
UIElement.KeyDown
UIElement.OnKeyDown(KeyEventArgs)
UIElement.KeyUpEvent
UIElement.KeyUp
UIElement.OnKeyUp(KeyEventArgs)
UIElement.GotFocusEvent
UIElement.GotFocus
UIElement.LostFocusEvent
UIElement.LostFocus
UIElement.LostMouseCapture
UIElement.OnLostMouseCapture(MouseEventArgs)
UIElement.INTERNAL_AttachToDomEvents()
UIElement.INTERNAL_DetachFromDomEvents()
DependencyObject.GetValue(DependencyProperty)
DependencyObject.SetCurrentValue(DependencyProperty, Object)
DependencyObject.ReadLocalValue(DependencyProperty)
DependencyObject.SetValue(DependencyProperty, Object)
DependencyObject.SetValue(DependencyPropertyKey, Object)
DependencyObject.CoerceValue(DependencyProperty)
DependencyObject.Dispatcher
DependencyObject.ClearValue(DependencyProperty)
DependencyObject.ClearValue(DependencyPropertyKey)
DependencyObject.CheckAccess()
DependencyObject.GetAnimationBaseValue(DependencyProperty)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Controls.DataVisualization.Charting
Assembly: OpenSilver.Controls.DataVisualization.Toolkit.dll
Syntax
public abstract class DataPointSeriesWithAxes : DataPointSeries, IControl, IFrameworkElement, IUIElement, IDependencyObject, ISeries, IRequireSeriesHost, IDataProvider, IRangeProvider, IAxisListener, IValueMarginProvider

Constructors

| Improve this Doc View Source

DataPointSeriesWithAxes()

Initializes a new instance of the DataPointSeriesWithAxes class.

Declaration
protected DataPointSeriesWithAxes()

Properties

| Improve this Doc View Source

InternalActualDependentAxis

Gets or sets the actual dependent axis.

Declaration
protected IAxis InternalActualDependentAxis { get; set; }
Property Value
Type Description
IAxis
| Improve this Doc View Source

InternalActualIndependentAxis

Gets or sets the actual independent axis value.

Declaration
protected IAxis InternalActualIndependentAxis { get; set; }
Property Value
Type Description
IAxis
| Improve this Doc View Source

InternalDependentAxis

Gets or sets the value of the internal dependent axis.

Declaration
protected IAxis InternalDependentAxis { get; set; }
Property Value
Type Description
IAxis
| Improve this Doc View Source

InternalIndependentAxis

Gets or sets the value of the internal independent axis.

Declaration
protected IAxis InternalIndependentAxis { get; set; }
Property Value
Type Description
IAxis

Methods

| Improve this Doc View Source

CreateRangeAxisFromData(Object)

Creates the correct range axis based on the data.

Declaration
protected static IRangeAxis CreateRangeAxisFromData(object value)
Parameters
Type Name Description
System.Object value

The value to evaluate to determine which type of axis to create.

Returns
Type Description
IRangeAxis

The range axis appropriate that can plot the provided value.

| Improve this Doc View Source

GetActualDataPointAxisValue(DataPoint, IAxis)

Retrieves the value for a given access from a data point.

Declaration
protected virtual object GetActualDataPointAxisValue(DataPoint dataPoint, IAxis axis)
Parameters
Type Name Description
DataPoint dataPoint

The data point to retrieve the value from.

IAxis axis

The axis to retrieve the value for.

Returns
Type Description
System.Object

A function that returns a value appropriate for the axis when provided a DataPoint.

| Improve this Doc View Source

GetAxes(DataPoint)

Method called to get series to acquire the axes it needs. Acquires no axes by default.

Declaration
protected abstract void GetAxes(DataPoint firstDataPoint)
Parameters
Type Name Description
DataPoint firstDataPoint

The first data point.

| Improve this Doc View Source

GetAxes(DataPoint, Func<IAxis, Boolean>, Func<IAxis>, Func<IAxis, Boolean>, Func<IAxis>)

Method called to get the axes that the series needs.

Declaration
protected virtual void GetAxes(DataPoint firstDataPoint, Func<IAxis, bool> independentAxisPredicate, Func<IAxis> independentAxisFactory, Func<IAxis, bool> dependentAxisPredicate, Func<IAxis> dependentAxisFactory)
Parameters
Type Name Description
DataPoint firstDataPoint

The first data point.

System.Func<IAxis, System.Boolean> independentAxisPredicate

A predicate that returns a value indicating whether an axis is an acceptable candidate for the series independent axis.

System.Func<IAxis> independentAxisFactory

A function that creates an acceptable independent axis.

System.Func<IAxis, System.Boolean> dependentAxisPredicate

A predicate that returns a value indicating whether an axis is an acceptable candidate for the series dependent axis.

System.Func<IAxis> dependentAxisFactory

A function that creates an acceptable dependent axis.

| Improve this Doc View Source

GetRange(IRangeConsumer)

Returns the actual range of data for a given axis.

Declaration
protected virtual Range<IComparable> GetRange(IRangeConsumer consumer)
Parameters
Type Name Description
IRangeConsumer consumer

The axis to retrieve the range for.

Returns
Type Description
Range<System.IComparable>

The actual range of data.

| Improve this Doc View Source

GetValueMargins(IValueMarginConsumer)

Returns the value margins for a given axis.

Declaration
protected virtual IEnumerable<ValueMargin> GetValueMargins(IValueMarginConsumer consumer)
Parameters
Type Name Description
IValueMarginConsumer consumer

The axis to retrieve the value margins for.

Returns
Type Description
System.Collections.Generic.IEnumerable<ValueMargin>

A sequence of value margins.

| Improve this Doc View Source

OnDataPointActualDependentValueChanged(DataPoint, IComparable, IComparable)

Update the axes when the specified data point's ActualDependentValue property changes.

Declaration
protected override void OnDataPointActualDependentValueChanged(DataPoint dataPoint, IComparable oldValue, IComparable newValue)
Parameters
Type Name Description
DataPoint dataPoint

The data point.

System.IComparable oldValue

The old value.

System.IComparable newValue

The new value.

Overrides
DataPointSeries.OnDataPointActualDependentValueChanged(DataPoint, IComparable, IComparable)
| Improve this Doc View Source

OnDataPointActualIndependentValueChanged(DataPoint, Object, Object)

Update axes when the specified data point's actual independent value changes.

Declaration
protected override void OnDataPointActualIndependentValueChanged(DataPoint dataPoint, object oldValue, object newValue)
Parameters
Type Name Description
DataPoint dataPoint

The data point.

System.Object oldValue

The old value.

System.Object newValue

The new value.

Overrides
DataPointSeries.OnDataPointActualIndependentValueChanged(DataPoint, Object, Object)
| Improve this Doc View Source

OnDataPointDependentValueChanged(DataPoint, IComparable, IComparable)

Update the axes when the specified data point's DependentValue property changes.

Declaration
protected override void OnDataPointDependentValueChanged(DataPoint dataPoint, IComparable oldValue, IComparable newValue)
Parameters
Type Name Description
DataPoint dataPoint

The data point.

System.IComparable oldValue

The old value.

System.IComparable newValue

The new value.

Overrides
DataPointSeries.OnDataPointDependentValueChanged(DataPoint, IComparable, IComparable)
| Improve this Doc View Source

OnDataPointIndependentValueChanged(DataPoint, Object, Object)

Update axes when the specified data point's independent value changes.

Declaration
protected override void OnDataPointIndependentValueChanged(DataPoint dataPoint, object oldValue, object newValue)
Parameters
Type Name Description
DataPoint dataPoint

The data point.

System.Object oldValue

The old value.

System.Object newValue

The new value.

Overrides
DataPointSeries.OnDataPointIndependentValueChanged(DataPoint, Object, Object)
| Improve this Doc View Source

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
DataPointSeries.OnDataPointsChanged(IList<DataPoint>, IList<DataPoint>)
| Improve this Doc View Source

OnInternalDependentAxisPropertyChanged(IAxis, IAxis)

DependentAxisProperty property changed handler.

Declaration
protected virtual void OnInternalDependentAxisPropertyChanged(IAxis oldValue, IAxis newValue)
Parameters
Type Name Description
IAxis oldValue

Old value.

IAxis newValue

New value.

| Improve this Doc View Source

OnInternalIndependentAxisPropertyChanged(IAxis, IAxis)

IndependentAxisProperty property changed handler.

Declaration
protected virtual void OnInternalIndependentAxisPropertyChanged(IAxis oldValue, IAxis newValue)
Parameters
Type Name Description
IAxis oldValue

Old value.

IAxis newValue

New value.

| Improve this Doc View Source

OnSeriesHostPropertyChanged(ISeriesHost, ISeriesHost)

Called when the value of the SeriesHost property changes.

Declaration
protected override void OnSeriesHostPropertyChanged(ISeriesHost oldValue, ISeriesHost newValue)
Parameters
Type Name Description
ISeriesHost oldValue

The value to be replaced.

ISeriesHost newValue

The new series host value.

Overrides
DataPointSeries.OnSeriesHostPropertyChanged(ISeriesHost, ISeriesHost)
| Improve this Doc View Source

UpdateDataPoints(IEnumerable<DataPoint>)

Only updates all data points if series has axes.

Declaration
protected override void UpdateDataPoints(IEnumerable<DataPoint> dataPoints)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<DataPoint> dataPoints

A sequence of data points to update.

Overrides
DataPointSeries.UpdateDataPoints(IEnumerable<DataPoint>)

Explicit Interface Implementations

| Improve this Doc View Source

IAxisListener.AxisInvalidated(IAxis)

Updates data points when the axis is invalidated.

Declaration
void IAxisListener.AxisInvalidated(IAxis axis)
Parameters
Type Name Description
IAxis axis

The axis that was invalidated.

| Improve this Doc View Source

IDataProvider.GetData(IDataConsumer)

Returns data to a data consumer.

Declaration
IEnumerable<object> IDataProvider.GetData(IDataConsumer dataConsumer)
Parameters
Type Name Description
IDataConsumer dataConsumer

The data consumer requesting the data.

Returns
Type Description
System.Collections.Generic.IEnumerable<System.Object>

The data for a given data consumer.

| Improve this Doc View Source

IRangeProvider.GetRange(IRangeConsumer)

Returns the data range.

Declaration
Range<IComparable> IRangeProvider.GetRange(IRangeConsumer rangeConsumer)
Parameters
Type Name Description
IRangeConsumer rangeConsumer

The consumer requesting the range.

Returns
Type Description
Range<System.IComparable>

The data range.

| Improve this Doc View Source

IValueMarginProvider.GetValueMargins(IValueMarginConsumer)

Returns the value margins for a given axis.

Declaration
IEnumerable<ValueMargin> IValueMarginProvider.GetValueMargins(IValueMarginConsumer axis)
Parameters
Type Name Description
IValueMarginConsumer axis

The axis to retrieve the value margins for.

Returns
Type Description
System.Collections.Generic.IEnumerable<ValueMargin>

A sequence of value margins.

Implements

ISeries
IRequireSeriesHost
IDataProvider
IRangeProvider
IAxisListener
IValueMarginProvider

Extension Methods

DependencyObjectHelper.GetSelfAndAncestors(DependencyObject)
UIElementExtendedRoutedEventExtensions.AddHandler(UIElement, ExtendedRoutedEvent, Delegate, Boolean)
UIElementExtendedRoutedEventExtensions.RemoveHandler(UIElement, ExtendedRoutedEvent, Delegate)
VisualTreeExtensions.GetVisualAncestors(DependencyObject)
VisualTreeExtensions.GetVisualAncestorsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualChildren(DependencyObject)
VisualTreeExtensions.GetVisualChildrenAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualDescendants(DependencyObject)
VisualTreeExtensions.GetVisualDescendantsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualSiblings(DependencyObject)
VisualTreeExtensions.GetVisualSiblingsAndSelf(DependencyObject)
VisualTreeExtensions.GetBoundsRelativeTo(FrameworkElement, UIElement)
VisualTreeExtensions.InvokeOnLayoutUpdated(FrameworkElement, Action)
  • Improve this Doc
  • View Source