Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxChartLegendItem Class

A legend pane item.

#Declaration

Delphi
TdxChartLegendItem = class(
    TObject
)

#Remarks

A legend item corresponds to an XY series or a simple series argument on a diagram or Chart legend pane. Legend items consist of captions, glyphs, and check boxes that allow users to hide or display the corresponding series or series values.

VCL Chart Control: A Legend Item

#Main API Members

The list below outlines key members of the TdxChartCustomLabels class that allow you to identify a legend item.

Checked
Returns the legend item checked state.
Legend
Provides access to the legend pane to which the legend item belongs.
Caption
Returns the legend item caption.

#Direct TdxChartLegendItem Class References

The TdxChartHitTest.LegendItem property references a TdxChartLegendItem object when the TdxChartHitTest.HitCode property returns TdxChartHitCode.LegendItem.

#Inheritance

TObject
TdxChartLegendItem
See Also