Class RenderingSettings
- Namespace
- LightningChartLib.WinForms.Charting
- Assembly
- LightningChart.WinForms.Charting.NET4.dll
Rendering settings, that can be given as chart constructor parameter to set the creation time parameters. Speeds up creating of the chart, if non-default values are given, preventing the chart rendering engine to be re-created several times.
Note that the values are only read once after the chart is created, and changing them later has no effect. To change values after chart has been created, use Charts ChartRenderOptions property on WPF, or RenderOptions property on WinForms, both of type RenderOptionsCommon
This object can be shared between multiple charts.
public class RenderingSettings
- Inheritance
-
RenderingSettings
- Inherited Members
Constructors
RenderingSettings()
Constructor for Form designer list editor.
public RenderingSettings()
Fields
AntiAliasLevel
Anti-aliasing factor. 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 AntiAlias property will be anti-aliased, if it's set to 'Normal'.
public uint AntiAliasLevel
Field Value
ChartMessageDelegate
Delegate to register to the ChartMessage event. Initialized this way the chart error event is launched even before the object has been fully constructed.
Intended primarily as debug measure for cases when LC crashes on constructor and we need more information on why it happens.
public LightningChart.ChartMessageHandler ChartMessageDelegate
Field Value
D2DEnabled
Temporary debug setting for disabling D2D system and text rendering on DX11.
public bool D2DEnabled
Field Value
DeviceType
Default rendering device engine to use. Defaults to Auto.
public RendererDeviceType DeviceType
Field Value
HeadlessMode
Identifies that we do not actually have a graphical interface. This is true for instance for services or console applications. This can also be used if the chart is intended to run on background without an actual interface.
public bool HeadlessMode
Field Value
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. Enabling this may improve performance especially in slow computers.
public bool WaitforVSync