Click or drag to resize

RenderOptionsCommon Class

LightningChart .NET Help
View rendering options.
Inheritance Hierarchy
DependencyObject
  LightningChartLib.UWP.ChartingMVVMChartNode
    LightningChartLib.UWP.ChartingMVVM.ViewsRenderOptionsCommon

Namespace: LightningChartLib.UWP.ChartingMVVM.Views
Assembly: LightningChart.UWP.ChartingMVVM (in LightningChart.UWP.ChartingMVVM.dll) Version: 11.0.1
XMLNS for XAML: Not mapped to an xmlns.
Syntax
[SerializableAttribute]
[TypeConverterAttribute(typeof(GeneralTypeConverter))]
public class RenderOptionsCommon : ChartNode

The RenderOptionsCommon type exposes the following members.

Constructors
 NameDescription
Public methodRenderOptionsCommon Simple constructor for Form designer's list editor.
Public methodRenderOptionsCommon(IChartNode) Constructor.
Top
Properties
 NameDescription
Public propertyAntiAliasLevel Anti-aliasing factor. 0 and 1 = No anti-aliasing. This is a dependency property. 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 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 propertyDeviceType Gets or sets rendering device type. This is a dependency property.
Public propertyFontsQuality Gets or sets fonts rendering quality. This is a dependency property.
Public propertyForceDeviceCreateOnResize Gets or sets if force device create on control resize. Some virtual machine environment require this to be set to true. This is a dependency property.
Public propertyFrameRateLimit Maximum frames to present in second.

This is a dependency property

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 Gets or sets if use thread safe updates to force the control draw itself though Invoke. This is a dependency property. 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 propertyLineAAType2D Anti-aliasing type of single pixel width anti-aliased lines for 2D Views. 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 for 3D Views. 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 Gets or sets RemoteDeskTop graphics card id. This is a dependency property.
Public propertyUpdateOnResize Gets or sets if update chart always when resizing control. This is a dependency property.
Public propertyUpdateOnResizeTimeInterval Gets or sets chart update interval (ms) after resizing ends, if UpdateAlwaysOnResize is false. This is a dependency property.
Public propertyUpdateType

[Missing <summary> documentation for "P:LightningChartLib.UWP.ChartingMVVM.Views.RenderOptionsCommon.UpdateType"]

Public propertyWaitForVSync Gets or sets if wait for next refresh, V-Sync. This is a dependency property. 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 Gets or sets rendering options for ViewXY. This is a dependency property.
Top
Methods
 NameDescription
Public methodDispose Release all resources used by this instance.
(Inherited from ChartNode)
Public methodToString Convert class description to string.
Top
Events
 NameDescription
Public eventValueChangedInternallyEvent Value has changed internally by chart or by user manipulation of chart object.
(Inherited from ChartNode)
Top
Fields
 NameDescription
Public fieldStatic memberAntiAliasLevelProperty Identifies the AntiAliasLevel dependency property.
Public fieldStatic memberDeviceTypeProperty Identifies the DeviceType dependency property.
Public fieldStatic memberFontsQualityProperty Identifies the FontQuality dependency property.
Public fieldStatic memberForceDeviceCreateOnResizeProperty Identifies the ForceDeviceCreateOnResize dependency property.
Public fieldStatic memberFrameRateLimitProperty Identifies the FrameRateLimit property.
Public fieldStatic memberGPUPreferenceProperty Identifies the GPUPreference dependency property.
Public fieldStatic memberHeadlessModeProperty Identifies the HeadlessMode property.
Public fieldStatic memberInvokeRenderingInUIThreadProperty Identifies the InvokeRenderingInUIThread dependency property.
Public fieldStatic memberLineAAType2DProperty Identifies the LineAAType dependency property for 2D views.
Public fieldStatic memberLineAAType3DProperty Identifies the LineAAType dependency property for 3D views.
Public fieldStatic memberLineOffsetProperty Identifies the LineOffset dependency property.
Public fieldStatic memberRemoteDesktopVendorIdProperty Identifies the RemoteDesktopVendorId dependency property.
Public fieldStatic memberUpdateOnResizeProperty Identifies the UpdateOnResize dependency property.
Public fieldStatic memberUpdateOnResizeTimeIntervalProperty Identifies the UpdateOnResizeTimeInterval dependency property.
Public fieldStatic memberUpdateTypeProperty Identifies the ChartUpdateStyle property.
Public fieldStatic memberWaitForVSyncProperty Identifies the WaitForVSync dependency property.
Public fieldStatic memberViewXYProperty Identifies the ViewXY dependency property.
Top
See Also