| OLD | NEW |
| 1 // | 1 // |
| 2 // Copyright 2014 Google Inc. All rights reserved. | 2 // Copyright 2014 Google Inc. All rights reserved. |
| 3 // | 3 // |
| 4 // Use of this source code is governed by a BSD-style | 4 // Use of this source code is governed by a BSD-style |
| 5 // license that can be found in the LICENSE file or at | 5 // license that can be found in the LICENSE file or at |
| 6 // https://developers.google.com/open-source/licenses/bsd | 6 // https://developers.google.com/open-source/licenses/bsd |
| 7 // | 7 // |
| 8 | 8 |
| 9 part of charted.charts; | 9 part of charted.charts; |
| 10 | 10 |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 class ChartAxisConfig { | 84 class ChartAxisConfig { |
| 85 /// Title for the axis | 85 /// Title for the axis |
| 86 String title; | 86 String title; |
| 87 | 87 |
| 88 /// Scale to be used with the axis | 88 /// Scale to be used with the axis |
| 89 Scale scale; | 89 Scale scale; |
| 90 | 90 |
| 91 /// For a quantitative scale, values at which ticks should be displayed. | 91 /// For a quantitative scale, values at which ticks should be displayed. |
| 92 /// When not specified, the ticks are based on the type of [scale] used. | 92 /// When not specified, the ticks are based on the type of [scale] used. |
| 93 Iterable tickValues; | 93 Iterable tickValues; |
| 94 |
| 95 /// Forces the ticks count of a scale to be of the forcedTicksCount. |
| 96 /// The tick values on the scale does not guarantee to be niced numbers, but |
| 97 /// domain of the scale does. Only valid for quantitative scale. |
| 98 int forcedTicksCount; |
| 94 } | 99 } |
| OLD | NEW |