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
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
BeginAngle
Sector begin angle.
public double BeginAngle { get; set; }
Property Value
Behind
Is the sector behind series or on front of it.
public bool Behind { get; set; }
Property Value
BorderLocation
Border location relative to sector edge.
public Sector.BorderStyle BorderLocation { get; set; }
Property Value
BorderlineStyle
Borderline style.
public LineStyle BorderlineStyle { get; set; }
Property Value
CenterClipping
Defines how the sector should be clipped at the center of the graph.
public CenterClipping CenterClipping { get; set; }
Property Value
ClipInsideGraph
Defines if the sector is drawn outside the main chart circle.
public bool ClipInsideGraph { get; set; }
Property Value
EndAngle
Sector end angle.
public double EndAngle { get; set; }
Property Value
Fill
Fill.
public Fill Fill { get; set; }
Property Value
LegendBoxOrderIndex
Series index in LegendBox
public int LegendBoxOrderIndex { get; set; }
Property Value
MaxAmplitude
Sector max amplitude.
public double MaxAmplitude { get; set; }
Property Value
MinAmplitude
Sector min amplitude.
public double MinAmplitude { get; set; }
Property Value
OwnerView
Owner view.
[Browsable(false)]
public ViewPolarBase OwnerView { get; }
Property Value
ShowInLegendBox
Enlists the series title text in Legend box of the chart
public bool ShowInLegendBox { get; set; }
Property Value
Title
Sector title
public PolarSectorTitle Title { get; set; }
Property Value
Visible
Is the series visible
public bool Visible { get; set; }
Property Value
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
disposingbooltrue 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
xintx-coordinate in PX
yinty-coordinate in PX
useDIPboolUse 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
sSectorrelated object
Returns
- LegendBoxObject
returns M:LightningChartLib.WinForms.Charting.SeriesPolar.Sector.op_Implicit(LightningChartLib.WinForms.Charting.SeriesPolar.Sector)~LightningChartLib.WinForms.Charting.Views.LegendBoxObject