connectorLineWidth property

double connectorLineWidth
final

Width of the selection zooming tooltip connector line.

Defaults to 1.5.

late ZoomPanBehavior zoomPanBehavior;

void initState() {
  zoomPanBehavior = ZoomPanBehavior(
    enableSelectionZooming: true,
  );
  super.initState();
}

Widget build(BuildContext context) {
  return SfCartesianChart(
    zoomPanBehavior: zoomPanBehavior,
    primaryXAxis: NumericAxis(
      interactiveTooltip: InteractiveTooltip(
        connectorLineWidth: 2
      )
    ),
  );
}

Implementation

final double connectorLineWidth;