Learn R Programming

⚠️There's a newer version (0.9.4) of this package.Take me there.

highcharter

R wrapper for highcharts. highcharter bring all the highcharts capabilites so it is recommended know how highcharts API works to take a major advantage of this package. You can look some demos charts and explore chart types, syntax and all what highcharts can do.

Why highcharter?

  • Various chart type with the same style:

scatters, bubble, line, time series, heatmaps, treemap, bar charts, networks.

With hchart(x) you can chart: data.frames, numeric, histogram, character, density, factors, ts, mts, xts, stl, ohlc, acf, forecast, mforecast, ets, igraph, dist, dendrogram, phylo, survfit classes.

  • Support Highstock charts. You can create a candlestick charts in 2 lines of code. Support xts objects from the quantmod package.
  • Support Highmaps charts. It's easy to create choropleths or add information in geojson format.
  • Piping styling.
  • Themes: you configurate your

chart in multiples ways. There are implemented themes like economist, financial times, google, 538 among others.

fontawesome, url-pattern, annotations.

  • <3 to Highcharts.com

Resources

Licence

The libraries are available under different licenses depending on whether it is intended for commercial/government use, or for a personal or non-profit project.

Highcharts (http://highcharts.com) is a Highsoft product which is not free for commercial and Governmental use.

Code of Conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Copy Link

Version

Install

install.packages('highcharter')

Monthly Downloads

163,122

Version

0.4.0

License

MIT + file LICENSE

Maintainer

Joshua Kunst

Last Published

July 14th, 2016

Functions in highcharter (0.4.0)

datetime_to_timestamp

Date to Timesstamps
colorize

Create vector of color from vector
create_yaxis

Creating multiples yAxis for add a highcharts
export_hc

Function to export js file the configuration options
colorize_vector

Create vector of color from vector
color_stops

Function to create stops argument in hc_colorAxis
dash_styles

Get dash styles
fa_icon

Helpers functions to get FontAwesome icons code
citytemp

City temperatures from a year
color_classes

Function to create dataClasses argument in hc_colorAxis
hcdensity

Shorcut to create a density plot
hc_add_series_df

Shorcut for tidy data frame a la ggplot2/qplot
favorite_bars

Marshall's Favorite Bars
hc_add_series_list

Shorcut for data series from a list of data series
favorite_pies

Marshall's Favorite Pies
hc_add_series_map

Shorcut for create map
hcboxplot

Function to make a boxplot
get_hc_series_from_df

Auxiliar function to get series and options from tidy frame for hchart.data.frame
hc_add_series_flags

Shorcut for add flags to highstock chart
hc_add_series_labels_values

Shorcut for add series for pie, bar and column charts
hc_chart

Adding chart options to highchart objects
hc_annotations

Adding annotations to highcharts objects
hc_add_series_xts

Shorcut for create highstock chart from xts object
hc_add_series_times_values

Shorcut for create/add time series from times and values
hc_add_series_ohlc

Shorcut for create candlestick charts
hc_add_series_scatter

Shorcut for create scatter plots
hc_add_series_ts

Shorcut for create/add time series charts from a ts object
hc_add_series_treemap

Shorcut for create treemaps
hc_add_series

Adding and removing series from highchart objects
hc_add_theme

Add themes to a highchart object
hc_legend

Adding legend options to highchart objects
hc_exporting

Exporting options for higcharts objects
hc_drilldown

Drilldown options for higcharts objects
hc_elementId

Setting elementId
hc_navigator

Adding navigator options to highstock charts
hc_defs

Adding patterns to be used in highcharts series
hc_credits

Adding credits options to highchart objects
hc_theme_handdrawn

Hand Drawn theme for highcharts
hc_pane

Adding annotations to highcharts objects
hc_theme_merge

Merge themes
hc_mapNavigation

Adding mapNavigation options to highmaps charts
hc_series

Series options from highchart objects
hc_motion

Adding options to Motion options to highcharts objects
hc_theme_google

Google theme for highcharts
hc_theme_538

Fivethirtyeight theme for highcharts
hc_theme_smpl

Simple Theme
hc_theme_sparkline

Sparkline theme for highcharts
hc_theme_gridlight

Grid Light theme for highchart
hcwaffle

Function to create waffle charts
hex_to_rgba

Transform colors from hexadeximal format to rgba hc notation
higcharter

An htmlwidget interface to the Highcharts javascript chart library
highcarter-exports

highcharter exported operators and S3 methods
hc_rangeSelector

Adding scrollbar options to highstock charts
hc_plotOptions

Adding plot options to highchart objects
hc_theme_ft

Financial Times theme for highcharts
hcbar

Function to make a bar chart
hc_theme_flat

Base16 Insipred theme
highchart2

Create a Highcharts chart widget
highchart

Create a Highcharts chart widget
hchart

Create a highchart object from a particular data type
tooltip_table

Helper for make table in tooltips
unemployment

US Counties unemployment rate
hw_grid

Lays out highchart widgets into a "grid", similar to grid.arrange from gridExtra
list_parse

Convert an object to list with identical structure
hc_theme_sandsignika

Sand Signika theme for highcharts
hc_scrollbar

Adding scrollbar options to highstock objects
hc_rm_series

Removing series to highchart objects
hc_theme_null

Null theme for highcharts
hc_tooltip

Adding tooltip options to highchart objects
hc_xAxis

Adding axis options to highchart objects
hcpie

Function to make a pie chart
hcts

Function to make time or line charts
renderHighchart

Widget render function for use in Shiny
str_to_id

String to 'id' format
hchist

Function to make an histogram
hchart.survfit

Plot survival curves using Highcharts
highcharts_demo

Chart a demo for testing themes
highchartOutput

Widget output function for use in Shiny
worldgeojson

World map in Geojson format (list)
hc_colorAxis

Adding Color Axis options to highchart objects
hc_colors

Adding color options to highchart objects
hc_theme_chalk

Chalk theme for highcharts
hc_theme_darkunica

Dark Unica theme for highcharts
hc_theme_db

Dotabuff theme for highcharts
hc_theme_economist

Economist theme for highcharts
hc_title

Adding title and subtitle options to highchart objects
hc_theme

Highchart theme constructor
uscountygeojson

US Counties map in Geojson format (list)
usgeojson

US States map in Geojson format (list)