1
我想知道是否有方法在創建gauge後在justGage的Value參數中更改文本的顏色和可能的裝飾。如何更改justGage中的值的顏色
最終,我希望能夠通過下劃線將文本的顏色更改爲藍色,以便類似鏈接。
謝謝。
我想知道是否有方法在創建gauge後在justGage的Value參數中更改文本的顏色和可能的裝飾。如何更改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)
,你是否能調整這些數值後,我不知道。我有一種感覺,你不能那樣做。
你到目前爲止嘗試過什麼?你可能想嘗試創建一個[jsFiddle](http://jsfiddle.net)來演示你的問題。 –
請發佈示例@ http://jsfiddle.net –