purrr::imap you could split your data by years and loop over the resulting list to convert your data to the nested list object required by
hc_drilldown. Note: It's important to make the
numeric and to pass a unnamed list.
library(tidyverse) library(highcharter) library(lubridate) series <- split(df, year(df$date)) %>% purrr::imap(function(x, y) list(id = as.numeric(y), data = list_parse2(x))) # Unname list names(series) <- NULL highchart() %>% hc_chart(type = "column") %>% hc_title(text = "Example Drilldown") %>% hc_xAxis(type = "category") %>% hc_legend(enabled = FALSE) %>% hc_plotOptions(series = list(boderWidth = 2, dataLabels = list(enabled = TRUE))) %>% hc_add_series(data = dfDD, name = "Mean", colorByPoint = TRUE) %>% hc_drilldown(allowPointDrilldown = TRUE, series = series)
- R: How to create a Drilldown Highchart using loops
- Using PhantomJS to create HighCharts grahps server side for use in PDF creation (PHP) - results in exit code 11 from PHPs exec();
- create a donut chart using highchart using jquery json object
- Create a highchart graphic using angular.js
- How to create doughnut highchart using angular JS
- how to auto create pdf using highchart graphs
- Column based Highchart drilldown series assign color code to each column
- How to create a drilleable bar graph in jsp page using open source charts API
- R efficient Drilldown chart with loop using Highchart
- How to create multiple highchart and print in HTML page by using for loop?
- Can't build multilevel drilldown chart using Highchart API
- Highchart Column with Drilldown using MySQL
- how to display drilldown column highchart using json array objects - 3 level drilldown column highchart
- How to drilldown a pie highchart into multiple containers using renderTo or redraw method?
- How to create a highchart using mysql data (PHP)?
- How to create a column range chart in Highcharts using range and navigator functions?
- Drilldown multiple levels Highchart
- Resolve Conflict When Using Highchart and Highmap together (TypeError: ma is not a function)
- How to create a new Highstock chart with new Highchart and not jquery?
- Using Highcharts.js to create a punch card style graph
- create a sticky tooltip for a point or a permanent label using HighCharts
- How to create Chart Data using SQL query
- Create Density Heatmap Chart using Jquery with array of data
- Is multiple level Highchart Drilldown possible in adjacent charts?
- How can i create doughnut chart using oxyplot in xamarin.android?
- Highchart render in pdf generated using PHP mPdf
- drilldown maps and funnell charts on the same page using highcharts
- how to create donut chart using highcharts?
- Create highchart density with more than 2 groups
- highchart- how do I hide y-axis, when y-axis is set with max and min limits
- highcharts: issues
- Vertical align legends in highcharts with two column
- Highcharts: converting millimeters to pixel
- Add different colour in X-range bar based on percentage
- Display and use time values on Highcharts
- Highcharts Grouped stack x.axis name + category name
- chartOptions.redraw is not a function in highcharts using angular
- update the yAxis min value and tooltip dynamically in highcharts
- How to handle mouse events on axis labels in highcharts
- Creating multiple series in Highcharts within a loop
- Using Highcharts and displaying a message over or on the chart when there is no data
- HighCharts BoxPlot With Multiple Series Having Single Data
- How to extend or highlight a horizontal line in Highcharts?
- Angualr2/4 -Unable to generate highchart
- Highcharts highstocks - candlestick graph has last value partially cut
- Avoid showing duplicate stack labels on the every column series in a. highcharts
- Highcharts chart update function causes missing data point
- Hover effect on Inside/InnerSize of donut chart?