@@ -38,7 +38,7 @@ const testSteps = [
3838 chart . animate ( {
3939 config : {
4040 title : 'Rectangle Marker Label Positions - Top' ,
41- rotate : 10
41+ angle : Math . PI / 18
4242 } ,
4343 style : {
4444 plot : {
@@ -55,7 +55,7 @@ const testSteps = [
5555 chart . animate ( {
5656 config : {
5757 title : 'Rectangle Marker Label Positions - Left' ,
58- rotate : 10
58+ angle : ( Math . PI * 2 ) / 18
5959 } ,
6060 style : {
6161 plot : {
@@ -71,7 +71,7 @@ const testSteps = [
7171 chart . animate ( {
7272 config : {
7373 title : 'Rectangle Marker Label Positions - Bottom' ,
74- rotate : 10
74+ angle : ( Math . PI * 3 ) / 18
7575 } ,
7676 style : {
7777 plot : {
@@ -87,7 +87,7 @@ const testSteps = [
8787 chart . animate ( {
8888 config : {
8989 title : 'Rectangle Marker Label Positions - Right' ,
90- rotate : 10
90+ angle : ( Math . PI * 4 ) / 18
9191 } ,
9292 style : {
9393 plot : {
@@ -103,7 +103,7 @@ const testSteps = [
103103 chart . animate ( {
104104 config : {
105105 title : 'Rectangle Marker Label Positions - Center/Horizontal' ,
106- rotate : 10
106+ angle : ( Math . PI * 5 ) / 18
107107 } ,
108108 style : {
109109 plot : {
@@ -119,7 +119,7 @@ const testSteps = [
119119 chart . animate ( {
120120 config : {
121121 title : 'Rectangle Marker Label Positions - Center/Tangential' ,
122- rotate : 10
122+ angle : ( Math . PI * 6 ) / 18
123123 } ,
124124 style : {
125125 plot : {
@@ -135,7 +135,7 @@ const testSteps = [
135135 chart . animate ( {
136136 config : {
137137 title : 'Rectangle Marker Label Positions - Center/Normal' ,
138- rotate : 10
138+ angle : ( Math . PI * 7 ) / 18
139139 } ,
140140 style : {
141141 plot : {
@@ -151,7 +151,7 @@ const testSteps = [
151151 chart . animate ( {
152152 config : {
153153 title : 'Rectangle Marker Label Positions - Center/Vertical' ,
154- rotate : 10
154+ angle : ( Math . PI * 8 ) / 18
155155 } ,
156156 style : {
157157 plot : {
@@ -171,7 +171,7 @@ const testSteps = [
171171 label : { attach : [ 'Value 2 (+)' ] }
172172 } ,
173173 title : 'Change Continuous' ,
174- rotate : 10
174+ angle : ( Math . PI * 9 ) / 18
175175 } ,
176176 style : {
177177 plot : {
@@ -193,7 +193,7 @@ const testSteps = [
193193 label : { attach : [ 'Value 2 (+)' , 'Country' ] }
194194 } ,
195195 title : 'Polar Coordinate' ,
196- rotate : 180 ,
196+ angle : ( Math . PI * 27 ) / 18 ,
197197 coordSystem : 'polar'
198198 } ,
199199 style : {
@@ -210,7 +210,7 @@ const testSteps = [
210210 chart . animate ( {
211211 config : {
212212 title : 'Rectangle Marker Label Positions - Left' ,
213- rotate : 10
213+ angle : ( Math . PI * 28 ) / 18
214214 } ,
215215 style : {
216216 plot : {
@@ -226,7 +226,7 @@ const testSteps = [
226226 chart . animate ( {
227227 config : {
228228 title : 'Rectangle Marker Label Positions - Bottom' ,
229- rotate : 10
229+ angle : ( Math . PI * 29 ) / 18
230230 } ,
231231 style : {
232232 plot : {
@@ -242,7 +242,7 @@ const testSteps = [
242242 chart . animate ( {
243243 config : {
244244 title : 'Rectangle Marker Label Positions - Right' ,
245- rotate : 10
245+ angle : ( Math . PI * 30 ) / 18
246246 } ,
247247 style : {
248248 plot : {
@@ -258,7 +258,7 @@ const testSteps = [
258258 chart . animate ( {
259259 config : {
260260 title : 'Rectangle Marker Label Positions - Center/Horizontal' ,
261- rotate : 10
261+ angle : ( Math . PI * 31 ) / 18
262262 } ,
263263 style : {
264264 plot : {
@@ -275,7 +275,7 @@ const testSteps = [
275275 chart . animate ( {
276276 config : {
277277 title : 'Rectangle Marker Label Positions - Top/Normal' ,
278- rotate : 10
278+ angle : ( Math . PI * 32 ) / 18
279279 } ,
280280 style : {
281281 plot : {
@@ -292,7 +292,7 @@ const testSteps = [
292292 chart . animate ( {
293293 config : {
294294 title : 'Rectangle Marker Label Positions - Top/Vertical' ,
295- rotate : 10
295+ angle : ( Math . PI * 33 ) / 18
296296 } ,
297297 style : {
298298 plot : {
@@ -308,7 +308,7 @@ const testSteps = [
308308 chart . animate ( {
309309 config : {
310310 title : 'Rectangle Marker Label Positions - Top/Tangential' ,
311- rotate : 10
311+ angle : ( Math . PI * 34 ) / 18
312312 } ,
313313 style : {
314314 plot : {
@@ -324,7 +324,7 @@ const testSteps = [
324324 chart . animate ( {
325325 config : {
326326 title : 'Rectangle Marker Label Positions - Top/Angle' ,
327- rotate : 10
327+ angle : ( Math . PI * 35 ) / 18
328328 } ,
329329 style : {
330330 plot : {
@@ -344,7 +344,7 @@ const testSteps = [
344344 size : { attach : [ 'Value 2 (+)' ] }
345345 } ,
346346 title : 'Without Coordinate' ,
347- rotate : 10 ,
347+ angle : ( Math . PI * 36 ) / 18 ,
348348 coordSystem : 'cartesian'
349349 } ,
350350 style : {
@@ -362,7 +362,7 @@ const testSteps = [
362362 chart . animate ( {
363363 config : {
364364 title : 'Rectangle Marker Label Positions - Center/Horizontal' ,
365- rotate : 10
365+ angle : ( Math . PI * 37 ) / 18
366366 } ,
367367 style : {
368368 plot : {
@@ -392,7 +392,7 @@ const testSteps = [
392392 chart . animate ( {
393393 config : {
394394 title : 'Rectangle Marker Label Positions - Left' ,
395- rotate : 10
395+ angle : ( Math . PI * 38 ) / 18
396396 } ,
397397 style : {
398398 plot : {
@@ -408,7 +408,7 @@ const testSteps = [
408408 chart . animate ( {
409409 config : {
410410 title : 'Rectangle Marker Label Positions - Bottom' ,
411- rotate : 10
411+ angle : ( Math . PI * 39 ) / 18
412412 } ,
413413 style : {
414414 plot : {
@@ -424,7 +424,7 @@ const testSteps = [
424424 chart . animate ( {
425425 config : {
426426 title : 'Rectangle Marker Label Positions - Right' ,
427- rotate : 10
427+ angle : ( Math . PI * 40 ) / 18
428428 } ,
429429 style : {
430430 plot : {
@@ -440,7 +440,7 @@ const testSteps = [
440440 chart . animate ( {
441441 config : {
442442 title : 'Rectangle Marker Label Positions - Center/Horizontal' ,
443- rotate : 10
443+ angle : ( Math . PI * 41 ) / 18
444444 } ,
445445 style : {
446446 plot : {
@@ -457,7 +457,7 @@ const testSteps = [
457457 chart . animate ( {
458458 config : {
459459 title : 'Rectangle Marker Label Positions - Top/Normal' ,
460- rotate : 10
460+ angle : ( Math . PI * 42 ) / 18
461461 } ,
462462 style : {
463463 plot : {
@@ -474,7 +474,7 @@ const testSteps = [
474474 chart . animate ( {
475475 config : {
476476 title : 'Rectangle Marker Label Positions - Top/Vertical' ,
477- rotate : - 360
477+ angle : ( Math . PI * 6 ) / 18
478478 } ,
479479 style : {
480480 plot : {
@@ -490,7 +490,7 @@ const testSteps = [
490490 chart . animate ( {
491491 config : {
492492 title : 'Rectangle Marker Label Positions - Top/Tangential' ,
493- rotate : 100
493+ angle : ( Math . PI * 16 ) / 18
494494 } ,
495495 style : {
496496 plot : {
@@ -506,7 +506,7 @@ const testSteps = [
506506 chart . animate ( {
507507 config : {
508508 title : 'Rectangle Marker Label Positions - Top/Angle' ,
509- rotate : 380
509+ angle : ( Math . PI * 54 ) / 18
510510 } ,
511511 style : {
512512 plot : {
0 commit comments