ChartPayloadContract constructor
const
ChartPayloadContract({
- required ChartType type,
- required ChartSeriesDataShape dataShape,
- required ChartPayloadSeriesStrategy seriesStrategy,
- List<
String> dataFieldPriority = const [], - String? namedCollectionField,
- bool requiresSeries = true,
- bool usesExternalDataModel = false,
Implementation
const ChartPayloadContract({
required this.type,
required this.dataShape,
required this.seriesStrategy,
this.dataFieldPriority = const [],
this.namedCollectionField,
this.requiresSeries = true,
this.usesExternalDataModel = false,
});