RenderOptionsCommon Properties |
The RenderOptionsCommon type exposes the following members.
| Name | Description | |
|---|---|---|
| AntiAliasLevel |
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. | |
| D2DEnabled |
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.
| |
| DeviceType |
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. | |
| FontsQuality |
Fonts rendering quality.
| |
| ForceDeviceCreateOnResize |
Force device create on control resize. Some virtual machine environment require this to be set to true.
| |
| FrameRateLimit |
Maximum frames to present in second.
| |
| GPUPreference |
Gets or sets GPU preference setting. This is a dependency property.
| |
| HeadlessMode |
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.
| |
| InvokeRenderingInUIThread |
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.
| |
| LineAAType2D |
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 | |
| LineAAType3D |
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 | |
| LineOffset |
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.
| |
| RemoteDesktopVendorId |
RemoteDeskTop graphics card ID.
| |
| UpdateOnResize |
Update chart always when resizing control.
| |
| UpdateOnResizeTimeInterval |
Update chart after this interval (ms) after resizing ends, if UpdateAlwaysOnResize is false.
| |
| UpdateType |
Defines how / when chart is updated and new frames are rendered.
| |
| WaitForVSync |
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.
| |
| ViewXY |
Rendering options for ViewXY.
|