UNPKG
bluebot
Version:
latest (0.5.10)
0.5.10
A bitcoin trading bot for auto trading at various exchanges
bluebot
/
web
/
vue
/
src
/
d3
/
message.js
11 lines
(10 loc)
•
258 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
export
const
draw =
function
(
message
) { d3.
select
(
"#chart"
).
append
(
"text"
) .
attr
(
'class'
,
'message'
) .
attr
(
'x'
,
150
) .
attr
(
'y'
,
150
) .
text
(message); }
export
const
clear =
function
(
) { d3.
select
(
"#chart"
).
find
(
'text'
).
remove
(); }