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

Unified Diff: packages/charted/lib/charts/chart_area.dart

Issue 1521693002: Roll Observatory deps (charted -> ^0.3.0) (Closed) Base URL: https://chromium.googlesource.com/external/github.com/dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years 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
Index: packages/charted/lib/charts/chart_area.dart
diff --git a/packages/charted/lib/charts/chart_area.dart b/packages/charted/lib/charts/chart_area.dart
index f6c9d2fb2384c61744612da081e1445fc3040753..e115f64c9c83c9dd7aef854968ea4412747d6647 100644
--- a/packages/charted/lib/charts/chart_area.dart
+++ b/packages/charted/lib/charts/chart_area.dart
@@ -57,16 +57,13 @@ abstract class CartesianArea implements ChartArea {
/// change. When not set, [draw] must be called to update the chart.
/// - When [useTwoDimensionAxes] is set, the chart uses both 'x' and 'y'
/// axes as dimensions.
- factory CartesianArea(
- dynamic host,
- ChartData data,
- ChartConfig config, {
- bool autoUpdate: false,
- bool useTwoDimensionAxes: false,
- bool useRowColoring: false,
- ChartState state }) =>
- new DefaultCartesianAreaImpl(host, data, config, autoUpdate,
- useTwoDimensionAxes, useRowColoring, state);
+ factory CartesianArea(dynamic host, ChartData data, ChartConfig config,
+ {bool autoUpdate: false,
+ bool useTwoDimensionAxes: false,
+ bool useRowColoring: false,
+ ChartState state}) =>
+ new DefaultCartesianAreaImpl(host, data, config, autoUpdate,
+ useTwoDimensionAxes, useRowColoring, state);
}
///
@@ -84,13 +81,9 @@ abstract class LayoutArea implements ChartArea {
/// Layout area always uses row coloring.
bool get useRowColoring => true;
- factory LayoutArea(
- dynamic host,
- ChartData data,
- ChartConfig config, {
- bool autoUpdate: false,
- ChartState state }) =>
- new DefaultLayoutAreaImpl(host, data, config, autoUpdate, state);
+ factory LayoutArea(dynamic host, ChartData data, ChartConfig config,
+ {bool autoUpdate: false, ChartState state}) =>
+ new DefaultLayoutAreaImpl(host, data, config, autoUpdate, state);
}
///

Powered by Google App Engine
This is Rietveld 408576698