我想知道,在创建量规之后,是否有一种方法可以更改justGage值参数中文本的颜色和装饰。
最后,我希望能够将文本的颜色更改为带有下划线的蓝色,以便类似于一个链接。
谢谢。
发布于 2014-01-09 21:28:50
在查看站点时,有一些元素可以进行编辑以自定义您的样式。
转到"Demos > Customize“,您将看到以下列表:
下面列出了您可以使用的所有参数:
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)现在,你是否可以在量规制作后调整这些值,我不知道。我有种感觉你不能那么做。
https://stackoverflow.com/questions/21031261
复制相似问题