首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何在justGage中改变值的颜色

如何在justGage中改变值的颜色
EN

Stack Overflow用户
提问于 2014-01-09 21:13:31
回答 1查看 7K关注 0票数 1

我想知道,在创建量规之后,是否有一种方法可以更改justGage值参数中文本的颜色和装饰。

最后,我希望能够将文本的颜色更改为带有下划线的蓝色,以便类似于一个链接。

谢谢。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2014-01-09 21:28:50

在查看站点时,有一些元素可以进行编辑以自定义您的样式。

转到"Demos > Customize“,您将看到以下列表:

下面列出了您可以使用的所有参数:

代码语言:javascript
复制
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)

现在,你是否可以在量规制作后调整这些值,我不知道。我有种感觉你不能那么做。

票数 7
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/21031261

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档