IUltrachartSurfaceBase

StockSharp.Xaml.Charting.Visuals

Common base interface for UltrachartSurfaceBase derived classes

Implements: ISuspendable, IInvalidatableElement

Properties

ChartTitle
public string ChartTitle { get; set; }
value = iUltrachartSurfaceBase.ChartTitle
iUltrachartSurfaceBase.ChartTitle = value

Gets or sets an optional Chart Title, displayed above the chart surface

ClipModifierSurface
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

DebugWhyDoesntUltrachartRender
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.

IsVisible
public bool IsVisible { get; }
value = iUltrachartSurfaceBase.IsVisible

Gets whether the UltrachartSurface is currently visible

ModifierSurface
public IChartModifierSurface ModifierSurface { get; }
value = iUltrachartSurfaceBase.ModifierSurface

Gets the ModifierSurface, which is used to draw primitives for the Chart Modifiers

RenderPriority
public RenderPriority RenderPriority { get; set; }
value = iUltrachartSurfaceBase.RenderPriority
iUltrachartSurfaceBase.RenderPriority = value

Gets or sets the RenderPriority. The default is Normal

RenderSurface
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.

Services
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

SyncRoot
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

OnUltrachartRendered
public void OnUltrachartRendered()
iUltrachartSurfaceBase.OnUltrachartRendered()

Raises the Rendered event, fired at the end of a render pass immediately before presentation to the screen

SetMouseCursor
public void SetMouseCursor(Cursor cursor)
iUltrachartSurfaceBase.SetMouseCursor(cursor)

Sets a Cursor on the UltrachartSurface

cursor
The new Cursor

Events

Rendered
public event EventHandler<EventArgs> Rendered
iUltrachartSurfaceBase.Rendered += handler

Event raised at the end of a single render pass