我正在尝试使用Gauge.js来实现量规。我想用渐变颜色来实现它。
要实现这一点,我面临一些问题。
我目前实现的量规屏幕截图:
1)梯度色不起作用的
我的剧本:
<script type="text/javascript">
var opts = {
lines: 30, // The number of lines to draw
angle: 0.3, // The length of each line
lineWidth: 0.1, // The line thickness
pointer: {
length: 0.9,
当我试图在xcode中运行javascript时,我发现了一些警告,
以下是警告:
[WARN]warning: no rule to process file '$(PROJECT_DIR)/js/binofo.js' of type sourcecode.javascript for architecture i386
[WARN]warning: no rule to process file '$(PROJECT_DIR)/js/excanvas.js' of type sourcecode.javascript for architecture i38