A wrapper for the 'Highcharts' library including shortcut functions to plot R objects. 'Highcharts' < http://www.highcharts.com/> is a charting library offering numerous chart types with a simple configuration syntax.
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.
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.xts objects from the quantmod package.CRAN version:
install.packages("highcharter")Development version:
devtools::install_github("jbkunst/highcharter") source("https://install-github.me/jbkunst/highcharter")Highcharter has a dependency on Highcharts, a commercial JavaScript charting library. Highcharts offers both a commercial license as well as a free non-commercial license. Please review the licensing options and terms before using this software, as the highcharter license neither provides nor implies a license for Highcharts.
Highcharts (http://highcharts.com) is a Highsoft product which is not free for commercial and Governmental use.
Highsoft provide a discount to the highcharter users. It is a 50% discount on our Single Developer license. More details in http://announcements.highcharts.com/foss/.
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.
highchart function don't load plugins as default. Now there is hc_add_plugin to load as requiered (#258).hc_add_depency_fa function helper to load as required (#257).divBackgroundImage works with themes (#278).hctreemap2 (#110).hc_responsive to configure responsive features(#305).tooltip_chart to create minicharts in tooltips (#343).hc_boost function to configure boost module options module/boost.js (#382).hchart_ which uses standar evaluation (#170).hcaes_string (#248).hcparcord. Inspired and copy from http://rpubs.com/hadley/97970 (#167).hc_add_series.lm and hc_add_series.loess (#271).hc_theme_ggplot2 to honoring one of the best packages (#260).encoding = "UTF-8" in download_map_data to read characters properly (#359).Error in mutate_impl in hcboxplot (#323).export_hc(..., as = "is") does not format javascript correctly (#398).maxSize uses the default highchartsJS value (#272).hchart.data.frame and hc_add_series.data.frame forces to be data frame to avoid problems
with the data.table class (#263).hc_add_series_df when the data frame comes with a column named "series" (#241).hchart don't override/change default highchartsJS options (#302).list.parse functions (#259).hc_exported was reworked (#247).hchart.data.frame now gains a new mapping argument using hcaes function to
define the aesthetics. After hchart(df, "line", x = xvar, yvar, group = othervar)
now: hchart(df, "line", hcaes(x = xvar, yvar, color = othervar), ...) and therefore
... are used like other highcharter functions for give highcharts arguments
to the series. See charting data frames vignette.hc_add_series is a generic generic function (#213).hcmap function to chart maps (#218). And use remote sources (#215).debug as an option instead of argument. Example options(highcharter.debug = TRUE) (#216).is.highchart according with Best practices in http://adv-r.had.co.nz/S3.html (#179).theme_firefox (#191), theme_tufte (#190). hc_theme_elementary (#184).hchart.data.frame doesn't override the color if the colum var have a hexadecimal color
format (#148).hc_size function to change width and height (#146).hcwaffle to hciconarray. The hcwaffle do not make a waffle! (#242).viridisLite moved from imports to suggests (#236).mapbubble (#209).hc_add_series_map don't remove additional data (#188) (#189).hc_annotations accept multiple arguments (#171).hchart.data.frame allow change stops in hc_colorAxis (#147).elementId to createWidget. Add the hc_elementId() to modify
this paramter after the creation of the highchart object (#140).hchart support data frames a la ggplot2::qplot (#136).hchart support Principal Components objects princomp and prcomp
charting a biplot. Thanks to @nuno-agostinho (#128 #123).hchartsupport matrix objects charting a heatmap (hchart.matrix) (#86).hchart support phylo objects (#64).hcboxplot, hcwaffle, hcbar, hcpie, hchist, hcdensity,
hcts function to get quick some style of charts. Thanks @nuo-agostinho fo
hc_add_series_density implementation (#99 #70).hc_add_series_bwp to chart box and whisker plots (#81).hc_add_series_list to add list of series (#68).hc_add_series_df_old (!!) shortcut of
hc_add_series(data = list.parse3(df)) (#76).hc_theme_sparkline (#132).dataClasses and stops arguments in
hc_colorAxis (#120).list function (#119 #188 #65 #71).colorize function so colorize_vector will be deprecate
in the next release (#75).hc_add_series_df similar to hchart.data.frame (#114 #115).hc_annotations (#103).cross as marker symbol (#96).hc_yAxis_multiples to add automatically arbitraty number of y axis
(#90 #79).hc_grid to create a grid of highchart objects, inspired from
mjs_grid (#67 #66).highcharter.global, highcharter.lang and
highcharter.chart instead of having all in one big list (#77 #52).list.parse2 and list.parse3 deperacted and renaming to list_parse2
and list_parse3.hc_add_series_scatter is more flexible and general (#54 #58).hc_get_fonts now handle fonts names with multiple spaces (#107).hchart.character now display empty levels (#101).datetime_to_timestampdon't break in certain cases (#97).hchart (#61)export_hc. Take a highchart object and
write a js file with the options (#60).tooltip_table. Helper to create table based
in tags from htmltoolspackage #59).hc_colors. Function for the colors option in
highcharts api (#57).hc_themes_... functions gains a ... parameter to
add styles to the current invoked theme (#53).\dontrun{}) to avoid quantmod package example
in flags functionhighchart2() (#43).
This include highcharts.js, exporting.js and boost-module.js.hchart function. Generic function to chart acf, forecast,
ts, stl, xts, ohcl objects (#2) (#27)