是否可以从 syncfusion_flutter_charts 包中删除 table?

Is it possible to remove table from syncfusion_flutter_charts package?

现在: My goal:

我正在使用 syncfusion_flutter_charts 包来显示图表,table 视图太烦人了。如何删除它?或者如何使用自定义小部件制作此类图表?

// child of some widgets like container

 child: SfCartesianChart(
primaryXAxis: CategoryAxis(),
legend: Legend(isVisible: false),
tooltipBehavior: TooltipBehavior(enable: true),
series: <ChartSeries<_SalesData, String>>[
  LineSeries<_SalesData, String>(
      dataSource: data,
      xValueMapper: (_SalesData sales, _) =>sales.year.toString(),
      yValueMapper: (_SalesData sales, _) =>sales.value,
      ),
     ],
   ),

您可以自定义您的图表,您可以使用它。我使用地图进行测试和日期,例如 ({"val": 100, "year": 2000}),因此您可以使用您喜欢的类型,Set 或其他任何类型。

SfCartesianChart(
                        primaryXAxis: CategoryAxis(
                          isVisible: false,
                        ),
                        primaryYAxis: CategoryAxis(
                          isVisible: false,
                        ),
                        plotAreaBorderWidth: 0,
                        backgroundColor: Colors.grey[200],
                        legend: Legend(isVisible: false),
                        tooltipBehavior: TooltipBehavior(enable: true),
                        series: <ChartSeries<Map, String>>[
                          FastLineSeries<Map, String>(
                            width: 2,
                            dataSource: [{"val": 100, "year": 2000}, ...],
                            color: Colors.green,
                            yValueMapper: (Map sales, _) => sales['val'],
                            xValueMapper: (Map sales, _) => sales['year'].toString(),
                          ),
                        ],
                      ),