Table of Contents

Class Sector

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

Sector class.

[TypeConverter(typeof(ExpandableObjectConverter))]
public class Sector : DraggableObject, IChartNode, IDisposable, IHighlightingItem
Inheritance
Sector
Implements
Inherited Members

Constructors

Sector()

Constructor for Form designer list editor.

public Sector()

Sector(ViewPolar, AxisPolar)

Constructor.

public Sector(ViewPolar owner, AxisPolar axisPolar)

Parameters

owner ViewPolar

Parent.

axisPolar AxisPolar

Polar axis you want to bind.

Properties

AssignPolarAxisIndex

Index of polar axis assigned to this series. Give -1 when you don't want to assign it yet to any axis.

public int AssignPolarAxisIndex { get; set; }

Property Value

int

BeginAngle

Sector begin angle.

public double BeginAngle { get; set; }

Property Value

double

Behind

Is the sector behind series or on front of it.

public bool Behind { get; set; }

Property Value

bool

BorderLocation

Border location relative to sector edge.

public Sector.BorderStyle BorderLocation { get; set; }

Property Value

Sector.BorderStyle

BorderlineStyle

Borderline style.

public LineStyle BorderlineStyle { get; set; }

Property Value

LineStyle

CenterClipping

Defines how the sector should be clipped at the center of the graph.

public CenterClipping CenterClipping { get; set; }

Property Value

CenterClipping

ClipInsideGraph

Defines if the sector is drawn outside the main chart circle.

public bool ClipInsideGraph { get; set; }

Property Value

bool

EndAngle

Sector end angle.

public double EndAngle { get; set; }

Property Value

double

Fill

Fill.

public Fill Fill { get; set; }

Property Value

Fill

LegendBoxOrderIndex

Series index in LegendBox

public int LegendBoxOrderIndex { get; set; }

Property Value

int

MaxAmplitude

Sector max amplitude.

public double MaxAmplitude { get; set; }

Property Value

double

MinAmplitude

Sector min amplitude.

public double MinAmplitude { get; set; }

Property Value

double

OwnerView

Owner view.

[Browsable(false)]
public ViewPolarBase OwnerView { get; }

Property Value

ViewPolarBase

ShowInLegendBox

Enlists the series title text in Legend box of the chart

public bool ShowInLegendBox { get; set; }

Property Value

bool

Title

Sector title

public PolarSectorTitle Title { get; set; }

Property Value

PolarSectorTitle

Visible

Is the series visible

public bool Visible { get; set; }

Property Value

bool

Methods

Clear()

Does nothing on this series type

public void Clear()

Dispose(bool)

Clean up any resources being used.

protected override void Dispose(bool disposing)

Parameters

disposing bool

true if managed resources should be disposed, otherwise false.

IsPositionOver(int, int, bool)

Is position over item.

public override bool IsPositionOver(int x, int y, bool useDIP = false)

Parameters

x int

x-coordinate in PX

y int

y-coordinate in PX

useDIP bool

Use DIP instead of pixels as parameters

Returns

bool

true if position is over item, false otherwise

SetProperCursor()

Set proper dragging cursor, or mouse-over cursor.

public override void SetProperCursor()

ToString()

Item to string.

public override string ToString()

Returns

string
returns M:LightningChartLib.WinForms.Charting.SeriesPolar.Sector.ToString

Operators

implicit operator LegendBoxObject(Sector)

Get item as LegendBoxMouseObject.

public static implicit operator LegendBoxObject(Sector s)

Parameters

s Sector

related object

Returns

LegendBoxObject
returns M:LightningChartLib.WinForms.Charting.SeriesPolar.Sector.op_Implicit(LightningChartLib.WinForms.Charting.SeriesPolar.Sector)~LightningChartLib.WinForms.Charting.Views.LegendBoxObject