Table of Contents

TTMSFNCChartLegend Class

Configures the chart-level legend that identifies all visible series.

API unit family: TMSFNCChart Inherits from: TTMSFNCChartElement

Syntax

TTMSFNCChartLegend = class(TTMSFNCChartElement)

Properties

Name Description
Fill Fill settings for the element background. (inherited from TTMSFNCChartElement)
Font Font used to render legend item labels.
Left Horizontal offset in pixels from the anchor position; used to fine-tune placement.
Position Anchor position of the legend within the chart area.
Stroke Stroke settings for the element border. (inherited from TTMSFNCChartElement)
Top Vertical offset in pixels from the anchor position; used to fine-tune placement.
Visible When True, the element is drawn; when False, it is hidden. (inherited from TTMSFNCChartElement)

Methods

Name Description
AssignSource Copies settings from another persistent object.
Chart Returns the owning TTMSFNCChart instance. Returns the owning chart instance. (inherited from TTMSFNCChartElement)
XYToItem Returns the legend item at the specified canvas coordinates.