我正在绘制一个图表。无法在X轴上删除该0。尝试了很多东西。请帮助。
hc1 <- highchart(type = "chart" ) %>%
hc_xAxis(categories = FALSE)%>%
hc_add_series(name = "Confirmed", data =
CDR_ordered$Confirmed_ordered.Confirmed) %>%
hc_add_series(name = "Recovered", data =
CDR_ordered$Recovered_ordered.Recovered, color = "#FFFF00") %>%
hc_add_series(name = "Deaths", data = CDR_ordered$Deaths_ordered.Deaths, color = "#FF0000") %>%
hc_xAxis(title = list(text = "Cases", categories = FALSE)) %>%
hc_yAxis(title = list(text = "Affected"), minorTickInterval = "auto", minorGridLineDashStyle = "LongDashDotDot")
hc1 <- hc1 %>%
hc_chart(type = "column",
options3d = list(enabled = TRUE, beta = 10, alpha = 10)) %>%
hc_add_theme(hc_theme_google()) %>%
hc_credits(
enabled = TRUE, text = "Source: JHU CSS",
href = "https://raw.githubusercontent.com/datasets/covid-19/master/time-series-19-covid-combined.csv",
style = list(fontSize = "10px"))
请检查下面的图片以更好地理解
<< img src =“ https://image.soinside.com/eyJ1cmwiOiAiaHR0cHM6Ly9pLnN0YWNrLmltZ3VyLmNvbS9NSVZNRC5wbmcifQ==” alt =“在X轴上消除0” >>>
我正在绘制一个图表。无法在X轴上删除该0。尝试了很多东西。请帮忙。 hc1%hc_xAxis(类别= FALSE)%>%hc_add_series(...
将有助于复制数据。