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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 /// using a quantitative scale. | 77 /// using a quantitative scale. |
78 int get axisTickCount; | 78 int get axisTickCount; |
79 | 79 |
80 /// Size of ticks on the axis. When [measureTickSize] <= [FILL_RENDER_AREA], | 80 /// Size of ticks on the axis. When [measureTickSize] <= [FILL_RENDER_AREA], |
81 /// the painted tick will span complete height/width of the rendering area. | 81 /// the painted tick will span complete height/width of the rendering area. |
82 int get axisTickSize; | 82 int get axisTickSize; |
83 | 83 |
84 /// Space between axis and label for dimension axes | 84 /// Space between axis and label for dimension axes |
85 int get axisTickPadding; | 85 int get axisTickPadding; |
86 | 86 |
87 /// Space between the first tick and the measure axes. | 87 /// Space between the first tick and the measure axes in pixels. |
88 /// Only used on charts that don't have renderers that use "bands" of space | 88 /// Only used on charts that don't have renderers that use "bands" of space |
89 /// on the dimension axes | 89 /// on the dimension axes |
90 /// | |
91 /// Represented as a percentage of space between two consecutive ticks. The | |
92 /// space between two consecutive ticks is also known as the segment size. | |
93 double get axisOuterPadding; | 90 double get axisOuterPadding; |
94 | 91 |
95 /// Space between the two bands in the chart. | 92 /// Space between the two bands in the chart. |
96 /// Only used on charts that have renderers that use "bands" of space on the | 93 /// Only used on charts that have renderers that use "bands" of space on the |
97 /// dimension axes. | 94 /// dimension axes. |
98 /// | 95 /// |
99 /// Represented as a percentage of space between two consecutive ticks. The | 96 /// Represented as a percentage of space between two consecutive ticks. The |
100 /// space between two consecutive ticks is also known as the segment size. | 97 /// space between two consecutive ticks is also known as the segment size. |
101 double get axisBandInnerPadding; | 98 double get axisBandInnerPadding; |
102 | 99 |
103 /// Space between the first band and the measure axis. | 100 /// Space between the first band and the measure axis in pixels. |
104 /// Only used on charts that have renderers that use "bands" of space on the | 101 /// Only used on charts that have renderers that use "bands" of space on the |
105 /// dimension axes. | 102 /// dimension axes. |
106 /// | |
107 /// Represented as a percentage of space between two consecutive ticks. The | |
108 /// space between two consecutive ticks is also known as the segment size. | |
109 double get axisBandOuterPadding; | 103 double get axisBandOuterPadding; |
110 | 104 |
111 /// When set to true, the vertical axes resize to fit the labels. | 105 /// When set to true, the vertical axes resize to fit the labels. |
112 bool get verticalAxisAutoResize => true; | 106 bool get verticalAxisAutoResize => true; |
113 | 107 |
114 /// Width of vertical axis when it is not resizing automatically. If | 108 /// Width of vertical axis when it is not resizing automatically. If |
115 /// [autoResizeAxis] is set to true, [verticalAxisWidth] will be used as the | 109 /// [autoResizeAxis] is set to true, [verticalAxisWidth] will be used as the |
116 /// maximum width of the vertical axis. | 110 /// maximum width of the vertical axis. |
117 /// | 111 /// |
118 /// Height of vertical axis is automatically computed based on height of the | 112 /// Height of vertical axis is automatically computed based on height of the |
(...skipping 11 matching lines...) Expand all Loading... |
130 /// | 124 /// |
131 /// Font string must be of the following form: | 125 /// Font string must be of the following form: |
132 /// "bold italic 16px Roboto" | 126 /// "bold italic 16px Roboto" |
133 /// "bold 16px Roboto" | 127 /// "bold 16px Roboto" |
134 /// "italic 16px Roboto" | 128 /// "italic 16px Roboto" |
135 /// "16px Roboto" | 129 /// "16px Roboto" |
136 /// | 130 /// |
137 /// When not specified, SVGTextElement's metrics API will be used. | 131 /// When not specified, SVGTextElement's metrics API will be used. |
138 String get ticksFont => null; | 132 String get ticksFont => null; |
139 } | 133 } |
OLD | NEW |