Closed jp1017 closed 5 years ago
Wrap with Container solved.
Container( width: 600, height: 300, child: chart.LineChart( painter: chart.LineChartPainter(), container: chart.LineChartContainer( chartArea: Size(200, 200), chartData: _chartData, // @required chartOptions: _lineChartOptions, // @required xContainerLabelLayoutStrategy: _xContainerLabelLayoutStrategy, // @optional ), ), ),
chart.LineChart( painter: chart.LineChartPainter(), container: chart.LineChartContainer( chartArea: Size(200, 200), chartData: _chartData, // @required chartOptions: _lineChartOptions, // @required xContainerLabelLayoutStrategy: _xContainerLabelLayoutStrategy, // @optional ), ),