powered by
Draw a contour plot. x and y must each be numbers.
e_contour( e, serie, name = "contour", legend = TRUE, thresholds = 8, bandwidth = 20, lineStyle = list(opacity = 0.3, color = "black", width = 1), contourOpacity = 0.8, contourColors = list("#5470c6", "#91cc75", "#fac858", "#ee6666"), ... )
An echarts4r object as returned by e_charts or a proxy as returned by echarts4rProxy.
echarts4r
e_charts
echarts4rProxy
Column name of serie to plot.
name of the serie.
Whether to add serie to legend.
contour density
the size of the contours
list of properties of the line
opacity of the countours
colors used for the contours
Any other option to pass, check See Also section.
official documentation
mtcars |> e_charts(mpg) |> e_contour(serie = mpg)
Run the code above in your browser using DataLab