IUltrachartSurfaceBase
Common base interface for UltrachartSurfaceBase derived classes
Implements: ISuspendable, IInvalidatableElement
Properties
public string ChartTitle { get; set; }
value = iUltrachartSurfaceBase.ChartTitle
iUltrachartSurfaceBase.ChartTitle = value
Gets or sets an optional Chart Title, displayed above the chart surface
public bool ClipModifierSurface { get; set; }
value = iUltrachartSurfaceBase.ClipModifierSurface
iUltrachartSurfaceBase.ClipModifierSurface = value
Gets or sets a value whether to clip the ChartModifierSurface property to bounds. Fefault false
public bool DebugWhyDoesntUltrachartRender { get; set; }
value = iUltrachartSurfaceBase.DebugWhyDoesntUltrachartRender
iUltrachartSurfaceBase.DebugWhyDoesntUltrachartRender = value
Gets or sets a flag whether Ultrachart should output rendering exceptions and 'Why Ultrachart Doesn't Render' reasons to the Debug Console. Default is True.
public bool IsVisible { get; }
value = iUltrachartSurfaceBase.IsVisible
Gets whether the UltrachartSurface is currently visible
public IChartModifierSurface ModifierSurface { get; }
value = iUltrachartSurfaceBase.ModifierSurface
Gets the ModifierSurface, which is used to draw primitives for the Chart Modifiers
public RenderPriority RenderPriority { get; set; }
value = iUltrachartSurfaceBase.RenderPriority
iUltrachartSurfaceBase.RenderPriority = value
Gets or sets the RenderPriority. The default is Normal
public IRenderSurface RenderSurface { get; set; }
value = iUltrachartSurfaceBase.RenderSurface
iUltrachartSurfaceBase.RenderSurface = value
Gets or sets the RenderSurface implementation that this UltrachartSurfaceBase uses. Default implementation for a UltrachartSurface is a HighSpeedRenderSurface, however Ultrachart supports additional render surfaces, providing high quality software and high speed hardware accelerated or 3D renderers.
public IServiceContainer Services { get; }
value = iUltrachartSurfaceBase.Services
Gets the ServiceContainer which provides access to services throughout Ultrachart. ServiceContainers are created one per UltrachartSurface instance, and shared between peripheral components such as AxisBase, BaseRenderableSeries, ChartModifierBase instances. For a full list of available services, see the remarks on ServiceContainer
public object SyncRoot { get; }
value = iUltrachartSurfaceBase.SyncRoot
A synchronization object which is locked during a render pass. If you lock this Ultrachart will not render and will be blocked on the UI thread until the lock is released. This is used internally by DataSeries to lock the UltrachartSurface when bulk updates are done.
Methods
public void OnUltrachartRendered()
iUltrachartSurfaceBase.OnUltrachartRendered()
Raises the Rendered event, fired at the end of a render pass immediately before presentation to the screen
public void SetMouseCursor(Cursor cursor)
iUltrachartSurfaceBase.SetMouseCursor(cursor)
Sets a Cursor on the UltrachartSurface
- cursor
- The new Cursor
Events
public event EventHandler<EventArgs> Rendered
iUltrachartSurfaceBase.Rendered += handler
Event raised at the end of a single render pass