3434@* End:Hidden*@
3535
3636<div class =" control-section" >
37-
38- <EjsCircularGauge id =" circular" CenterY =" 57%" Title =" Short Put Distance" >
39- <CircularGaugeAxes >
40- <CircularGaugeAxis StartAngle =" 200" EndAngle =" 130" Minimum =" 0" Maximum =" 14" Radius =" 90%"
41- Annotations =" @annotations" LineStyle =" @lineStyle" LabelStyle =" @labelStyle"
42- MajorTicks =" @majorTicks" MinorTicks =" @minorTicks" Ranges =" @ranges"
43- Pointers =" @pointers" >
37+ <EjsCircularGauge ID =" gauge" CenterY =" 57%" Title =" Short Put Distance" >
38+ <CircularGaugeAxes >
39+ <CircularGaugeAxis StartAngle =" 200" EndAngle =" 130" Minimum =" 0" Maximum =" 14" Radius =" 90%" >
40+ <CircularGaugeAxisLineStyle Width =" 0.001" Color =" #1d1d1d" >
41+ </CircularGaugeAxisLineStyle >
42+ <CircularGaugeAxisMajorTicks Width =" 0.01" >
43+ </CircularGaugeAxisMajorTicks >
44+ <CircularGaugeAxisMinorTicks Width =" 0.01" >
45+ </CircularGaugeAxisMinorTicks >
46+ <CircularGaugeLabel Font =" @Font" >
47+ </CircularGaugeLabel >
48+ <CircularGaugePointers >
49+ <CircularGaugePointer Type =" PointerType.Marker" Value =12 MarkerShape =" GaugeShape.Image" ImageUrl =" styles/images/circulargauge/football.png" Radius =" 108%" MarkerWidth =" 28" MarkerHeight =" 28" >
50+ <CircularGaugeAnimation Enable =" true" Duration =" 1500" >
51+ </CircularGaugeAnimation >
52+ </CircularGaugePointer >
53+ <CircularGaugePointer Type =" PointerType.Marker" value =11 MarkerShape =" GaugeShape.Image" ImageUrl =" styles/images/circulargauge/basketball.png" Radius =" 78%" MarkerWidth =" 28" MarkerHeight =" 28" >
54+ <CircularGaugeAnimation Enable =" true" Duration =" 1200" >
55+ </CircularGaugeAnimation >
56+ </CircularGaugePointer >
57+ <CircularGaugePointer Type =" PointerType.Marker" value =10 MarkerShape =" GaugeShape.Image" ImageUrl =" styles/images/circulargauge/golfball.png" Radius =" 48%" MarkerWidth =" 28" MarkerHeight =" 28" >
58+ <CircularGaugeAnimation Enable =" true" Duration =" 900" >
59+ </CircularGaugeAnimation >
60+ </CircularGaugePointer >
61+ <CircularGaugePointer Type =" PointerType.Marker" value =12 MarkerShape =" GaugeShape.Image" ImageUrl =" styles/images/circulargauge/Athletics.png" Radius =" 0%" MarkerWidth =" 28" MarkerHeight =" 28" >
62+ <CircularGaugeAnimation Enable =" true" Duration =" 0" >
63+ </CircularGaugeAnimation >
64+ </CircularGaugePointer >
65+ <CircularGaugePointer Type =" PointerType.Marker" value =0.1 MarkerShape =" GaugeShape.Image" ImageUrl =" styles/images/circulargauge/girl1.png" Radius =" 108%" MarkerWidth =" 28" MarkerHeight =" 28" >
66+ <CircularGaugeAnimation Enable =" true" Duration =" 1500" >
67+ </CircularGaugeAnimation >
68+ </CircularGaugePointer >
69+ <CircularGaugePointer Type =" PointerType.Marker" value =0.1 MarkerShape =" GaugeShape.Image" ImageUrl =" styles/images/circulargauge/man1.png" Radius =" 78%" MarkerWidth =" 28" MarkerHeight =" 28" >
70+ <CircularGaugeAnimation Enable =" true" Duration =" 1500" >
71+ </CircularGaugeAnimation >
72+ </CircularGaugePointer >
73+ <CircularGaugePointer Type =" PointerType.Marker" value =0.1 MarkerShape =" GaugeShape.Image" ImageUrl =" styles/images/circulargauge/man2.png" Radius =" 48%" MarkerWidth =" 28" MarkerHeight =" 28" >
74+ <CircularGaugeAnimation Enable =" true" Duration =" 1500" >
75+ </CircularGaugeAnimation >
76+ </CircularGaugePointer >
77+ </CircularGaugePointers >
78+ <CircularGaugeRanges >
79+ <CircularGaugeRange Start =" 0.001" End =" 12" Radius =" 115%" Color =" #01aebe" StartWidth =" 25" EndWidth =" 25" >
80+ </CircularGaugeRange >
81+ <CircularGaugeRange Start =" 0.001" End =" 11" Radius =" 85%" Color =" #3bceac" StartWidth =" 25" EndWidth =" 25" >
82+ </CircularGaugeRange >
83+ <CircularGaugeRange Start =" 0.001" End =" 10" Radius =" 55%" Color =" #ee4266" StartWidth =" 25" EndWidth =" 25" >
84+ </CircularGaugeRange >
85+ </CircularGaugeRanges >
86+ <CircularGaugeAnnotations >
87+ <CircularGaugeAnnotation Content =" 12 M" Radius =" 108%" Angle =" 98" ZIndex =" 1" >
88+ </CircularGaugeAnnotation >
89+ <CircularGaugeAnnotation Content =" 11 M" Radius =" 80%" Angle =" 81" ZIndex =" 1" >
90+ </CircularGaugeAnnotation >
91+ <CircularGaugeAnnotation Content =" 10 M" Radius =" 50%" Angle =" 69" ZIndex =" 1" >
92+ </CircularGaugeAnnotation >
93+ <CircularGaugeAnnotation Content =" Doe" Radius =" 108%" Angle =" 190" ZIndex =" 1" >
94+ </CircularGaugeAnnotation >
95+ <CircularGaugeAnnotation Content =" Almaida" Radius =" 80%" Angle =" 185" ZIndex =" 1" >
96+ </CircularGaugeAnnotation >
97+ <CircularGaugeAnnotation Content =" John" Radius =" 50%" Angle =" 180" ZIndex =" 1" >
98+ </CircularGaugeAnnotation >
99+ </CircularGaugeAnnotations >
44100 </CircularGaugeAxis >
45101 </CircularGaugeAxes >
46102 </EjsCircularGauge >
47103</div >
48104
49105@code {
50- public object annotations = new List <object >
51- {
52- new { content = " 12 M" , radius = " 108%" , angle = 98 , zIndex = 1 },
53- new { content = " 11 M" , radius = " 80%" , angle = 81 , zIndex = 1 },
54- new { content = " 10 M" , radius = " 50%" , angle = 69 , zIndex = 1 },
55- new { content = " Doe" , radius = " 108%" , angle = 190 , zIndex = 1 },
56- new { content = " Almaida" , radius = " 80%" , angle = 185 , zIndex = 1 },
57- new { content = " John" , radius = " 50%" , angle = 180 , zIndex = 1 },
106+ public class font
107+ {
108+ public String size { get ; set ; }
109+ }
110+ public font Font = new font {
111+ size = " 0px"
58112 };
59- public object lineStyle = new { width = " 0" , color = " #1d1d1d" };
60- public object labelStyle = new { font = new { size = " 0px" } };
61- public object majorTicks = new { width = " 0" };
62- public object minorTicks = new { width = " 0" };
63- public object ranges = new List <object >
64- {
65- new { start = 0 , end = 12 , radius = " 115%" , color = " #01aebe" , startWidth = 25 , endWidth = 25 },
66- new { start = 0 , end = 11 , radius = " 85%" , color = " #3bceac" , startWidth = 25 , endWidth = 25 },
67- new { start = 0 , end = 10 , radius = " 55%" , color = " #ee4266" , startWidth = 25 , endWidth = 25 },
68- };
69- public object pointers = new List <object >
70- {
71- new
72- {
73- type = " Marker" , value = 12 , markerShape = " Image" ,
74- imageUrl = " styles/images/circulargauge/football.png" ,
75- radius = " 108%" , markerWidth = 28 , markerHeight = 28 ,
76- animation = new { duration = 1500 }
77- },
78- new
79- {
80- type = " Marker" , value = 11 , markerShape = " Image" ,
81- imageUrl = " styles/images/circulargauge/basketball.png" ,
82- radius = " 78%" , markerWidth = 28 , markerHeight = 28 ,
83- animation = new { duration = 1200 }
84- },
85- new
86- {
87- type = " Marker" , value = 10 , markerShape = " Image" ,
88- imageUrl = " styles/images/circulargauge/golfball.png" ,
89- radius = " 48%" , markerWidth = 28 , markerHeight = 28 ,
90- animation = new { duration = 900 }
91- },
92- new
93- {
94- type = " Marker" , value = 12 , markerShape = " Image" ,
95- imageUrl = " styles/images/circulargauge/Athletics.png" ,
96- radius = " 0%" , markerWidth = 90 , markerHeight = 90 ,
97- animation = new { enable = false , duration = " 0" }
98- },
99- new
100- {
101- type = " Marker" , value = 0 . 1 , markerShape = " Image" ,
102- imageUrl = " styles/images/circulargauge/girl1.png" ,
103- radius = " 108%" , markerWidth = 28 , markerHeight = 28 ,
104- animation = new { duration = 1500 }
105- },
106- new
107- {
108- type = " Marker" , value = 0 . 1 , markerShape = " Image" ,
109- imageUrl = " styles/images/circulargauge/man1.png" ,
110- radius = " 78%" , markerWidth = 28 , markerHeight = 28 ,
111- animation = new { duration = 1500 }
112- },
113- new
114- {
115- type = " Marker" , value = 0 . 1 , markerShape = " Image" ,
116- imageUrl = " styles/images/circulargauge/man2.png" ,
117- radius = " 48%" , markerWidth = 28 , markerHeight = 28 ,
118- animation = new { duration = 1500 }
119- },
120- };
121- }
113+ }
122114
0 commit comments