Click or drag to resize

RenderOptionsCommon Class

LightningChart .NET Help
View rendering options.
Inheritance Hierarchy

Namespace:  Arction.Wpf.Charting.Views
Assembly:  Arction.Wpf.Charting.LightningChart (in Arction.Wpf.Charting.LightningChart.dll) Version: 10.3.1
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. 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
Methods
  NameDescription
Public methodClearValue(DependencyProperty)
Clears the local value of a property. The property to be cleared is specified by a DependencyProperty identifier.
(Inherited from DependencyObject.)
Public methodClearValue(DependencyPropertyKey)
Clears the local value of a read-only property. The property to be cleared is specified by a DependencyPropertyKey.
(Inherited from DependencyObject.)
Public methodClone
Creates a modifiable clone of the Freezable, making deep copies of the object's values. When copying the object's dependency properties, this method copies expressions (which might no longer resolve) but not animations or their current values.
(Inherited from Freezable.)
Public methodCloneCurrentValue
Creates a modifiable clone (deep copy) of the Freezable using its current values.
(Inherited from Freezable.)
Public methodCoerceValue
Coerces the value of the specified dependency property. This is accomplished by invoking any CoerceValueCallback function specified in property metadata for the dependency property as it exists on the calling DependencyObject.
(Inherited from DependencyObject.)
Public methodDispose
Release all resources used by this instance.
(Inherited from ChartNode.)
Public methodEquals
Determines whether a provided DependencyObject is equivalent to the current DependencyObject.
(Inherited from DependencyObject.)
Public methodFreeze
Makes the current object unmodifiable and sets its IsFrozen property to true.
(Inherited from Freezable.)
Public methodGetAsFrozen
Creates a frozen copy of the Freezable, using base (non-animated) property values. Because the copy is frozen, any frozen sub-objects are copied by reference.
(Inherited from Freezable.)
Public methodGetCurrentValueAsFrozen
Creates a frozen copy of the Freezable using current property values. Because the copy is frozen, any frozen sub-objects are copied by reference.
(Inherited from Freezable.)
Public methodGetHashCode
Gets a hash code for this DependencyObject.
(Inherited from DependencyObject.)
Public methodGetLocalValueEnumerator
Creates a specialized enumerator for determining which dependency properties have locally set values on this DependencyObject.
(Inherited from DependencyObject.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValue
Returns the current effective value of a dependency property on this instance of a DependencyObject.
(Inherited from DependencyObject.)
Public methodInvalidateProperty
Re-evaluates the effective value for the specified dependency property
(Inherited from DependencyObject.)
Public methodReadLocalValue
Returns the local value of a dependency property, if it exists.
(Inherited from DependencyObject.)
Public methodSetCurrentValue
Sets the value of a dependency property without changing its value source.
(Inherited from DependencyObject.)
Public methodSetValue(DependencyProperty, Object)
Sets the local value of a dependency property, specified by its dependency property identifier.
(Inherited from DependencyObject.)
Public methodSetValue(DependencyPropertyKey, Object)
Sets the local value of a read-only dependency property, specified by the DependencyPropertyKey identifier of the dependency property.
(Inherited from DependencyObject.)
Public methodToString
Convert class description to string.
(Overrides ObjectToString.)
Top
Events
  NameDescription
Public eventChanged
Occurs when the Freezable or an object it contains is modified.
(Inherited from Freezable.)
Top
See Also