Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(368)

Unified Diff: packages/charted/examples/charts/components/demo_custom_axis.dart

Issue 2213693002: Updated charted DEP to 0.4.X (Closed) Base URL: https://github.com/dart-lang/observatory_pub_packages.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « packages/charted/.analysis_options ('k') | packages/charted/examples/charts/demo_charts.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/charted/examples/charts/components/demo_custom_axis.dart
diff --git a/packages/charted/examples/charts/components/demo_custom_axis.dart b/packages/charted/examples/charts/components/demo_custom_axis.dart
index 0d1f6a77f9f1a5647b45b2d39894bf79cb72a5ab..739bf6d293c6a4d384893bb229262c1b153463d8 100644
--- a/packages/charted/examples/charts/components/demo_custom_axis.dart
+++ b/packages/charted/examples/charts/components/demo_custom_axis.dart
@@ -12,7 +12,7 @@ import 'dart:html';
import 'package:charted/charts/charts.dart';
import 'package:charted/core/scales.dart';
-List COLUMNS = [
+List<ChartColumnSpec> COLUMNS = <ChartColumnSpec>[
new ChartColumnSpec(label:'Month', type:ChartColumnSpec.TYPE_STRING),
new ChartColumnSpec(label:'Precipitation'),
new ChartColumnSpec(label:'High Temperature'),
@@ -23,7 +23,7 @@ List COLUMNS = [
new ChartColumnSpec(label:'Extra3'),
];
-List DATA = [
+List<List> DATA = <List>[
['January', 4.50, 27, 46, 1, 20, 23, 1],
['February', 4.61, 60, 28, 10, 15, 45, 23],
['March', 3.26, 32, 49, 100, 4, 34, 1],
« no previous file with comments | « packages/charted/.analysis_options ('k') | packages/charted/examples/charts/demo_charts.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698