r - ggplot geom_bar - 如何限制 Y 轴 - 以前的建议不起作用?
问题描述
无法在 ggplot 上启动 Y 轴
一旦我指定 c(15000000,max(variable)) 我就会失去所有的视觉效果
aes(x= ecomm_data3$Month, y = ecomm_data3$Value, fill = ecomm_data3$Year) +
geom_bar(stat = 'identity', position = "dodge") +
scale_y_continuous(name="E-comm Value £", labels = comma) +
labs(title = "Total e-comm value", x = "Date") +
scale_fill_manual("Year", values = c("18" = "steelblue", "19" = "orange"))```
Loss of visual completely
解决方案
推荐阅读
- twilio - 每小时或每天获取 Twilio SMS 故障的最佳方法
- go - 了解内存分配的工作原理和垃圾收集器
- python - django admin InlineModel 中的图像
- android - Gradle 同步失败:找不到 com.android.tools.build:gradle:1.0.+ 的任何匹配项,因为没有可用的 com.android.tools.build:gradle 版本
- java - 第一批后关闭 Spark Streaming Context(尝试检索 kafka 偏移量)
- gradle - Protobuf Gradle 插件版本 0.8.6 及更高版本与 Project 'flutter_blue' 使用版本 0.8.3
- python - Kivy (Python) - 椭圆点击事件
- python - 断点法的使用
- python - TensorFlow AttributeError:模块 tensorflow.contrib.lite.python.lite 没有属性 TFLiteConverter
- python - python-postgresql,似乎已连接但没有响应