我想知道是否有一种方法可以改变justGage的值参数中文本的颜色和装饰。
最后,我希望能够改变文本的颜色为蓝色,并加下划线,以便类似于一个链接。
谢谢您。

最佳答案

在查看网站时,可以编辑元素的示例以自定义样式。
转到“演示>自定义样式”,您将看到以下列表:
以下是您可以使用的所有参数的列表:

id : string container element id
title : string gauge title text
titleFontColor : string color title text
value : int value gauge is showing
valueFontColor : string color of value text
min : int minimum value
max : int maximum value
showMinMax : bool hide or display min and max values
gaugeWidthScale : float width of the gauge element
gaugeColor : string background color of gauge element
label : string text to show below value
showInnerShadow : bool whether to display inner shadow
shadowOpacity : float shadow opacity, values 0 ~ 1
shadowSize : int inner shadow size
shadowVerticalOffset : int how much is shadow offset from top
levelColors : array of strings colors of indicator, from lower to upper, in hex format
levelColorsGradient : bool use gradual or sector-based color change
labelFontColor : string color of label showing label under value
startAnimationTime : int length of initial load animation
startAnimationType : string type of initial animation (linear, >, <, <>, bounce)
refreshAnimationTime : int length of refresh animation
refreshAnimationType : string type of refresh animation (linear, >, <, <>, bounce)

现在,你能不能在量表制作完成后调整这些数值,我不知道。我觉得你不能那样做。

10-08 08:08