[英]Change color of radius of point in flot
I have a situation in flot where I want the points to be 1 pixel GREEN dots. 我在float中遇到一种情况,我希望这些点为1像素的绿色点。 To do this I'm using the following settings: 为此,我使用以下设置:
points: {
show: true,
radius: 1,
lineWidth: 0
},
colors:["#00FF00"]
This works fine with the only problem being that 'colors' changes the line around the radius, which for me is non-existent, and I want to change the color of the actual radius of the data point. 这很好用,唯一的问题是“颜色”更改了半径周围的线,对我来说这是不存在的,我想更改数据点实际半径的颜色。 As it is right now I'm stuck with default white. 现在是我坚持使用默认白色。 Is there any way to change this? 有什么办法可以改变吗?
I figured it out. 我想到了。
points: {
show: true,
radius: 1,
lineWidth: 0,
fillColor: '#00FF00'
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.