-
public final class EntryListExtensionsKt
-
-
Method Summary
Modifier and Type Method Description final static ChartEntryModelentryModelOf(Pair<Number, Number> entries)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. final static ChartEntryModelentryModelOf(Number values)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. final static ChartEntryModelentryModelOf(List<FloatEntry> values)Creates a ChartEntryModel out of the provided list of list of FloatEntry instances. -
-
Method Detail
-
entryModelOf
final static ChartEntryModel entryModelOf(Pair<Number, Number> entries)
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.
-
entryModelOf
final static ChartEntryModel entryModelOf(Number values)
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.
-
entryModelOf
final static ChartEntryModel entryModelOf(List<FloatEntry> values)
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.
-
-
-
-