Click or drag to resize

RenderingSettings Class

LightningChart .NET Help
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.

Inheritance Hierarchy
SystemObject
  Arction.Wpf.ChartingRenderingSettings

Namespace:  Arction.Wpf.Charting
Assembly:  Arction.Wpf.Charting.LightningChart (in Arction.Wpf.Charting.LightningChart.dll) Version: 10.3.1
Syntax
public class RenderingSettings

The RenderingSettings type exposes the following members.

Constructors
  NameDescription
Public methodRenderingSettings
Constructor for Form designer list editor.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldAntiAliasLevel
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 fieldChartMessageDelegate
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 fieldD2DEnabled
Temporary debug setting for disabling D2D system and text rendering on DX11.
Public fieldDeviceType
Default rendering device engine to use. Defaults to Auto.
Public fieldHeadlessMode
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 fieldWaitforVSync
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.
Top
See Also