toBubblePoints method

List<ChartPoint> toBubblePoints({
  1. String sizeKey = kBubbleSizeKey,
})

Implementation

List<ChartPoint> toBubblePoints({String sizeKey = kBubbleSizeKey}) {
  return map(
    (t) => ChartPoint(
      x: t.$1.toDouble(),
      y: t.$2.toDouble(),
      metadata: {sizeKey: t.$3.toDouble()},
    ),
  ).toList();
}