Skip to content

DataLabels

Thomas Möller edited this page Jan 9, 2022 · 5 revisions

Class name

DataLabels

Purpose / Description

This class contains methods and properties corresponding to the datalabels.

Sub-Classes

Methods

  • none

Properties


Detailed description

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

Anchor

Description:

With this property you can specify where the chart.js file is located.

Possible values:

  • anStart
  • anCenter
  • anEnd

The values are described in the official documentation: Anchoring

Default value:

--

Sample code:

myChart.Chart.DataLabels.Anchor= chDataLabelAnchor.anEnd

Related to:

Show

Show

Description:

If set to TRUE data labels for each data series are shown.

Default value:

False

Sample code:

myChart.Chart.DataLabels.Show = True

Related to:

Anchor