cosname / recharts

An interface to ECharts
https://recharts.cosx.org
BSD 3-Clause "New" or "Revised" License
337 stars 149 forks source link

eLine报错:Error in parse(text = x, keep.source = FALSE) : <text>:2:0: unexpected end of input 1: saleNum~weekDay+ ^ #32

Closed TimCuiK2 closed 8 years ago

TimCuiK2 commented 8 years ago

这是我的code:

df2 = data.frame(
  saleNum=c(10,20,30,40,50,60,70,15,25,35,45,55,65,75,25,35,45,55,65,75,85),
  weekDay=seq(1,21)

)
 eLine(dat= df2, xvar=~weekDay, yvar=~saleNum) #  这个报错

 eBar(dat= df2, xvar=~weekDay, yvar=~saleNum) #  这个没有问题

我想画指定x、y轴的折现折线图,是我的调用方法不对吗?

yummyZhou commented 8 years ago

I've fixed the bug in the latest commit, thanks for your ticket.