Skip to content

Commit

Permalink
organization chart
Browse files Browse the repository at this point in the history
  • Loading branch information
Mauricio Vargas committed Oct 26, 2019
1 parent 408870a commit b573758
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
10 changes: 10 additions & 0 deletions dev/stackoverflow/58540244.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
library(highcharter)

highchart() %>%
hc_chart(type = 'organization') %>%
hc_add_series(
data = list(
list(from = 'Brazil', to = 'Portugal', weight = 5),
list(from = 'Brazil', to = 'Spain', weight = 2),
list(from = 'Poland', to = 'England', weight = 2))
)
7 changes: 4 additions & 3 deletions inst/htmlwidgets/highchart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,13 @@ dependencies:
- modules/heatmap.js
- modules/treemap.js
- modules/sankey.js
- modules/organization.js
- modules/solid-gauge.js
- modules/streamgraph.js
- modules/sunburst.js
- modules/vector.js
- modules/wordcloud.js
- modules/xrange.js
- modules/xrange.js
- modules/tilemap.js
- modules/venn.js
- modules/gantt.js
Expand All @@ -46,7 +47,7 @@ dependencies:
# - modules/grid-axis.js
# - modules/broken-axis.js
# - modules/series-label.js
# - modules/pareto.js
# - modules/pareto.js
# - modules/accessibility.js
# - modules/boost-canvas.js
# - modules/histogram-bellcurve.js
Expand All @@ -73,7 +74,7 @@ dependencies:
- plugins/grouped-categories.js
- plugins/motion.js
- plugins/multicolor_series.js
# - plugins/highcharts-regression.js
# - plugins/highcharts-regression.js
# - plugins/pattern-fill-v2.js
# - plugins/tooltip-delay.js
# - plugins/annotations.js
Expand Down

0 comments on commit b573758

Please sign in to comment.