README.md

pianobar

包中使用了中文,因此该包仅限于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()

致谢



czxa/pianobar documentation built on Nov. 14, 2019, 12:12 a.m.