IChartModifier
Defines the interface to a ChartModifierBase, which can be used to extend the interactivity or rendering of the UltrachartSurface
Implements: IChartModifierBase, IReceiveMouseEvents, INotifyPropertyChanged
Properties
public IUltrachartSurface ParentSurface { get; set; }
value = iChartModifier.ParentSurface
iChartModifier.ParentSurface = value
Gets or sets the parent UltrachartSurface to perform operations on
public IAxis XAxis { get; }
value = iChartModifier.XAxis
Gets the XAxis IAxis instance on the parent UltrachartSurface
public IEnumerable<IAxis> YAxes { get; }
value = iChartModifier.YAxes
Returns the YAxes on the parent UltrachartSurface
public IAxis YAxis { get; }
value = iChartModifier.YAxis
Gets the primary YAxis, this is the first axis in the YAxes collection
Methods
public IAxis GetYAxis(string axisId)
result = iChartModifier.GetYAxis(axisId)
Gets the YAxis IAxis instance on the parent UltrachartSurface with the specified Id
- axisId
- The Id of the axis to get
Returns: The Axis instance
public bool IsPointWithinBounds(Point mousePoint, IHitTestable hitTestable)
result = iChartModifier.IsPointWithinBounds(mousePoint, hitTestable)
Gets whether the mouse point is within the bounds of the hit-testable element. Assumes the mouse-point has not been translated yet (performs translation)
- mousePoint
- hitTestable
public void OnAnnotationCollectionChanged(object sender, NotifyCollectionChangedEventArgs args)
iChartModifier.OnAnnotationCollectionChanged(sender, args)
Called when the AnnotationCollection changes
public void OnXAxesCollectionChanged(object sender, NotifyCollectionChangedEventArgs args)
iChartModifier.OnXAxesCollectionChanged(sender, args)
Called with the XAxesAxisCollection changes
public void OnYAxesCollectionChanged(object sender, NotifyCollectionChangedEventArgs args)
iChartModifier.OnYAxesCollectionChanged(sender, args)
Called with the XAxesAxisCollection changes
public void ResetInertia()
iChartModifier.ResetInertia()
Instantly stops any inertia that can be associated with this modifier.