[问题类型]:
程式咨询(我想用R 做某件事情,但是我不知道要怎么用R 写出来)
[软件熟悉度]:
入门(写过其他程式,只是对语法不熟悉)
[问题叙述]:
s
我想要把交互式的图表放到plotly,
以便合并到PPT上
这是我想要的图表在R studio上呈现的样子
https://i.imgur.com/4T7IN83.jpg
(内部资料,因此把中文分类换成英文字母代替)
但利用api_create()上传到plotly后,
X轴只剩下数字
https://i.imgur.com/BuKRgCi.jpg
请问这要怎么修正呢?
或是有没有别的办法能把交互式的图表放到ppt上呢?
[程式范例]:
s
Point_Comm_Channel <- ggplot(final_Channel_perform_Comm, aes(x = Channel, y = total_Amount, color = Name ))+
geom_point(aes(group = Name),size = 1)+
labs(title = "SKU销售Top 10 in channels",
y = "Total Amount(千)")
这是我画图的程式码
[环境叙述]:
R version 3.4.4 (2018-03-15)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1
Matrix products: default
locale:
[1] LC_COLLATE=Chinese (Traditional)_Taiwan.950
[2] LC_CTYPE=Chinese (Traditional)_Taiwan.950
[3] LC_MONETARY=Chinese (Traditional)_Taiwan.950
[4] LC_NUMERIC=C
[5] LC_TIME=Chinese (Traditional)_Taiwan.950
[关键字]:
u的是谢谢大家,拜托大家了!