mirror of
https://github.com/flutter/samples.git
synced 2026-05-17 12:28:16 +00:00
web/chart: fix sample (#909)
This commit is contained in:
@@ -23,35 +23,35 @@ import 'scatter_plot_line.dart';
|
||||
|
||||
List<GalleryScaffold> buildGallery() {
|
||||
return [
|
||||
new GalleryScaffold(
|
||||
listTileIcon: new Icon(Icons.insert_chart),
|
||||
GalleryScaffold(
|
||||
listTileIcon: const Icon(Icons.insert_chart),
|
||||
title: 'Ordinal Combo Chart',
|
||||
subtitle: 'Ordinal combo chart with bars and lines',
|
||||
childBuilder: () => new OrdinalComboBarLineChart.withRandomData(),
|
||||
childBuilder: () => OrdinalComboBarLineChart.withRandomData(),
|
||||
),
|
||||
new GalleryScaffold(
|
||||
listTileIcon: new Icon(Icons.show_chart),
|
||||
GalleryScaffold(
|
||||
listTileIcon: const Icon(Icons.show_chart),
|
||||
title: 'Numeric Line Bar Combo Chart',
|
||||
subtitle: 'Numeric combo chart with lines and bars',
|
||||
childBuilder: () => new NumericComboLineBarChart.withRandomData(),
|
||||
childBuilder: () => NumericComboLineBarChart.withRandomData(),
|
||||
),
|
||||
new GalleryScaffold(
|
||||
listTileIcon: new Icon(Icons.show_chart),
|
||||
GalleryScaffold(
|
||||
listTileIcon: const Icon(Icons.show_chart),
|
||||
title: 'Numeric Line Points Combo Chart',
|
||||
subtitle: 'Numeric combo chart with lines and points',
|
||||
childBuilder: () => new NumericComboLinePointChart.withRandomData(),
|
||||
childBuilder: () => NumericComboLinePointChart.withRandomData(),
|
||||
),
|
||||
new GalleryScaffold(
|
||||
listTileIcon: new Icon(Icons.show_chart),
|
||||
GalleryScaffold(
|
||||
listTileIcon: const Icon(Icons.show_chart),
|
||||
title: 'Time Series Combo Chart',
|
||||
subtitle: 'Time series combo chart with lines and points',
|
||||
childBuilder: () => new DateTimeComboLinePointChart.withRandomData(),
|
||||
childBuilder: () => DateTimeComboLinePointChart.withRandomData(),
|
||||
),
|
||||
new GalleryScaffold(
|
||||
listTileIcon: new Icon(Icons.scatter_plot),
|
||||
GalleryScaffold(
|
||||
listTileIcon: const Icon(Icons.scatter_plot),
|
||||
title: 'Scatter Plot Combo Chart',
|
||||
subtitle: 'Scatter plot combo chart with a line',
|
||||
childBuilder: () => new ScatterPlotComboLineChart.withRandomData(),
|
||||
childBuilder: () => ScatterPlotComboLineChart.withRandomData(),
|
||||
),
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user