Questions tagged [r-highcharter]

Questions related to the usage of the Highcharts JavaScript library in R.

Highcharter is a R wrapper for the javascript library which is a charting library offering numerous interactive chart types such as line, area, bar, pie, scatter, bubble, gauge, polar charts.

Links:

Vignettes

533 questions
0
votes
1 answer

R highcharter - grouped categories - missing label for group with one value only

R Code: setwd(dirname(rstudioapi::getActiveDocumentContext()$path)) options(stringsAsFactors = FALSE) rm(list = ls()) if (!require("pacman")) install.packages("pacman") pacman::p_load("dplyr","tidyr","highcharter") raw_data <-…
Urvah Shabbir
  • 945
  • 2
  • 15
  • 46
0
votes
1 answer

HighCharts Sankey Diagram in R

I'd like to create a sankey diagram using the highcharter library in R. Usually I'm just able to look at the javascript code for the plot and translate it for R, but for sankey plots I'm having some trouble. I'd like to just start by creating…
Joe Bringley
  • 93
  • 10
0
votes
1 answer

Highcharter Sankey

I am trying to create a sankey diagram using the following data frame and code: UKvisits <- data.frame(origin=as.character(c( "France", "Germany", "USA", "Irish Republic", "Netherlands", "Spain", "Italy", "Poland", "Belgium", "Australia", …
gabzo
  • 198
  • 1
  • 13
0
votes
1 answer

How to set zlim values in R-highcharter plots

How does one control the z-axis for highcharter matrix plots in R? library(highcharter) data(volcano) hchart(volcano/2, zlim=c(0,200))
Jordan
  • 455
  • 6
  • 21
0
votes
0 answers

Highcharter - sankey.series.nodes

I have implemented a Sankey diagram in JavaScript using Highcharts.js. I am currently trying to implement the same diagram in R using Highcharter (a wrapper of Highcharts for R). My problem is that I am not able to set sankey.series.nodes like I did…
0
votes
1 answer

highcharter - categories on the y axis

I am stumped! I am trying to do a simple scatter plot in highcharter with the categories on the y-axis and I can't figure it out. Below is my code: library(highcharter) LoginTrackerAggHourly <- aggregate(LoginTracker$X1, by =…
Kevin
  • 1,974
  • 1
  • 19
  • 51
0
votes
1 answer

hw_grid widget function not working in flexdashboard

Because of this issue want to put 6 highcharter graphs in one row like do they over here. It seems to work fine outside of flexdashboard data(diamonds, package = "ggplot2") diamonds <- diamonds[-6] map(names(diamonds), function(x){ diamonds[[x]]…
Tim_Utrecht
  • 1,459
  • 6
  • 24
  • 44
0
votes
0 answers

Adding a timeline style graphic using r-highcharter

I have hydro-graphs that I am creating using highcharter library in R. I want to add another variable(or adjust value with any existing variable) to this graph as a timeline (as shown in the image). The value table for this variable is a time…
equastrian91
  • 53
  • 1
  • 1
  • 4
0
votes
1 answer

R Highcharter tickmarkPlacement with hchart() function

Looking at the documentation, tickmarkPlacement, seems to allow the moving of ticks from 'on' to 'between' but with the hchart function I can't seem to get it to work. Trying to change from this style to this. library(highcharter) # Create sample…
tonyk
  • 348
  • 5
  • 22
0
votes
0 answers

highcharter linkedto legend not working

I've tried to recreate this example: http://jsfiddle.net/6gw5P/239/ highchart() %>% hc_chart(type=list('bar')) %>% hc_xAxis(list(categories=c('Apples', 'Oranges', 'Pears', 'Grapes', 'Bananas'))) %>% hc_plotOptions(bar=list(stacking =…
Tim_Utrecht
  • 1,459
  • 6
  • 24
  • 44
0
votes
1 answer

Custom DashStyle and colours with hchart function in R

Is there a way to associate dashStyle by group in the highcharter package. I would like the line with 'forecast' as type to be dashed. library(highcharter) # Create sample data frame sample_df <- data_frame(sku = c(rep("12",40)), …
tonyk
  • 348
  • 5
  • 22
0
votes
1 answer

Hyperlink bar chart in Highcharter

I'm having trouble recreating this answer in R with Highcharter to make the bars in a bar chart into clickable URLs. Here is the Javascript code from the answer. Highcharter has a vignette about recreating Javascript that I tried to follow. Here's…
Andrew Brēza
  • 7,705
  • 3
  • 34
  • 40
0
votes
0 answers

Highcharter hc_add_series_map function : merging regions and displaying labels

I would like to merge regions in a map and not display intra borders. I also would like to always display the names of the newly grouped regions. Is hc_add_series_map the right instruction for doing so ? Thanks in advance for your help (I do not use…
MaRius
  • 21
  • 4
0
votes
1 answer

Different Depth In 3D BarChart in Highcharts

I know that I can set depth of all bars in Highcharts using depth property in column property of plotOptions likes the following code: plotOptions: { column : { depth: 30 } } Or # in R hc_plotOptions(column = list( depth = 30 )…
OmG
  • 18,337
  • 10
  • 57
  • 90
0
votes
1 answer

R highcharter legend based on point color

I have codes and plot below tmp <- data.frame(x = 1:5, y = rnorm(5), color = c("#00FF00", "#FF0000", "#00FF00", "#ffa500", "#FF0000")) highchart() %>% hc_add_series(data= tmp, hcaes(x = x, y = y, color = color), type = "line") For the legend,…
Z.Lu
  • 67
  • 10