[]
        
(Showing Draft Content)

C1.Win.C1Chart.Legend

Legend Class

Provides access to the customization of the legend for the chart.

Inheritance
Legend
Namespace: C1.Win.C1Chart
Assembly: C1.Win.C1Chart.4.8.dll
Syntax
[TypeConverter(typeof(c1ChartTypeConverter))]
public class Legend

Properties

Name Description
Compass

Gets or sets the general positioning of the legend.

Location

Gets or sets the location of the legend in chart control client coordinates.

LocationDefault

Gets or sets the default location of the legend.

Orientation

Gets or sets the orientation of the legend entries.

Reversed

Determines the order of the ChartGroups in the legend.

Size

Gets or sets the size of the legend in chart control client coordinates.

SizeDefault

Gets or sets the default size of the legend.

Style

Gets the legend style.

Text

Gets or sets the primary text of the legend.

TooltipText

Gets or sets the tooltip text.

Visible

Gets or sets the legend visibility.

Methods

Name Description
FunctionsFromCoord(int, int, ref int, ref int)

Obtains the group and function indices of the legend entry nearest to the specified client coordinates. Mouse coordinates are specified in client coordinates.

RectFromSeries(int, int)
ResetLocationDefault()

Resets the Legend location so it is calculated automatically.

ResetSizeDefault()

Resets Legend size so it is calculated automatically.

ResetStyle()

Resets Legend style inheritance state.

SeriesFromCoord(int, int, ref int, ref int)

Obtains the group and series indices of the legend entry nearest to the specified client coordinates. Mouse coordinates are specified in client coordinates.

ShouldSerializeLocationDefault()

Returns false if the Legend LocationDefault property is in the default state.

ShouldSerializeSizeDefault()

Returns false if the Legend SizeDefault property is in the default state.

ShouldSerializeStyle()

Returns false if the Legend Style property is in the default state.

TrendLinesFromCoord(int, int, ref int, ref int)

Obtains the group and trendline indices of the legend entry nearest to the specified client coordinates. Mouse coordinates are specified in client coordinates.