Table of Contents

Struct ClipArea

Namespace
LightningChartLib.WinForms.Charting
Assembly
LightningChart.WinForms.Charting.NET4.dll

Clip area. Prevents owner series data from rendering in Begin...End range.

public struct ClipArea
Inherited Members

Constructors

ClipArea(double, double, ClipDirection)

Constructor.

public ClipArea(double begin, double end, ClipDirection clipDirection)

Parameters

begin double

Begin value. Start clipping from here.

end double

End value. End clipping here.

clipDirection ClipDirection

Clip direction, X or Y.

ClipArea(double, double, ClipDirection, object)

Constructor.

public ClipArea(double begin, double end, ClipDirection clipDirection, object tag)

Parameters

begin double

Begin value. Start clipping from here.

end double

End value. End clipping here.

clipDirection ClipDirection

Clip direction, X or Y.

tag object

Tag, freely assignable object.

ClipArea(double, double, int, ClipDirection)

Constructor.

public ClipArea(double begin, double end, int marginPixels, ClipDirection clipDirection)

Parameters

begin double

Begin value. Start clipping from here.

end double

End value. End clipping here.

marginPixels int

Margin pixels. Set positive to clip more, negative to clip less.

clipDirection ClipDirection

Clip direction, X or Y.

ClipArea(double, double, int, ClipDirection, object)

Constructor.

public ClipArea(double begin, double end, int marginPixels, ClipDirection clipDirection, object tag)

Parameters

begin double

Begin value. Start clipping from here.

end double

End value. End clipping here.

marginPixels int

Margin pixels. Set positive to clip more, negative to clip less.

clipDirection ClipDirection

Clip direction, X or Y.

tag object

Tag, freely assignable object.

Fields

MarginPixels

Amount of pixels to clip more from positions calculated from Begin and End values. 0: Don't clip more or less. Positive: Clip more, the clipped area is this many pixels wider from both left and right (or top and bottom). Negative: Clip less, the clipped area is this many pixels narrower from both left and right (or top and bottom).

public int MarginPixels

Field Value

int

Tag

Tag. Freely assignable object.

public object Tag

Field Value

object

Properties

Begin

Begin value. Start clipping from here.

public double Begin { get; set; }

Property Value

double

ClipDirection

Clip direction, X or Y.

public ClipDirection ClipDirection { get; set; }

Property Value

ClipDirection

End

End value. End clipping here.

public double End { get; set; }

Property Value

double

Methods

ToString()

Convert class description to string.

public override string ToString()

Returns

string

Class description as a string.