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

Unified Diff: packages/charted/lib/core/scales.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/core/scales.dart
diff --git a/packages/charted/lib/core/scales.dart b/packages/charted/lib/core/scales.dart
index 48a11f5f7a6082e78b1308f613956fd6c4872571..5ac34f32e58a7afd742e91f990b34b1f96dc093d 100644
--- a/packages/charted/lib/core/scales.dart
+++ b/packages/charted/lib/core/scales.dart
@@ -65,6 +65,12 @@ abstract class Scale {
/// Note: This property is only valid on quantitative scales.
int ticksCount;
+ /// Forces the number of ticks on this scale to be the forcedTicksCount.
+ /// The tick values on the scale does not guarantee to be niced numbers, but
+ /// domain of the scale does.
+ /// Note: This property is only valid on quantitative scales.
+ int forcedTicksCount;
+
/// Indicates if the current scale is using niced values for ticks.
/// Note: This property is only valid on quantitative scales.
bool nice;
« no previous file with comments | « packages/charted/lib/charts/themes/quantum_theme.dart ('k') | packages/charted/lib/core/scales/linear_scale.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698