GroupData constructor
GroupData(})
Implementation
GroupData(
this.type,
this.data, {
String? id,
this.barSize,
this.barMaxSize,
this.barMinSize = const SNumber(1, false),
this.name,
String? yAxisId,
String? xAxisId,
String? stackId,
this.strategy = StackStrategy.none,
}) {
if (id == null || id.isEmpty) {
this.id = const Uuid().v4().toString().replaceAll('-', '');
} else {
this.id = id;
}
_stackId = stackId;
_xAxisId = xAxisId;
_yAxisId = yAxisId;
}