Click or drag to resize

RenderOptionsCommonLineOffset Property

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

Namespace:  Arction.WinForms.Charting.Views
Assembly:  Arction.WinForms.Charting.LightningChart (in Arction.WinForms.Charting.LightningChart.dll) Version: 10.3.1
Syntax
public PointDouble LineOffset { get; set; }

Property Value

Type: PointDouble
See Also