Click or drag to resize

RenderOptionsCommon Properties

LightningChart .NET Help

The RenderOptionsCommon type exposes the following members.

Properties
  NameDescription
Public propertyAntiAliasLevel
Anti-aliasing factor. 0 and 1 = No anti-aliasing. The larger the value, the smoother the image will be, but at steep cost of performance on some display adapters. Only objects having Normal will be anti-aliased.

Note that with DX11 thicker (triangle) lines cannot be rendered without anti-aliasing unless this property's value is set to be lower than 1.

Public propertyCanFreeze
Gets a value that indicates whether the object can be made unmodifiable.
(Inherited from Freezable.)
Public propertyD2DEnabled
Determines if the D2D system is used or not. Text rendering does not work on DX11 without D2D. This is intended only as Debug measure at this time, and the property will be removed later.
Public propertyDependencyObjectType
Gets the DependencyObjectType that wraps the CLR type of this instance. 
(Inherited from DependencyObject.)
Public propertyDeviceType
Rendering device type to use, or selection logic for the engine to be used.

Note that reading this value does not provide information of the current device, just the requested one. More information on remarks.

Public propertyDispatcher
Gets the Dispatcher this DispatcherObject is associated with.
(Inherited from DispatcherObject.)
Public propertyFontsQuality
Fonts rendering quality.
Public propertyForceDeviceCreateOnResize
Force device create on control resize. Some virtual machine environment require this to be set to true.
Public propertyFrameRateLimit
Maximum frames to present in second.
Public propertyGPUPreference
Gets or sets GPU preference setting. This is a dependency property.
Public propertyHeadlessMode
Defines if the LightningChart expects to have a graphical interface or not. This allows the LC to be used in the background, without connections to interface. This has effect on multiple different things. For instance device type selection will cause the engine to change instantly on selection, not when LC is connected to visual tree.
Public propertyInvokeRenderingInUIThread
Use thread safe updates to force the control draw itself though Invoke. Enabling this may cause slower updates, and should not be used in applications running without auxiliary threads updating the chart data or properties. Alternatively, you can use Invoke method of your parent form or control. You should always update the chart data from by Invoking in application side.
Public propertyIsFrozen
Gets a value that indicates whether the object is currently modifiable.
(Inherited from Freezable.)
Public propertyIsSealed
Gets a value that indicates whether this instance is currently sealed (read-only).
(Inherited from DependencyObject.)
Public propertyLineAAType2D
Anti-aliasing type of single pixel width anti-aliased lines. Applicable only on DX11 and when AntiAliasLevel is above 1. Lines thicker than 1 pixel are rendered using triangles, and use triangle drawing AA system. ALAA option produces generally best looking line and is faster than QLAA. There is some problems with ALAA with Warp though.

Note that on DX11, the usage of alpha-line anti-aliasing can be also controlled through IsMultisampleEnabled

Public propertyLineAAType3D
Anti-aliasing type of single pixel width anti-aliased lines. Applicable only on DX11 and when AntiAliasLevel is above 1. Lines thicker than 1 pixel are rendered using triangles, and use triangle drawing AA system. ALAA option produces generally best looking line and is faster than QLAA. There is some problems with ALAA with Warp though.

Note that on DX11, the usage of quadrilateral-line anti-aliasing can be also controlled through IsMultisampleEnabled

Public propertyLineOffset
Debug Line offset of the DX11 line drawing. LightningChart internally uses coordinate system where the coordinate points to the center of the pixel. Meaning that screen coordinate (0,0) is at the center of the top-left pixel. In DX9 this is the same. In DX11 the point (0,0) is at the top-left corner of the top-left pixel, and the center of the pixel is at point (0.5, 0.5). The points are moved by this offset in DX11 engine, so that the chart can use the same coordinate system with all engines. The default value of (0.5, 0.5) is the "correct" one, but it can be modified by this property.
Public propertyRemoteDesktopVendorId
RemoteDeskTop graphics card ID.
Public propertyUpdateOnResize
Update chart always when resizing control.
Public propertyUpdateOnResizeTimeInterval
Update chart after this interval (ms) after resizing ends, if UpdateAlwaysOnResize is false.
Public propertyUpdateType
Defines how / when chart is updated and new frames are rendered.
Public propertyWaitForVSync
Wait for next refresh, V-Sync. If the computer is fast enough, disabling this can give higher refresh rate than the screen refresh rate is. By disabling this, rendering does not wait next screen refresh turn.
Public propertyViewXY
Rendering options for ViewXY.
Top
See Also