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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 /// Used to separate pies in pie-chart, bars in grouped and stacked charts. | 43 /// Used to separate pies in pie-chart, bars in grouped and stacked charts. |
44 int get defaultSeparatorWidth => 1; | 44 int get defaultSeparatorWidth => 1; |
45 | 45 |
46 /// Stroke width used by all shapes. | 46 /// Stroke width used by all shapes. |
47 int get defaultStrokeWidth => 2; | 47 int get defaultStrokeWidth => 2; |
48 | 48 |
49 /// Default font for computation of text metrics | 49 /// Default font for computation of text metrics |
50 String get defaultFont; | 50 String get defaultFont; |
51 | 51 |
52 /// Easing function for the transition | 52 /// Easing function for the transition |
53 EasingFunction get transitionEasingType => Transition.defaultEasingType; | 53 EasingFunction get transitionEasingType => Transition.defaultEasingType; |
54 | 54 |
55 /// Easing mode for the transition | 55 /// Easing mode for the transition |
56 EasingModeFunction get transitionEasingMode => Transition.defaultEasingMode; | 56 EasingModeFunction get transitionEasingMode => Transition.defaultEasingMode; |
57 | 57 |
58 /// Total duration of the transition in milli-seconds | 58 /// Total duration of the transition in milli-seconds |
59 int get transitionDurationMilliseconds => 250; | 59 int get transitionDurationMilliseconds => 250; |
60 | 60 |
61 /// Theme passed to the measure axes - only used by cartesian charts | 61 /// Theme passed to the measure axes - only used by cartesian charts |
62 ChartAxisTheme getMeasureAxisTheme([Scale scale]) => null; | 62 ChartAxisTheme getMeasureAxisTheme([Scale scale]) => null; |
63 | 63 |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 /// | 128 /// |
129 /// Font string must be of the following form: | 129 /// Font string must be of the following form: |
130 /// "bold italic 16px Roboto" | 130 /// "bold italic 16px Roboto" |
131 /// "bold 16px Roboto" | 131 /// "bold 16px Roboto" |
132 /// "italic 16px Roboto" | 132 /// "italic 16px Roboto" |
133 /// "16px Roboto" | 133 /// "16px Roboto" |
134 /// | 134 /// |
135 /// When not specified, SVGTextElement's metrics API will be used. | 135 /// When not specified, SVGTextElement's metrics API will be used. |
136 String get ticksFont => null; | 136 String get ticksFont => null; |
137 } | 137 } |
OLD | NEW |