entryModelOf

Creates a ChartEntryModel out of the given pairs of numbers, treating the first number in each pair as the x value, and the second one as the y value.


fun entryModelOf(vararg values: Number): ChartEntryModel

Creates a ChartEntryModel out of the provided array of numbers, treating each number’s index as the x value, and the number itself as the y value.


Creates a ChartEntryModel out of the provided list of list of FloatEntry instances.

This can be used to create LineCharts with multiple lines and ColumnCharts with grouped or stacked columns.