我正在使用R包chartSeries()
中的函数quantmod
绘制价格图表。这是一个例子:
#Load package 'quantmod'
library(quantmod)
#Download quotes for VNQ
hist.xts <- getSymbols('VNQ',
from = '2006-1-1',
to = '2006-1-31',
auto.assign = F)
#Plot price chart
chartSeries(hist.xts, type = 'bars')
这是价格图表:
如何压制文字&#34;最后64.050003&#34;这样它就不会出现在图表上了吗?
答案 0 :(得分:1)
您必须在文档和此示例中插入参数url = 'https://fcm.googleapis.com/fcm/send'
body = {
"data":{
"title":"mytitle",
"body":"mybody",
"url":"myurl"
},
"notification":{
"title":"My web app name",
"body":"message",
"content_available": "true"
},
"to":"device_id_here"
}
headers = {"Content-Type":"application/json",
"Authorization": "key=api_key_here"}
requests.post(url, data=json.dumps(body), headers=headers)
:https://github.com/seanrasmussen/react-tutorial-in-create-react-app
TA = NULL