Updated graph padding

This commit is contained in:
2025-08-02 16:44:17 +02:00
parent bb43bd2d4b
commit 3346bfe6d9

View File

@@ -30,6 +30,7 @@ class _GraphViewState extends State<GraphView> {
middle: Text(AppLocalizations.of(context).scoring_history),
previousPageTitle: AppLocalizations.of(context).back,
),
child: SafeArea(
child: Visibility(
visible: widget.gameSession.roundNumber > 1 ||
widget.gameSession.isGameFinished,
@@ -51,8 +52,6 @@ class _GraphViewState extends State<GraphView> {
),
],
),
child: Padding(
padding: const EdgeInsets.fromLTRB(0, 100, 0, 0),
child: SfCartesianChart(
enableAxisAnimation: true,
legend: const Legend(