167 questions
Advice
0
votes
2
replies
31
views
How do I create a custom tooltip where trigger=axis with echarts4r?
I have very little JavaScript experience, so am finding it difficult to understand the guidance on this. I have a bar chart which shows survey data results over multiple years. However, my survey ...
0
votes
1
answer
92
views
Add radius to points in echarts4r
I'm using the echarts4r package to make map with some points. To each point I want to add a radius circle to show an area around the point. For example for each point I want to add a radius line of ...
1
vote
1
answer
88
views
Add points to echarts4r map
I'm using the echarts4r package to make a nice geo map. Now I'm trying to add some scatter points of some cities to the map. Unfortunately, I don't understand why the points are not shown. Here is a ...
0
votes
0
answers
121
views
animate a 2D path plot in echarts4r
I want to animate a 2D path plot in echarts4r (in a shiny project), i.e I want to visualize a sequence of 2D data points connected in the order they appear in the dataset. In addition I also want the ...
1
vote
1
answer
91
views
How to use e_facet with e_funnel in R?
I'm working on R (version 4.4.2) I'm using the library echarts4r (version 0.4.5) to create a plot. I want to use e_facet to perform something like facet_wrap in ggplot2, splitting the plot into two ...
2
votes
1
answer
172
views
Custom axis ticks and labels in echarts4R
I have a plot which I want a custom x-axis in echarts4R, specifically, I want a Normal or Gumbel scale. I can't see a way to do this in the echarts4R documentation. The echarts documentation does have ...
0
votes
2
answers
80
views
How to individually control lines in echarts4r wihin a shiny app
I have a Shiny app that uses the echarts4r package to display animated lines.
I want to control each animated line individually using checkboxes.
For example, when I check the Line A checkbox, the ...
3
votes
2
answers
128
views
Dynamic update of variable without redrawing the entire graph (proxy)
I am trying to display a graph using echarts4r in a Shiny application, where the user can adjust a dynamic threshold (Threshold).
I want only the "Threshold" series to update without ...
2
votes
1
answer
182
views
Bar chart with side-by-side bars using echarts4r
Short version: Is there a way to plot bar charts with side-by-side bars (something like position=dodge option in ggplot) using echarts4r?
Long version:
I want to create a bar chart grouped by multiple ...
2
votes
0
answers
55
views
Update a single point of a series in an echarts4r proxy in R Shiny
The code below observes a numeric input and multiplies the value corresponding to the "A" category by this number. Then, the proxy clears the chart (otherwise, it would draw another series) ...
0
votes
0
answers
43
views
How to use e_remove_serie_p to remove series individually without re-drawing others?
I would like to remove each continent individually when removing a series with the checkboxGroupInput. In the documentation I only saw how to do it when the continents would be column names. However, ...
1
vote
1
answer
121
views
Dynamic totals in barchart
I have a Shiny app example using echarts4r to visualize sales data by category and year.
I'm trying to add two features to this plot:
A dynamic total displayed at the top of the chart that updates ...
0
votes
0
answers
61
views
Adding two timelines
I would like to add a second timeline (instead of facet) to a barplot.
I tried to group by two vars but this is not working as expected (I get a mixed timeline).
Are there any smart workarounds?
A ...
2
votes
0
answers
91
views
Legend is overlapping the axes labels
I'm plotting a chart using echarts4r and the legend is overlapping the axis y labels. Do you have any idea on how to avoid this?
Below is my code:
library(nycflights13)
library(echarts4r)
library(...
1
vote
3
answers
692
views
ECharts line series to custom tooltip to group some lines together and show tooltip data accordingly?
I am using ECharts Line series to plot some kind of distance-time graph where xaxis is time (time) and yaxis is location (categorical).
In my series, I have multiple lines. So, an array of objects ...