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

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

Issue 2989763002: Update charted to 0.4.8 and roll (Closed)
Patch Set: Removed Cutch from list of reviewers Created 3 years, 5 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
Index: packages/charted/lib/charts/chart_config.dart
diff --git a/packages/charted/lib/charts/chart_config.dart b/packages/charted/lib/charts/chart_config.dart
index 73ce85026bb317e11090f6a4c5a8c088eeea7089..0baae212dbcae2fc4c64eea72e4655771c697067 100644
--- a/packages/charted/lib/charts/chart_config.dart
+++ b/packages/charted/lib/charts/chart_config.dart
@@ -91,4 +91,9 @@ class ChartAxisConfig {
/// For a quantitative scale, values at which ticks should be displayed.
/// When not specified, the ticks are based on the type of [scale] used.
Iterable tickValues;
+
+ /// Forces the ticks count of a scale to be of the forcedTicksCount.
+ /// The tick values on the scale does not guarantee to be niced numbers, but
+ /// domain of the scale does. Only valid for quantitative scale.
+ int forcedTicksCount;
}

Powered by Google App Engine
This is Rietveld 408576698