UNPKG
chrt-dotplot
Version:
latest (0.0.8)
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
Dot Plot component for Chrt
chrt.io
chrt-dotplot
/
src
/
lib
/
pointColor.js
4 lines
(3 loc)
•
80 B
JavaScript
View Raw
1
2
3
4
export
default
function
pointColor
(
value
) {
return
this
.
attr
(
'fill'
, value) }