包中使用了中文,因此该包仅限于Mac用户
该函数能够创建一个琴键柱形图,这意味着当你的鼠标掠过柱条时,会响起钢琴的声音,非常有趣。灵感来源: https://gallery.echartsjs.com/editor.html?c=xBJYz2XJz
devtools::install_github('czxa/pianobar')
library(pianobar)
pianobar(momo$date, momo$value,
title = "末末的魔鬼步伐",
titleLink = "https://czxa.top",
xtitle = "日期",
ytitle = "步数(千步)",
width = "100%", height = "400px")
library(pianobar)
pianobar(momo$date, momo$value,
title = "末末的魔鬼步伐",
titleLink = "https://czxa.top",
xtitle = "日期",
ytitle = "步数(千步)",
width = "100%", height = "400px",
plotType = "line")
?pianobar()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.