DefaultViewportManager
The DefaultViewportManager performs a naive calculation for X and Y Axis VisibleRange. On each render of the parent UltrachartSurface, either autorange to fit the data (depending on the Axis.AutoRange property value), or return the original axis range (no change)
Hereda de: ViewportManagerBase
Métodos
OnCalculateNewXRange(IAxis) : IRange
Overridden by derived types, called when the parent UltrachartSurface requests the XAxis VisibleRange. The Range returned by this method will be applied to the chart on render
- xAxis
- The XAxis
Devuelve: The new VisibleRange for the XAxis
OnCalculateNewYRange(IAxis, RenderPassInfo) : IRange
Overridden by derived types, called when the parent UltrachartSurface requests a YAxis VisibleRange. The Range returned by this method will be applied to the chart on render
- yAxis
- The YAxis
- renderPassInfo
Devuelve: The new VisibleRange for the YAxis
OnParentSurfaceRendered(IUltrachartSurface)
Called when the IUltrachartSurface is rendered.
- ultraChartSurface
- The UltrachartSurface instance
OnVisibleRangeChanged(IAxis)
Called when the VisibleRange changes for an axis. Override in derived types to get a notification of this occurring
- axis
- The IAxisinstance