<chart bgcolor = 'ffffff' upperlimit = '120' lowerLimit = '0' basefontcolor = '666666' majortmnumber = '10 'majortmcolor =' 666666 'majortmheight =' 8 'minortmnumber =' 5 'minortmcolor =' 66666 ' pivotradius = '10 'showgaugeBorder =' 0 'GaugeouterRadius =' 100 'GaugeInnerRadius = '90' Gaugeoriginx = '170' Gaugeoriginy = '170' gaugescaleang = '220' displayvaluedistance = '20 'placevalueside =' 1 '' 'gaugefillmix. pivotfillmix = '{f0efea} ، {bebcb0}' pivotbordercolor = 'bebcb0' pivotfillRatio = '80 ، 50 'showshadow =' 0 '> minvalue = '80 'maxvalue =' 100 'name =' danger 'code =' ff0000 'alpha = '50'/> </solorrange> <dials> <dial value = '50 'borderColor ='#ff3333 'bgcolor =' bebcb0 ، f0efea ، bebcb0 ' topWidth = '3'/> </dials> <enrotations> <enrotationgroup xpos = '170' ypos = '170' fillRatio = '10 ، 125،254 'fillpattern =' rypial '> <!-رسم الحدود البيضاء العلوية-> <endation type =' circle 'xpos =' 0 ' "bebcb0 'fillasgradient =' 1 'fillColor =' f0efea ، bebcb0 'fillRatio = '85 ، 15' /> <enootation type = 'circle' xpos = '0' xpos = '0' color = 'ffffff' ypos = '0' radius = '140' borderColor = 'f0efea'/> </annotationgroup> </endations> </chart>------------------------- 仪表盘重要属性解析 -----------------------
根节点 <الرسم البياني :
UpperLimit = '120' -刻度值上限
LowerLimit = '0' -刻度值下限
حدود = '0/1' -是否显示极限值
basefontcolor = '#ff3333' -刻度值字体颜色
majortmnumber = '12 ' -需要将仪表盘分成的等份值
majortmcolor = '#ff3333' -刻度线的颜色
majortmheight = '8' -刻度线的长度
minortmnumber = '5' -仪表盘刻度线间小刻度线的数量
minortmcolor = '#ff3333' -仪表盘刻度线间小刻度线颜色
minortmheight = '5' -仪表盘刻度线间小刻度线长度
pivotradius = '20 ' -针心圆半径
showgaugeBorder = '1' -是否显示刻度盘边框
GaugeouterRadius = '130' -刻度盘外围半径
gaugeinnerradius = '110' -刻度盘内围半径
Gaugeoriginx = '170' -刻度盘圆心 x 坐标
Gaugeoriginy = '170' -刻度盘圆心 y 坐标
gaugescaleangle = '200' -刻度盘比例 (度数)
DisplayValuedistance = '20 ' -显示值与刻度线的距离
PlaceValuesinside = '1' -显示值是否位于刻度盘的内部
GaugeFillMix = '' -刻度盘颜色是否混合
PivotFillMix = '{f0efea} ، {bebcb0}' -仪表盘轴心是否混合
PivOtBorderColor = 'bebcb0' -轴心边框颜色
pivotfillratio = '80 ، 50 ' -轴心比率
showshadow = '0' -是否显示阴影
: :
<Solorrange>
<color minvalue = '0' maxvalue = '84 'code =' 00ff00 'alpha =' 0 '/>
<color minvalue = '80 'maxvalue =' 100 'name =' danger 'code =' ff0000 'alpha = '50'/>
</colorrange>
: :
通过两种不同的颜色拼接成刻度盘底色 , 可用于提醒指示到一定区域了;
: :
<dials>
<dial value = '50 'borderColor ='#ff3333 'bgcolor =' bebcb0 ، f0efea ، bebcb0 'borderalpha =' 0 'basewidth = '10' topWidth = '3'/>
</dials>
القيمة = '50 ' -指针指示值
الحدود = '10 ' -指针边线的颜色深度
basewidth = '10 ' -只针的宽度
TopWidth = '3' -指针尖端的宽度
: :
<Eronotations> <enrotationgroup xpos = '170' ypos = '170' fillRatio = '225،225،254' fillpattern = 'rypial' alpha = '11 '> <annotation Type =' fillColor = 'f0efea ، bebcb0' fillRatio = '85 ، 15 ' /> <enrotation type =' circle 'xpos =' 0 ' RADIUS = '140' BorderColor = 'f0efea' color = 'ffffff'/>
<chart bgalpha = '0' bgcolor = 'ffffff' lowerlimit = '0' upperlimit = '100' numberuffix = '٪ 25' showborder = '0' basefontcolor = 'ffffdd' charttopmargin = '25 'chartbottommargin = '25' chartleftmargin = '25 tooltipbgColor = '80a905' GaugeFillMix = '{dark-10} ، ffffff ، {dark-10}' gaugefillratio = '3' الكود = 'f6bd0f'/> <color minvalue = '80 'maxvalue =' 100 'code =' 8bba00 '/> </solorrange> <dials> <dial value = '92' reacextension = '110 '/> </dials> <trendpoints sudced = '1' 'dashlen =' 2 'dashgap =' 2 'valueinside =' 1 ' /> < /trendpoints> <!-مستطيلات خلف المقياس-> <annotations> <enrotationgroup id =' grp1 'showbelow =' 1 ' color = '009999،333333' showborder = '0'/> </annotationgroup> </endations> <styles> <shands> <style name = 'rectshadow' type = 'shadow' strength = '/'/>/>------------------------- 仪表盘重要属性解析 -----------------------
<مخطط
numberuffix = '٪ 25' -数值后缀 ٪
charttopmargin = '25 ' -到容器顶端的距离
chartbottommargin = '25 ' -到容器底端的距离
chartleftmargin = '25 ' -到容器左端的距离
ChartrightMargin = '25 ' -到容器右端的距离
GaugeFillRatio = '11 ' -刻度盘背景颜色比例
<anotationgroup showbelow = '1' -显示在 xx 下面
以上就是对 Angulargauge 属性资料的整理 , 后续继续补充相关资料 , 谢谢大家对本站的支持!