IUltrachartSurface
Defines the interface to the UltrachartSurface, which contains a single RenderSurfaceBase viewport for rendering multiple IRenderableSeries, X and Y IAxis instances, and where each IRenderableSeries may have a IDataSeries data source. The UltrachartSurface may have zero to many UIElementAnnotationBaseannotations and may have a ChartModifierBase to enable interaction with the chart. Where many ChartModifierBaseChartModifiers are used, you may use a ModifierGroup to group them.
Implementa: IUltrachartSurfaceBase, ISuspendable, IInvalidatableElement, IUltrachartController, IDisposable
Propiedades
AdornerLayerCanvas : Canvas
Gets the Adorner Layer over the chart
AnnotationOverlaySurface : IAnnotationCanvas
Gets the Annotation Canvas over the chart
Annotations : AnnotationCollection
Gets the AnnotationCollection which provides renderable annotations over the UltrachartSurface
AnnotationUnderlaySurface : IAnnotationCanvas
Gets the Annotation Canvas under the chart
ChartModifier : IChartModifier
Gets or sets the current ChartModifier, which alters the behaviour of the chart
GridLinesPanel : IGridLinesPanel
Gets the GridLinesPanel where gridlines are drawn
RenderableSeries : ObservableCollection<IRenderableSeries>
Gets the collection of RenderableSeries that this UltrachartSurface draws.
RootGrid : IMainGrid
Gets the Root Grid that hosts the Ultrachart RenderSurface, GridLinesPanel, X-Axis and Y-Axes (Left and right)
SelectedRenderableSeries : ObservableCollection<IRenderableSeries>
Gets the collection of RenderableSeries that are selected.
SeriesSource : ObservableCollection<IChartSeriesViewModel>
The SeriesSource property allows data-binding to a collection of IChartSeriesViewModel instances, for pairing of DataSeries with IRenderableSeries
ViewportManager : IViewportManager
Gets or sets the current ViewportManager, which alters the behaviour of the viewport (X,Y range) when the chart is rendered
XAxes : AxisCollection
Gets the collection of X-Axis IAxis that this UltrachartSurface measures against
YAxes : AxisCollection
Gets the collection of Y-Axis IAxis that this UltrachartSurface measures against
Métodos
ClearSeries()
Removes all DataSeries from the Ultrachart
ExportToBitmapSource() : BitmapSource
Export snapshot of current UltrachartSurface to BitmapSource
GetBoundsRelativeTo(IHitTestable) : Rect
Gets the bounds of the current HitTestable element relative to another HitTestable element
- relativeTo
- The relative to.
GetWindowedYRange(IAxis, IRange) : IRange
Equivalent of calling YAxis.GetMaximumRange() however returns the max range only for that axis (by the data-series on it)
- yAxis
- xRange
IsPointWithinBounds(Point) : bool
Returns true if the Point is within the bounds of the current HitTestable element
- point
- The point to test
Devuelve: true if the Point is within the bounds
OnArrangeUltrachart() : Size
Preparations for a render pass, called internally, returns the viewport size
OnAxisAlignmentChanged(IAxis, AxisAlignment)
Called internally by Ultrachart when AxisAlignment changes. Allows the UltrachartSurface to reposition the axis, e.g. at the top, left, bottom, right
- axis
- oldValue
OnIsCenterAxisChanged(IAxis)
Called internally by Ultrachart when IsCenterAxis changes. Allows the UltrachartSurface to place the axis in the center of chart
- axis
TranslatePoint(Point, IHitTestable) : Point
Translates the point relative to the other hittestable element
- point
- The point.
- relativeTo
- The relative to.
Eventos
AnnotationsCollectionNewCollectionAssigned : EventHandler
Event raised when Annotations DependencyProperty is changed
AxisAlignmentChanged : EventHandler<AxisAlignmentChangedEventArgs>
Event raised when alignment of any axis changed
XAxesCollectionNewCollectionAssigned : EventHandler
Event raised when XAxes DependnecyProperty is changed
YAxesCollectionNewCollectionAssigned : EventHandler
Event raised when YAxes DependnecyProperty is changed