cosname / recharts

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

eForce 无法画图 #49

Open qxde01 opened 7 years ago

qxde01 commented 7 years ago

eForce里面的例子 没画成功过,一片空白 networkMatrix <- matrix(c( c(0, 1, 2, 1, 2, 3, 6, 6, 1, 1, 1 ), c(1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ), c(2, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0 ), c(1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0 ), c(2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0 ), c(3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0 ), c(6, 0, 1, 1, 1, 1, 0, 6, 0, 1, 0 ), c(6, 0, 0, 1, 0, 0, 6, 0, 0, 0, 0 ), c(1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ), c(1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0 ), c(1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ) ), ncol=11 ); propertyDf <- data.frame( category = c("人物", "家人", "家人", "家人", "家人", "朋友","朋友", "朋友", "朋友", "朋友", "朋友"), name = c("Steven Jobs", "Lisa Jobs", "Paul Jobs", " Kalala Jobs","Lauren Powell", "Steve woz Ike", "Obama", "Bill Gates","Jonathan", "Tim Cook", "Wayne"), value = c(10, 2, 3, 3, 7, 5, 8, 9, 4, 4, 0) ); rownames(propertyDf) = propertyDf$name; eForce(networkMatrix=networkMatrix, propertyDf=propertyDf)

Lchiffon commented 7 years ago

这个问题吧, 是个Echarts2迁移到Echarts3之后的阵痛.... 应该过段时间会更新...