title: How to scroll horizontal in a line chart using fl_chart in Flutter?
body: <p>I want to show data from a List in a line chart. The Problem is that the width is too small. So I want that you can scroll horizontal to see everything. How to do this with the Package fl_chart?</p>
  <p>Here is my Code, i build the spots from a List.</p>
  <pre><code>  @override
    Widget build(BuildContext context) {
      return LineChart(
          LineChartData(
              lineBarsData: [
            LineChartBarData(
                spots: [
              for (int i = reversedList.length - 1; i &gt;= 0; i--)
                FlSpot(i.toDouble(), reversedList[i].weight),
            ])
          ]));
    }
  }
  </code></pre>