JohnCoene / echarts4r

🐳 ECharts 5 for R
http://echarts4r.john-coene.com/
Other
585 stars 82 forks source link

Can't plot a diagonal line on the chart using e_mark_line #567

Closed ffantom closed 10 months ago

ffantom commented 10 months ago

I'm trying to plot a scatterplot using e_scatter with a benchmark line that should go from (0,0) to (1,1) on the chart. Similar to ggplot::geom_abline()

` compare () %>%
e_charts(Benchmark) %>% e_scatter(Actual,symbol_size = 10,bind = Name) %>%

e_mark_line(data = list(xAxis = c(0,1))) %>%

e_tooltip()

`