highcharter (development version)
Bundled Highcharts JS: 12.6.2.
hc_connect()links tooltips, crosshairs, X zoom and legend visibility across widgets in HTML documents, including separate Quarto chunks.Cluster dendrograms use a native treegraph with rectangular branches at the observed merge heights. Set
link$typeto change the branch shape.
New features
-
hchart()acceptstype = "treegraph"for cluster trees to use a native layout by tree depth, andtype = "networkgraph"for igraph networks to arrange nodes in the browser. Existing layouts remain the defaults.
Upgrading from CRAN 0.9.5
- CRAN 0.9.5 shipped Highcharts JS 9.3.1. Development on GitHub moved to Highcharts JS 12.6.0 in highcharter 0.12.6.1 and now bundles 12.6.2.
- highcharter now requires R 4.1 or later. New code can use the base R pipe
|>. Packages that import%>%from highcharter should import it from magrittr instead. - Charts, Stock, Maps and Gantt share one JavaScript bundle with accessibility enabled. Use
highchartstock()for Stock Tools and technical indicators. -
hchart()now draws fitted decision trees, random forest error curves, glmnet cross-validation intervals, cluster dendrograms and phylogenies. - The migration guide covers retired chart shortcuts, widget constructors, Shiny bindings, theme presets and axis helpers.
Breaking changes
With an empty mapping,
hchart()andhcpxy_set_data()now pass a data frame’scolorcolumn directly to Highcharts as the point color, matchinghc_add_series(). In tooltips for these points, use{point.color}in place of{point.colorv}. With a mapping such ashcaes(x, y), an unmappedcolorcolumn remains available as{point.colorv}.Treemaps and sunbursts use one color from the chart theme per first-level group. Children inherit their parent’s color.
data_to_hierarchical()now omits the node’scolorfield by default. To fix colors explicitly, pass a vector to itscolorsargument. This replaces thehighcharter.color_paletteoption.Removed the R options
highcharter.verbose,highcharter.debugandhighcharter.download_map_data. For indented widget JSON, useoptions(htmlwidgets.TOJSON_ARGS = list(pretty = TRUE)). For maps outside the package,hcmap()downloads in R by default. Passmap_source = "cdn"to load the map in the browser.world_incomereplacesgni2014with Atlas-method GNI per capita (current US dollars) and population for 2024 and 2025.Removed the bundled geometries
usgeojson,worldgeojsonanduscountygeojson. Theirhcmap()keys are"us","custom/world-robinson-lowres"and"countries/us/us-all-all", respectively. Theunemploymentdataset was also removed.city_weathersupplies daily temperatures for four cities in 2025. Averagetemp_meanby city and month to migrate examples usingcitytemporcitytemp_long. For a daily range, select one city and usetemp_minandtemp_max. This replaces theweathersample from San Francisco in 2014. The historicalglobaltempandmountains_panoramadatasets have been retired. The showcase definesfavorite_barsandfavorite_pieslocally, keeps the star sample with the article, and uses annual MCV1 coverage in place of the historicalvaccinesincidence table.Widgets now use
yyjsonrto write JSON. Removeoptions(highcharter.rjson = TRUE)from application code. Missing observations stay in their original positions and reach Highcharts asnull. A missing optional field also preserves its point. For customhtmlwidgets.TOJSON_ARGS, the widget writer acceptsprettyanddigits.Removed
hcparcords(). Pass your measurement columns todata_to_parallel_coordinates(), enableparallelCoordinates = TRUEinhc_chart()and add the result withhc_add_series_list(). Usehc_xAxis(categories = names(measurements))for the axis labels. Each axis now displays its original units. Supply series names or colors explicitly, one per observation. See the migration example.is.highchart()recognizes thehighchartandhighchartstockwidget classes. The legacyhighchart2class is no longer recognized on its own. Tibbles use thedata.framemethod forhchart().New charts use the same English preset as
hc_set_language("en"). In English,12,345.67uses a comma for thousands. To keep a space, usehc_set_language("en", thousandsSep = " "). Drilldown navigation uses the Highcharts breadcrumb labels.Removed the
google_fontsargument fromhighchart()andhighchartstock()and thehighcharter.google_fontsoption. Bundled families work offline by name. Other plain family names use fonts supplied by the page or device. To include an external font with the widget, setchart.style.fontFamilyinhc_theme()tosass::font_google("Noto Sans"). Uselocal = FALSEfor a link to Google Fonts. Seevignette("themes", package = "highcharter").Give each Highcharts option in
...a name, for examplehc_title(hc, text = "Sales"). Collections still accept positional objects, as inhc_yAxis(hc, list(id = "sales"), list(id = "margin")).Renamed
df_to_annotations_labels()todata_to_annotation_labels(). Pass the table asdataand usexAxisandyAxisto select the axes for the labels.Shiny event helpers now include the event scope in the input name. For an output named
sales, migrateinput$sales_mouseOvertoinput$sales_point_mouseOverorinput$sales_series_mouseOver, according to the helper used. Read point clicks atinput$sales_point_click; Shiny registers them automatically.Removed
hc_rm_series(). Select the series to include when building a chart. In Shiny, usehcpxy_remove_series(proxy, id = ...)to remove a series by its ID after the chart is rendered.hc_xAxis(),hc_yAxis()andhc_zAxis()now accept one or several axis definitions. Replace the three*_multiples()helpers with the corresponding axis function. Replace successivehc_add_yAxis()calls with a singlehc_yAxis()call. Usecreate_axis()to calculate relative panel heights.Use
highchart()in place ofhighchartzero(). In Shiny, replacehighchartOutputZ()andrenderHighchartZ()withhighchartOutput()andrenderHighchart()together. The regular widget applies the package options and uses the knitr figure dimensions. Setwidth = "100%"to fill the available width in R Markdown.Use
hcaes_string()in place of the removed aliashcaes_().hchart()andhc_add_series()now draw a separate line for each ordinaryxtscolumn. One instrument with Open, High, Low and Close produces candlesticks by default. For mixed OHLC instruments, select the columns for one instrument per call.The
fastargument for data-frame series has been removed. Omit it inhchart()andhc_add_series(). Their point data stay editable as R lists until the widget is serialized.This release replaces the per-preset constructors with one public constructor. The collection keeps
tufteas its single Tufte preset. The theme vignette shows how to recreate the formertufte2bar style. This release refreshesftandeconomistand addscarbon,cloudscapeandbslib. Cloudscape uses the AWS chart palette and Open Sans, with circular markers and gridlines on both axes. The bslib preset inherits Bootstrap colors and the base font.
New features
hchart()draws the counterfactual prediction, pointwise effect and cumulative effect from aCausalImpactfit with posterior intervals and a marker at the start of the intervention (#274).color_stops()accepts optionalpositionsto place each supplied color at an exact point on the gradient.hchart(ecdf(x))draws an empirical cumulative distribution as a step line.hchart()draws random forest error histories, cross-validation points and standard error bars for glmnet, and individual XGBoost trees. Cluster dendrograms preserve merge heights, and radial or rectangular phylogenies preserve branch lengths. Random forests compare multiple error curves in a shared tooltip table. Crosshairs on glmnet charts let you compare error bars at the same metric value. Model packages are optional.hchart()draws classification and regression trees frompartykitandrpart, and single C5.0 classification trees. Node area shows the number of observations. Donuts or bars show class composition and a color axis shows the mean response for regression. Light gray branches show the split condition in dark text with a white outline. Tree packages are optional.hchart()draws one-way tables as column charts and two-way tables as heatmaps, preserving category order, dimension labels and zero counts.hc_gridAxis()arranges pairs of axes in a rectangular grid.hchart()uses it to draw multivariate ACF, PACF and autocovariance objects with one panel per series pair and a common vertical scale.hchart()now acceptstype = "tilemap"andtype = "contour"for numeric matrices. The default is"heatmap".hchart()andhc_add_series()draw each geometry family in a mixedgeojsonioFeatureCollection, with polygons below lines and points. Supplytypeto draw just one family. Bothgeo_jsonandgeo_listare supported.Charts, Stock, Maps and Gantt share one JavaScript bundle. Accessibility is included by default, including keyboard navigation (#755).
The bundle now includes the official chart types and common feature modules. A new
highchartstock()widget adds Stock Tools, advanced annotations and technical indicators. Third-party Motion, Regression, Grouped Categories and Draggable Legend plugins remain optional.hc_add_series_list()draws a single numeric value as one point, matchinghc_add_series(). Histograms use the actual bin limits for their labels and draw unequal-width bins to scale.Ten new option wrappers cover accessibility, map views, time zones, data imports, empty charts, SVG definitions, sonification, navigation, Stock Tools and Gantt connectors. Each has a runnable example in its help page.
hc_set_language()sets the language for new charts in the current R process. Chart controls are available in English (en, the default), Spanish (es), Portuguese (pt), French (fr), Norwegian Bokmål (nb), Japanese (ja), Korean (ko) and Simplified Chinese (zh-CN). Regional tags select the date and number formats used by the browser.hc_language()returns the corresponding options list.Theme presets now use
hc_theme("ft")and live in individual YAML files.hc_themes()lists the collection.hc_set_theme()selects a preset or a custom theme for subsequent charts. Seevignette("themes", package = "highcharter").hcpxy_set_extremes()controls an x-axis range from Shiny.hcpxy_set_data()can now target a series by ID, which is safer when Stock indicators change series order.hchart()plots the original and adjusted series from a seasonal X-13 fit and labels its outliers.hchart(stats::decompose(x))displays the observed series, seasonality, trend and remainder in four panels. Series with frequencies outside the annual, quarterly and monthly calendars use their numeric time index.X-range series accept
DateandPOSIXtcolumns for both interval ends (xandx2).
Changes
Data-frame charts and empirical distributions use the Highcharts legend default. A single standalone line, column or scatter series now appears in the legend. Supply
nameto label it orshowInLegend = FALSEto hide it.For matrices without row or column names,
hchart()fits the axes to the grid in heatmap, tilemap and contour charts. The axes can still expand when adding another series.Passing an
lmorloessobject tohc_add_series()now warns and still draws the fitted curve and its band (plus or minus two standard errors). Both methods will remain available throughout the first release with this warning. To migrate, callpredict()and pass a data frame tohc_add_series(), as in the First steps example.Widgets attach the Latin WOFF2 files for the bundled families selected by their theme and chart options. Charts using system fonts need no font files.
hchart()shows ACF and PACF as lollipops at their reported lags. Multivariate time series and decompositions use shared table tooltips.Histograms created by
hchart()use square corners by default.The hcrt, carbon and smpl themes use regular-weight titles, labels and tooltip values.
The sparkline tooltip shows the point value in one outlined line and stays inside the chart at either edge.
The export menu defaults to three dots. The three Highcharts theme adaptations keep their original menu icon. Sand Signika tiles its sand texture at native size.
hcmap("jp")reads the packaged map of Japan by country code.hc_maps()lists the 202 country maps and five custom maps available offline.get_data_from_map()reads join properties from GeoJSON and TopoJSON. Other collection paths retain CDN support. The income example usesworld_income.ACF and PACF ticks stay within the correlation range, with room for endpoint markers.
Forecast charts distinguish observations, forecasts and prediction intervals in the legend and shared tooltip. The tooltip shows both interval limits. Custom series names are supported.
The hcrt and smpl presets use circular markers consistently across series.
The classic Highcharts themes use the 12.6.0 palettes and legend backgrounds. Dark presets have more legible axis labels. Monokai now uses four distinct series colors. The Bloom preset places its value axis on the right, and sparkline presets hide their legends by default.
The chalk, handdrawn and sandsignika presets embed their original backgrounds for offline use. The Carbon preset draws horizontal and vertical gridlines and uses circular point markers across series.
highcharter uses base R for argument validation, model predictions, row conversion and option merging. Charts of
lmandloessfits now include the fitted curve and its two-standard-error band.xtsis optional. Charting OHLC prices also usesquantmod.download_map_data()uses R’s configured download method by default.Attaching highcharter in an interactive session points to
?highcharterfor the licensing terms of the R package and the bundled Highcharts library.
Bug fixes
hchart.survfit()withfun = "logpct"uses a logarithmic percentage y-axis and maps non-positive values toNA(#854, @chenyangsu).Spanish, Portuguese and Japanese presets translate the sound playback and MIDI download menu items.
Motion playback controls use the chart theme’s base color and font.
Native networkgraph tooltips display vertex names through
nodeFormat.Cluster dendrogram labels contrast with the chart background instead of the invisible node markers, keeping leaf names readable on light themes.
hchart()now uses the levels of a factor mapped toxto order the x-axis categories, including when the data are split into series (#373).Table tooltips show whole counts without decimal places. Matrix heatmaps, tilemaps and contours honor
hc_tooltip(valueDecimals = ...).hcmap()andhc_add_series_map()use the column named byvalueeven when the input already contains a different column calledvalue.Joined maps use the data range for their color scale. Adding a map layer with
hc_add_series_map()preserves any color axes already configured. Usehc_colorAxis(min = 0)for a scale that starts at zero.hchart.survfit()uses a logarithmic probability axis forfun = "log"and a logarithmic time axis forfun = "cloglog". Curves and confidence bands have gaps where their values fall outside the scale’s domain.hchart()now passes series options to matrix, distance and ACF plots. ETS component charts also accept series options and layout arguments such asseparate = FALSE.Adding a forecast, linear model or loess fit preserves R’s random-number state when linking the fitted series to its intervals.
color_stops(1)places a single color at zero. Supply a positive integer for the number of stops.export_hc()appends.jsto filenames such assalesjsand preserves the JavaScript extensions.js,.mjsand.cjs.Reusing one
tooltip_chart()formatter across widgets now renders each mini chart in its own tooltip. The helper preservesJS()callbacks inhc_optsand accepts data column names containing spaces or hyphens.hchart.survfit()draws a separate curve for each Cox prediction profile within each stratum. Confidence bands follow the corresponding curve, and censoring markers include times with multiple censored observations. Censoring markers now use their curve’s color by default. UsemarkerColor = "black"to draw all markers in black. This method requires survival 3.6-5 or later.Boxplots from
data_to_boxplot()place outliers at the same x coordinate as their box when categories differ between series. Hiding a single boxplot series in the legend now also hides its outliers.Treemap and sunburst nodes from
data_to_hierarchical()now keep the correct parent when labels on different paths produce the same ID.Stock Tools now loads its indicators and embeds its toolbar icons in self-contained HTML widgets and vignettes.
Stock Tools can add technical indicators after another widget renders or re-renders on the same page (#595).
Data-frame heatmaps position dates and times on either axis and accept omitted coordinates. Date cells span one day. Date-time cells use the shortest observed interval on their axis, or one second for a single time. Set
colsizeorrowsizeto choose a different interval in milliseconds.Multivariate forecasts plot the predictions and intervals for each series on shared or separate axes. The legend toggles each confidence level across all panels.
Shiny proxies now send zero messages when there are no series to add, remove or update, or no points to update.
Forecast charts use the same time index for predictions and their intervals. Series with frequencies other than 1, 4 or 12 use a numeric axis.
data_to_sankey()counts transitions between consecutive columns, skips links with missing endpoints and assigns unique link IDs. Numeric binning handles missing values and tied quantiles. Inputs with fewer than two columns return an empty link table.Axes with one category now display its label on the axis and in tooltips, including when the category is numeric (#395, #438).
hchart(data, type = "gantt")selects the native Gantt constructor for data frames, preserving task rows, date axes and dependency links.Supplying a new
ruleslist tohc_responsive()replaces the previous rules.Circle-only presets preserve rectangular heatmap cells. The hcrt theme uses IBM Plex Sans for credits. French, Norwegian Bokmål and Simplified Chinese use official Highcharts language packs. Japanese and Korean use AI-generated translations.
hcmap()accepts an already loaded GeoJSON list without downloading map data. Network charts preserve the current theme while hiding their coordinate axes.With reflow enabled, charts fill the available widget width and height in the Viewer and standalone browser, including after resizing. Percentage-height containers no longer leave the chart at Highcharts’ 400-pixel fallback height.
The Motion plugin uses native array iteration with the bundled Highcharts.
PCA charts now scale each component separately and label axes with the percentage of variance explained. Points are shown by default. Use
loadings = TRUEfor variable arrows andlabel = TRUEfor observation names.hcaes()andhcaes_string()evaluate expressions in the environment where the mapping was created. Computed axes show the expression as their title. Date and date-time mappings use millisecond timestamps. Grouped data-frame charts build point lists using row indices.Data-frame charts can inherit the chart type or receive empty data. Point colors retain supplied hex values alongside missing values, and factor colors handle unused levels.
Heatmaps of
distobjects now respect the matrix display optionslabelandshowInLegend.Matrix heatmaps now use matrix positions directly, including when labels repeat or cells contain missing values. highcharter no longer requires tidyr.
Migration guide
The first column includes calls exported by CRAN 0.9.5. Some of these were already deprecated in that version.
| Previous call | Current call |
|---|---|
hc_add_theme(hc, hc_thm = t) |
hc_add_theme(hc, theme = t). Use a preset name or an object from hc_theme() here, in either widget constructor, or in hc_set_theme(). |
list_parse(df = d), list_parse2(d)
|
list_parse(data = d) keeps column names. Use list_parse(d, keep_names = FALSE) for unnamed rows. |
hcpxy_add_point(p, id = s, point = pt) |
hcpxy_add_point(p, series_id = s, point = pt) |
hcpxy_update_point(p, id = s, id_point = i, ...) |
hcpxy_update_point(p, series_id = s, point_index = i, ...). Indices start at zero. |
hcpxy_remove_point(p, id = s, i = i) |
hcpxy_remove_point(p, series_id = s, point_index = i) |
tooltip_chart(accesor = "detail") |
tooltip_chart(data_field = "detail"). Supply the point field containing the tooltip chart data. |
hc_add_series_map(hc, map, df = d, ...) |
hc_add_series_map(hc, map, data = d, ...) |
hc_add_series_list(hc, x = s), hc_add_annotations(hc, x = a)
|
hc_add_series_list(hc, series = s), hc_add_annotations(hc, annotations = a)
|
data_to_boxplot(d, v, group_var = g, group_var2 = s) |
data_to_boxplot(d, v, group = g, series = s). Boxes are calculated per group within each series. |
hcmap(map, download_map_data = TRUE/FALSE) |
Use map_source = "r" (default) or map_source = "cdn", respectively. Packaged maps load locally in either mode. |
%>% from highcharter |
Use the base R pipe, or attach magrittr for existing scripts. In a package, add magrittr to Imports and change the namespace import to importFrom(magrittr, "%>%"). |
dt_tstp(x), create_yaxis(...)
|
Use datetime_to_timestamp(x) and create_axis(...), respectively. |
df_to_annotations_labels(df = notes) |
data_to_annotation_labels(data = notes) |
hc_xAxis_multiples(), hc_yAxis_multiples(), hc_zAxis_multiples()
|
Pass the same list of axes to hc_xAxis(), hc_yAxis() or hc_zAxis(). For a regular grid of panels, use hc_gridAxis(). |
hc_add_dependency("modules/...") |
Omit the call for built-in modules. Use highchartstock() for Stock Tools and technical indicators. Pass an explicit "plugins/..." path for packaged community plugins. |
Repeated hc_add_yAxis()
|
Collect the axes in order, then call hc_yAxis(axes). |
hc_theme_google() and other preset constructors |
Use hc_theme("google"), or hc_set_theme("google") for a session default. |
hcaes_() |
Use hcaes_string(). |
highchart2(), highchartzero()
|
Use highchart(). |
highchartOutput2(), highchartOutputZ()
|
Use highchartOutput() in the Shiny UI. |
renderHighchart2(), renderHighchartZ()
|
Use renderHighchart() on the Shiny server. |
hcboxplot() |
Create the series with data_to_boxplot() and add them with hc_add_series_list(). Set add_outliers = TRUE to preserve the old default. See the example below. |
hctreemap(), hctreemap2()
|
Start from the original data frame, build nodes with data_to_hierarchical(), then call hchart(nodes, type = "treemap"). Hierarchy example
|
hcspark(x) |
Add x with hc_add_series(data = x) and apply hc_add_theme(hc_theme("sparkline")). |
hciconarray() |
For counts drawn as pictograms, use an item series. Pictogram example |
hc_add_dependency_fa(), fa_icon(), fa_icon_mark()
|
Use fontawesome::fa() for SVG icons. For chart markers, pass the SVG as an image URL. Marker example
|
hw_grid(chart1, chart2, ncol = 2) |
Place separate widgets side by side with bslib::layout_column_wrap(chart1, chart2, width = 1/2). Use hc_gridAxis() for panels within a single chart. |
fast = TRUE in a data-frame chart |
Omit the argument. Point data are R lists. |
This example replaces hcboxplot(iris$Petal.Length, iris$Species) and keeps the outliers for each species.
boxes <- data_to_boxplot(iris, Petal.Length, Species, add_outliers = TRUE)
highchart() |>
hc_xAxis(categories = levels(iris$Species)) |>
hc_add_series_list(boxes)The reverse-dependency review found calls to the removed theme constructors in highdir, RKorAPClient and UnalR. Their integrations need the replacements above. AovBay also references the previously removed hcboxplot() helper. Its hc_yAxis_multiples() call should use hc_yAxis().
Contributor acknowledgements
A special thank you to everyone who helped build highcharter in its early years, before AI coding assistants were commonplace. Dean shared his work on boxplots, Adline made it possible to plot a matrix as a heatmap, and Paul helped Shiny users update a chart without rebuilding it. Those features grew out of people taking the time to share an example, write a patch or work through a bug together.
I’m grateful to each of you who did that early work and to everyone who has kept the package working since. Thank you for your time and generosity.
Joshua Kunst
| Contributor | Contribution | Project history |
|---|---|---|
| Nuno Agostinho | Survival curves, density plots, scatter series and map data download fixes. | PR #109, scatter example, PR #844 |
| Danton Noriega | Character-based aesthetic mappings for programmatic use. | PR #249 |
| Charlie Joey Hadley | Support for multiple event types in hc_add_event_point(). |
implementation |
| Eduardo Flores | The first tidy-data helper for adding series. | PR #114 |
| Dean Kilfoyle | The original boxplot helper and suggestions for its implementation. | issue #81 |
| Adline Dsilva | The original matrix heatmap implementation. | implementation |
| Kamil Slowikowski | JavaScript serialization fixes for chart export and the JS() re-export. |
export fix, re-export |
| Christian Minich | Tidy evaluation and quasiquotation in aesthetic mappings. | PR #423 |
| Jonathan Armond | Preserving unmapped columns in mutate_mapping(). |
fix |
| David Breuer | The quiet option for map downloads. |
PR #450 |
| Mauricio Vargas | Package testing, coverage and GitHub Actions. | coverage, CI |
| Michael Yan | The example that motivated the treemap and sunburst data helper. | attribution |
| Bart Oortwijn | The optional rjson serializer, hc_add_yAxis() and support on GitHub issues. |
serialization, axis helper |
| Paul Campbell | The Shiny proxies for updating series data and redrawing charts. | proxy methods |
| Marc Kupietz | CRAN check fixes, including an S3 method naming correction. | PR #843 |
highcharter 0.12.6.1
Bundled Highcharts JS: 12.6.0.
Breaking changes
- Removed
hc_labels()in favor ofhc_annotations(). This follows the Highcharts API change where the top-levellabelsoption was removed. Users should migrate custom chart labels to annotations.
Bugs
- This version incorporated the 0.9.5 CRAN fix for HTTP 403 errors in
download_map_data(). - Wrapped examples making network calls in
\dontrun{}(get_data_from_mapandhc_mapNavigation) to fix CRAN Package Check 403 errors. - This version also incorporated the 0.9.5 rename from
hchart.pcatohchart_pca, which resolved the unregistered S3 method NOTE.
highcharter 0.9.5
CRAN release: 2026-04-22
Bundled Highcharts JS: 9.3.1. Published on CRAN on April 22, 2026.
Bugs
- Fixed
download_map_datato prevent 403 Forbidden errors when fetching data (fixes CRAN Package Checks and resolves #842). - Renamed internal helper function
hchart.pcatohchart_pcato resolve an unregistered S3 method mismatch NOTE. - Uses
page_rankinstead of deprecatedpage.rankfunction. - Converts igraph membership to vector to avoid data frame coercion errors.
- Replace
class() ==comparisons withinherits()inhc_yAxis_multiples,hc_xAxis_multiples, andhc_zAxis_multiplesto fix CRAN NOTE. - Replace deprecated
@docType "package"with"_PACKAGE"sentinel inhighcharter-package.R. - Fixed missing or moved URLs.
highcharter 0.9.4
CRAN release: 2022-01-03
Changes
- Highcharter now uses HighchartsJS 9.3.1.
- Support highcharts gantt extension (#287).
- Adding missed language options in
getOption("highcharter.lang"). - Adding
hcpxy_add_series,hcpxy_remove_series,hcpxy_update,hcpxy_update_series,hcpxy_add_point,hcpxy_remove_pointandhcpxy_loading. - Adding
hcpxy_set_dateandhcpxy_redrawthanks to @PaulC91. - Adding
hc_loadingfor use withhcpxy_loading. - Adding
hcpxy_update_pointdue @zevross (https://twitter.com/zevross/status/1403394816558383105). - Update jQuery from 3.5.0 to 3.5.1. This solve the problem in flexdashboard menu when the size of viewport is small (like tablets o phones).
- Adding new data
mountains_panorama. - Update
pokemondata.
Bugs
- Fix url in documentations via
devtools::check_rhub(). - Removing
knitr.figure = FALSEoption insizingPolicy = htmlwidgets::sizingPolicyto fix #703
highcharter 0.8.2
CRAN release: 2020-07-26
Changes
- Highcharter now uses HighchartsJS 8.1.2
- Adding data helpers to make easy certain type of charts:
data_to_boxplot,data_to_hierarchicalanddata_to_sankey. Thanks to @wwwjk366. - Adding
listtohchartsupported classes to work with the new data helpers. - Adding
hc_theme_sparkline_vb,hc_theme_hcrtthemes. - boost module is FALSE by default.
- Modifying
highcharts_demo(), adding caption and credit texts. - All vignettes were moved from the package to favor to avoid CRAN check NOTE and warning. The content was moved to the new website of the package.
-
htmlwdgtgrid.csswere removed from the yaml ofhighcarthchartwidgets to avoid problems with others css frameworks when highcarter is used with shiny. Nowhw_gridaddhtmlwdgtgrid.cssautomatically. Additionallyhw_gridgain new parameters: 1)add_htmlgrid_cssTo add or nothtmlgrid.cssand 2)browsable-set as TRUE the default value- so now there is no need to use htmltools::browsable #622 - Adding new
hc_add_yAxis. Thanks to@nordicgit70. - Added option to switch to
rjson::toJSONfor better plotting performance. To use executeoptions(highcharter.rjon =TRUE). See #613. Thanks to@nordicgit70.
Deprecated
-
hc_add_dependency_fa,fa_icon,fa_icon_mark, please use fontawesome package https://github.com/rstudio/fontawesome. See examples in the new website. -
hciconarray, please use nowtype = "item" -
hcspark, please usehc_theme_sparkline -
hctreeemaps,hctreeemaps2, please usedata_to_hierarchical.
highcharter 0.8.1
Changes
- Highcharter now uses HighchartsJS 8 (8.1.0).
- Highcharter now uses jquery v3.5.0; previously used is v1.11.1
- Updates deprecated dplyr functions (@hdrab127, #637)
- Fix warnings for numeric vectors with multiple classes (@nuno-agostinho, #635)
highcharter 0.7.2
Changes
- Highcharter now uses HighchartsJS 7 (7.2.0) thanks to Daniel Possenriede (#552).
highcharter 0.7.1
Changes
- Adding
hc_theme_bloombased on Bloomberg Graphics. - Removed shortcut functions:
hcts,hcbar,hcpie,hchist,hcdensity. - Removing whisker package dependency (#415).
- Bullet chart is supported. Added
bullet.jsmodule tohighchart.yalm(#482). - Add parameter
quiettodownload_map_data. Thanks to @DavidBreuer (#450).
highcharter 0.7.0
CRAN release: 2019-01-15
New Features
- Highcharter now uses HighchartsJS 7 (7.0.1)
-
divBackgroundImageworks with themes (#278). - New function
hctreemap2(#110). - New function
hc_responsiveto configure responsive features(#305). - New function
tooltip_chartto create minicharts in tooltips (#343). - New function
hc_boostfunction to configure boost module optionsmodule/boost.js(#382). - New function
hchart_which uses standar evaluation (#170). - New function
hcaes_string(#248). - New function
hcparcord. Inspired and copy from http://rpubs.com/hadley/97970 (#167). - New functions
hc_add_series.lmandhc_add_series.loess(#271). - New function/theme Super Heroes (#286).
- New function/theme
hc_theme_ggplot2to honoring one of the best packages (#260). - Added multicolor plugin (#251).
- Added regression plugin (#262).
Bug Fixes
- Adding
encoding = "UTF-8"indownload_map_datato read characters properly (#359). - Fixed
Error in mutate_implinhcboxplot(#323). - Fixed
export_hc(..., as = "is")does not format javascript correctly (#398). - Added the MIME type to show fonts correctly (#308).
- Fixed vignettes titles #244).
- Fixed bug due conflict between highcharts v5 and draggable-points plugin (#273).
-
maxSizeuses the default highchartsJS value (#272). -
hchart.data.frameandhc_add_series.data.frameforces to be data frame to avoid problems with the data.table class (#263). - Fixed bug in
hc_add_series_dfwhen the data frame comes with a column named “series” (#241). -
hchartdon’t override/change default highchartsJS options (#302).
highcharter 0.5.0
CRAN release: 2017-01-17
Breaking changes
-
hchart.data.framenow gains a newmappingargument usinghcaesfunction to define the aesthetics. Afterhchart(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.
New Funcionalities
-
hc_add_seriesis a generic generic function (#213). - New
hcmapfunction to chart maps (#218). And use remote sources (#215). - New charting data frames vignette (http://rpubs.com/jbkunst/230276) (#220).
- New charting maps vignette (https://jkunst.com/highcharter/articles/maps.html) (#218).
-
debugas an option instead of argument. Exampleoptions(highcharter.debug = TRUE)(#216). - Upgrade to highcharts V5 (#154) (#208).
- Added helpers & shortcuts for tooltip: sort and table (#206).
- Added export-csv plugin to export chart data to CSV, XLS, HTML or JS array (#178).
- Added Grouped Categories plugin (#172) (#193).
- Added Tooltip delay plugin (#181).
- Added
is.highchartaccording with Best practices in http://adv-r.had.co.nz/S3.html (#179). - New themes:
theme_firefox(#191),theme_tufte(#190).hc_theme_elementary(#184). -
hchart.data.framedoesn’t override the color if the column var have a hexadecimal color format (#148). - Added
hc_sizefunction to change width and height (#146). - Add more data for nice examples: vaccines, weather radials, pkmn (#145).
highcharter 0.4.0
CRAN release: 2016-07-15
New Funcionalities
- Include
elementIdto createWidget. Add thehc_elementId()to modify this paramter after the creation of the highchart object (#140). -
hchartsupport data frames a laggplot2::qplot(#136). -
hchartsupport Principal Components objectsprincompandprcompcharting a biplot. Thanks to @nuno-agostinho (#128 #123). -
hchartsupport matrix objects charting a heatmap (hchart.matrix) (#86). -
hchartsupport phylo objects (#64). - New
hcboxplot,hcwaffle,hcbar,hcpie,hchist,hcdensity,hctsfunction to get quick some style of charts. Thanks to @nuno-agostinho.hc_add_series_densityimplementation (#99 #70). - New
hc_add_series_bwpto chart box and whisker plots (#81). - New
hc_add_series_listto add list of series (#68). - New
hc_add_series_df_old(!!) shortcut ofhc_add_series(data = list.parse3(df))(#76). - Added
hc_theme_sparkline(#132). - Added function to create
dataClassesandstopsarguments inhc_colorAxis(#120). - Validate length of data = 1 and apply the
listfunction (#119 #188 #65 #71). - Added
colorizefunction socolorize_vectorwill be deprecate in the next release (#75). - Adding
hc_add_series_dfsimilar tohchart.data.frame(#114 #115). - Annotation funcionalities
hc_annotations(#103). - Added
crossas marker symbol (#96). - New
hc_yAxis_multiplesto add automatically arbitraty number of y axis (#90 #79). - New
hc_gridto create a grid of highchart objects, inspired frommjs_grid(#67 #66). - Add motion plugin https://github.com/larsac07/Motion-Highcharts-Plugin (#62).
Changes
- Upgrading to highcharts 4.2.4 (#72).
- Options were separated into
highcharter.global,highcharter.langandhighcharter.chartinstead of having all in one big list (#77 #52). -
list.parse2andlist.parse3deperacted and renaming tolist_parse2andlist_parse3. -
hc_add_series_scatteris more flexible and general (#54 #58)
highcharter 0.3.1.9999
- Adding underscore dependency (previously was removed. Solves #28)
highcharter 0.3.0
CRAN release: 2016-03-28
- Igraph support to
hchart(#61) - New function
export_hc. Take a highchart object and write a js file with the options (#60). - New function
tooltip_table. Helper to create table based intagsfromhtmltoolspackage #59). - New function
hc_colors. Function for thecolorsoption in highcharts api (#57). - Adding funnel.js and gauge-solid.js to dependency for create funnel charts and charts like apple watch (#56).
- The
hc_themes_...functions gains a...parameter to add styles to the current invoked theme (#53). - More themes: flat, flatdark, smpl, ft (financial times) (#49).
- Don’t run error (
\dontrun{}) to avoidquantmodpackage example in flags function
highcharter 0.2.0
CRAN release: 2016-02-25
- Implemenation of highcharts with boost module
highchart2()(#43). This include highcharts.js, exporting.js and boost-module.js. - Highstock implementation/support (#10)
- Highmaps implementation/support (#25)
- Adding themes (#35): 538, economist, dotabuff, google, theme null (#19)
- Plugins: Add font awesome integration (#45), fill-pattern (#31), draggable-points (#28)
- New
hchartfunction. Generic function to chart acf, forecast, ts, stl, xts, ohlc objects (#2) (#27) - In highmaps prevent scrolling when cursor is over the map (#38)
- Import %>% (#15)
- Heigth scale in the container in rstudio IDE (#14)
- Avoid duplicate css calls (#6)
- Add uscountygeojson, usgeojson, worldgeojson, unemployment data
