Skip to content
Thomas Möller edited this page Apr 12, 2024 · 4 revisions

Class name

Legend

Purpose / Description

This class contains methods and properties related to the legend.

Sub-Classes

Methods

  • none

Properties


Detailed description

The following sections contain a detailed description of the methods and properties.

Align

Description:

With this property you specify the alignment of the legend.

Possible values:

  • alStart
  • alCenter
  • alEnd

Default value:

chAlign.alCenter

Sample code:

myChart.Legend.Align = chAlign.alEnd

Related to:

Show

Position

Description:

With this property you specify the position of the legend.

Possible values:

  • posTop
  • posLeft
  • posBottom
  • posRight

Default value:

chPosition.posTop

Sample code:

myChart.Legend.Position = chPosition.posTop

Related to:

Show

Show

Description:

With this property you can specify if a legend is shown.

Default value:

False

Sample code:

myChart.Legend.Show = True

Related to:

Position