-
- All Implemented Interfaces:
-
com.patrykandpatrick.vico.core.entry.ChartEntryModel
public interface ComposedChartEntryModel<Model extends ChartEntryModel> implements ChartEntryModel
An extended ChartEntryModel that can compose multiple ChartEntryModels. It is used by ComposedChart.
-
-
Method Summary
Modifier and Type Method Description abstract List<Model>getComposedEntryCollections()A list of the ChartEntryModels that make up this model. IntegergetId()abstract List<List<ChartEntry>>getEntries()The chart entries (ChartEntry instances). abstract FloatgetMinX()The minimum x-axis value from among all entries. abstract FloatgetMaxX()The maximum x-axis value from among all entries. abstract FloatgetMinY()The minimum y-axis value from among all entries. abstract FloatgetMaxY()The maximum y-axis value from among all entries. abstract FloatgetStackedPositiveY()The maximum cumulated y-axis value from among all sets of entries associated by ChartEntry.x. abstract FloatgetStackedNegativeY()The minimum cumulated y-axis value from among all sets of entries associated by ChartEntry.x. abstract FloatgetXGcd()The greatest common divisor of the x values. -
-
Method Detail
-
getComposedEntryCollections
abstract List<Model> getComposedEntryCollections()
A list of the ChartEntryModels that make up this model.
-
getEntries
abstract List<List<ChartEntry>> getEntries()
The chart entries (ChartEntry instances). Multiple lists of ChartEntry instances can be provided. In such a case, entries will be associated by index, and the Chart will stack or group them if it’s a ColumnChart, and display multiple lines if it’s a LineChart.
-
getStackedPositiveY
abstract Float getStackedPositiveY()
The maximum cumulated y-axis value from among all sets of entries associated by ChartEntry.x.
-
getStackedNegativeY
abstract Float getStackedNegativeY()
The minimum cumulated y-axis value from among all sets of entries associated by ChartEntry.x.
-
-
-
-