The Description of the chart is the text that usually appears in the bottom right corner of the chart (by default). It allows to provide additional information for the displayed chart data if required.

Usage

Below function can be used to gain access to the Description:

Description description = chart.getDescription();

Styling

The following functions allow styling or modification of the Description:

// enable or disable the description
description.setEnabled(...);

// set the description text
description.setText("...");

// set the position of the description on the screen
description.setPosition(float x, float y);