echarts4r icon indicating copy to clipboard operation
echarts4r copied to clipboard

does e_mark_point support adding a singple point like(x, y) instead of functional point like max, min?

Open bluebirdie opened this issue 8 months ago • 2 comments

I tried this, but it shows no mark point.

point <- list( name = 'screen coordinate', x=10, y=5.4 )

mtcars |> e_charts(mpg) |> e_line(wt) |> e_mark_point("wt", data = point)

bluebirdie avatar May 06 '25 19:05 bluebirdie

data should be a list of lists

data <- list(list(
  name = "point",
  x = 1,
  y = 1
))

JohnCoene avatar May 06 '25 19:05 JohnCoene

Docs on data for point is here

JohnCoene avatar May 06 '25 19:05 JohnCoene