<Graphique bgcolor = 'ffffff' upperlimit = '120' inférieur = '0' BaseFontColor = '666666' MajortMNumber = '10 'MajortMColor =' 666666 'MajortMheight =' 8 'minortmNumber =' 5 'MINORTMCOLOR =' 666666 ' pivotradius = '10 'showgaugeBorder =' 0 'GaugeouterRadius =' 100 'GaugeInnerRadius = '90' Gaugeoriginx = '170' Gaugeoriginy = '170' GaugeScaleAnigle = '220' DisplayValEdiste = '20 'PlaceValuesside =' 1 'GAUGEFILLMIX =' pivotFillMix = '{f0EFEA}, {bebcb0}' pivotborderColor = 'bebcb0' pivotfillratio = '80, 50 'showshadow =' 0 '> <ColorRange> <couleur minvalue =' 0 'maxvalue = '84' code = '00ff00' alpha = '0' 0 ' minValue = '80 'maxValue =' 100 'name =' danger 'code =' ff0000 'alpha = '50' /> </ colorrange> <icals> <dialvalue = '50 'bordercolor =' # ff3333 'bgcolor =' 0 '0' BaseWidth = '10 ' topwidth = '3' /> </icals> <Notations> <NotationGroup XPOS = '170' ypos = '170' fillratio = '10, 125,254 'fillpattern =' radial '> <! 'bebcb0' fillasgradient = '1' fillcolor = 'f0EFEA, bebcb0' fillratio = '85, 15 '/> <annotation type =' Circle 'xpos =' 0 'ypos =' 0 'radius =' 140 ' xpos = '0' color = 'ffffff' ypos = '0' radius = '140' borderColor = 'f0EFEA' /> </ annotationgroup> </notations> </ Chart>------------------------- 仪表盘重要属性解析 -----------------------
根节点 <graphique : :
Upperlimit = '120' - 刻度值上限
LowerLimit = '0' - 刻度值下限
Limites = '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 坐标
Gaugeoringiny = '170' - 刻度盘圆心 Y 坐标
Gaugescaleangle = '200' - 刻度盘比例 (度数 度数)
DisplayValuedIdiste = '20 '- 显示值与刻度线的距离
placeValuesInside = '1' - 显示值是否位于刻度盘的内部
GaugeFillmix = '' - 刻度盘颜色是否混合
pivotFillMix = '{f0EFEA}, {bebcb0}' - 仪表盘轴心是否混合
pivotborderColor = 'bebcb0' - 轴心边框颜色
pivotfillratio = '80, 50 '- 轴心比率
showshadow = '0' - 是否显示阴影
:
<ColorRange>
<Color minvalue = '0' maxValue = '84 'code =' 00ff00 'alpha =' 0 '/>
<Color minvalue = '80 'maxValue =' 100 'name =' danger 'code =' ff0000 'alpha = '50' />
</colorrange>
:
通过两种不同的颜色拼接成刻度盘底色 , 可用于提醒指示到一定区域了;
:
<sals>
<Dial Value = '50 'BorderColor =' # FF3333 'BGCOLOR =' BEBCB0, F0EFEA, BEBCB0 'Borderalpha =' 0 'BaseWidth = '10' TOPWIDTH = '3' />
</icals>
valeur = '50 '- 指针指示值
Borderalpha = '10 '- 指针边线的颜色深度
BaseWidth = '10 '- 只针的宽度
topWidth = '3' - 指针尖端的宽度
:
<Notations> <NotationGroup XPOS = '170' YPOS = '170' FillRatio = '225,225,254' FillPattern = 'Radial' alpha = '11 '> <annotation type =' xpos = '0' ypos = '0' radius = '150' borderColor = ' FillColor = 'F0EFEA, bebcb0' fillratio = '85, 15 '/> <annotation type =' Circle 'xpos =' 0 'ypos =' 0 'radius =' 140 'fillcolor =' bebcb0, f0efea 'fillratio = '85, 15' /> <annotation type = 'Circle' RADIUS = '140' BorderColor = 'F0EFEA' COLOR = 'FFFFFF' />
<graphique bgalpha = '0' bgcolor = 'ffffff' bowerlimit = '0' upperlimit = '100' nombresuffix = '% 25' showborder = '0' BaseFontcolor = 'FFFFDD' ChartTopmargin = '25 'ChartBotTommargin = '25' CharttMargin = '25 'ChartBargin = '25' CharttMargin = '25 'ChartRightgin = '25' ToolTipBgColor = '80A905' GAUGEFILLMIX = '{Dark-10}, Ffffff, {Dark-10}' GaugeFillratio = '3'> <ColorRange> <Color MinValue = '0' MaxValue = '45 'Code =' Ff654f '/> <Oloor Minvalue = '45' MAXVALUe = '0 ' Code = 'F6BD0F' /> <Color MinValue = '80 'MaxValue =' 100 'Code =' 8BBA00 '/> </ ColorRange> <Ins> <Trendpoints = '92' RearExtension = '10 '/> </icals> <Trendpoints> Dished = '1' dashlen = '2' dashgap = '2' valueInside = '1' /> </ Trendpoints> <! - rectangles derrière la jauge -> <Notations> <annotationgroup id = 'grp1' showBelow = '1'> <annotation type = 'rectangle' x = '5' y = '5' tox = '345' Toy = '195 =' y = '5' tox = '345' TOY = '195 =' 5 'y =' 5 'TOX =' 345 ' Color = '009999,333333' showBorder = '0' /> </ annotationGroup> </Notations> <Styles> <Definonse> <style name = 'rectShadow' type = 'shadow' force = '3' /> </ Definition> <Ipplication> <Appliquer TOOBject = 'Grp1' Styles = 'Rectshadow' /> </ application>------------------------- 仪表盘重要属性解析 -----------------------
<graphique
nombresffix = '% 25' - 数值后缀%
ChartTopmargin = '25 '- 到容器顶端的距离
chartBottommargin = '25 '- 到容器底端的距离
chartleftmargin = '25 '- 到容器左端的距离
chartrightmargin = '25 '- 到容器右端的距离
GaugeFillratio = '11 '- 刻度盘背景颜色比例
<AnnotationGroup showBellow = '1' - 显示在 xx 下面
以上就是对 angulargauge 属性资料的整理 , 后续继续补充相关资料 , 谢谢大家对本站的支持!