ChartDataSet

class ChartDataSet(items: List<Float>, title: String, prefix: String = "", postfix: String = "")

A class that represents a data set for a chart.

Parameters

items

The list of data items.

title

The title of the data set.

prefix

The prefix to be added to each data item. Defaults to an empty string.

postfix

The postfix to be added to each data item. Defaults to an empty string.

Constructors

Link copied to clipboard
constructor(items: List<Float>, title: String, prefix: String = "", postfix: String = "")

Creates a new ChartDataSet with the provided items, title, prefix, and postfix.