helgasoft

Results 533 comments of helgasoft

The simple way is Y-axis scale ```r data.frame( date = c("2022", "2021") ,value = c(11000000, 15000000) ) |> e_chart(x = date) |> e_bar(serie = value) |> e_y_axis(scale= TRUE, min= 10000000)...

_endLabel_ formatting, inquiry by @Tom-Jenkins ```r tmp mutate(life_expectancy= round(life_expectancy,2), year= as.factor(year)) |> select(year, life_expectancy, country) |> # order x,y,grp - will be redundant in echarty 1.4.7 group_by(country) |> ec.init( ctype='line',...

Layout with two pie charts, inquiry by @DavZim. ```r library(dplyr) df group_split(), function(x) { ec.init(preset= FALSE, height= 250, title= list(text= unique(x$group)), series= list(list(type= 'pie', data= ec.data(x, 'names'))), legend= list(show=TRUE)) })...

Answer [question](https://github.com/JohnCoene/echarts4r/issues/462) by @kesselhwvan about duplicating a _ggplot_ chart ```r # set.seed(?) data = tibble(time = factor(sort(rep(c(4,8,24), 30)), levels = c(4,8,24)), dose = factor(rep(c(1,2,3), 30), levels = c(1,2,3)), id =...

@XiangyunHuang, hope that's what you are looking for. Parameter _visualMap.dimension_ works with ECharts [dataset](https://echarts.apache.org/en/option.html#dataset), which is set by default in _echarty_. ```r library(echarty) # enhance symbol size related to magnitude...

Numbers **locale-based formatting**, asked by @oobd Done with _ec.clmn()_ in echarty. Format _%L@_ stands for 'localized'. ```r library(dplyr); library(echarty) iris %>% mutate(Petal.Length = Petal.Length * 1000) %>% group_by(Species) %>% summarise(Petal.Length...

Recently found and reported [a serious problem](https://github.com/ecomfe/echarts-gl/issues/464) with _scatter3D_ in **echarts-gl**. Near points do not always **hide** furthest points which makes 3D view **distorted**. Grab and run example code from...

This works ``` AAPL % ggplot(aes(x = date, y = close)) + geom_candlestick(aes(open = open, high = high, low = low, close = close)) + geom_ma(color = "darkgreen") + coord_x_date(xlim...

Wish it was that simple. Here is **[the solution](https://github.com/r-lib/covr/issues/457)**. Could _tic_ replicate that? - eventually the three _name_ steps with _add_code_step()_ ? - gha_add_secret() for COVERALLS_API ? But can _tic_...

Simple heatmap of weekly hours, inquiry by @avenn98 ```r set.seed(2022) df dplyr::distinct(hour_of_day, day_of_week, .keep_all= TRUE) df |> echarty::ec.init( title= list(text= "Heatmap of Successful API Requests by Day and Hour"), series=...