Skip to content

Legend_Title

Thomas Möller edited this page Sep 27, 2024 · 9 revisions

Class name

Title

Purpose / Description

This class contains methods and properties related to the title of 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 title.

Possible values:

  • alStart
  • alCenter
  • alEnd

Default value:

chAlign.alCenter

Sample code:

myChart.Legend.Title.Align = chAlign.alEnd

Related to:

Show, Text

Show

Description:

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

Default value:

False

Sample code:

myChart.Legend.Title.Show = True

Related to:

Align, Text

Text

Description:

In this property you pass the text that will be displayed as the title of the legend.

Default value:

  • (nothing)

Sample code:

myChart.Legend.Title.Text = "I am the title"

Related to:

Show, Align