Repository navigation
v0.34.0
Added
Highcharts chart-type parity (#296–#326), each with a geom_* shortcut and a
configurable geom_*_with:
- Business / KPI:
geom_waterfall(#296),geom_pareto(sorted bars +
cumulative-% line on aSecAxis::percent_of_maxaxis, #297),
geom_funnel/geom_pyramid(#303),geom_bullet(#307),
geom_lollipop/geom_dumbbell(#306),geom_variwide/
geom_marimekko(#314). - Flows & networks:
geom_sankey(#298),geom_chord(#299),
geom_arcdiagram(#300), force-directedgeom_network(#310),
geom_floworigin–destination flow maps (featuresf, #324). - Hierarchies: squarified
geom_treemap(#301),geom_sunburst/
geom_icicle(#302),geom_packed_bubble(#309),geom_tree/ org
charts /geom_dendrogram(#311). - Sets & units:
geom_waffle/geom_parliament(#308), area-
proportionalgeom_venn(#312),geom_wordcloud(#313),
geom_variable_pie(#319). - Time: streamgraphs via
StackOffset(silhouette, wiggle) +
geom_stream(#304); splineInterpolate(monotone cubic, Catmull-Rom)
on line / area / ribbon (#305);geom_timeline(#315);geom_xrange
Gantt charts (#316);geom_flagsevent flags (#323). - Finance: hollow candles,
geom_hlc,geom_heikin_ashi(#320);
geom_renko/geom_point_figure(#321);StatIndicator— SMA, EMA,
WMA, Bollinger, MACD, RSI, ATR, VWAP, stochastic, ZigZag (#322). - Maps & weather:
geom_tilemaptile-grid cartograms (+
us_state_grid, #317),geom_windbarb(#318). - Tiled basemaps (new feature
tiles, #325):
annotation_map_tile(TileSource::xyz(..), fetcher)draws XYZ raster tiles
(OpenStreetMap and friends) under Web-Mercatorgeom_sflayers, with the
source's attribution. No networking in the crate: tiles come from a
caller-suppliedTileFetcher(anyFn(z, x, y) -> Option<Vec<u8>>) and
are cached per layer. NewDrawBackend::draw_image(default: no-op),
implemented by the native SVG, canvas and plotters backends. GGPlot::legend_inside_auto()/legend_inside_auto_with(corners, fallback)(#332): the legend goes inside the panel in the first corner
where its real box overlaps no drawn mark, else outside on the side
(Top/Right) that leaves the data area larger. The choice is the root
data-legend-atattribute.GGPlot::facet_levels(&[..])(#329): explicitfacet_wrappanel
order; levels without data keep an empty panel (ggplot2'sdrop = FALSE).PlotGrid::legend_bottom_when_narrow(share)(#363): a grid's
collected legend column moves below the grid on narrow renders.- Examples:
inventory_twin(quantile fan +PlotGridalarm strip, #124)
andmap_tiles; README gallery and chart-family overview (#326).
Fixed
ScaleDateTime::with_date_labelsis honoured on automatic month and year
breaks (#352).position_jitter/geom_jitter/position_jitterdodgenow jitter on a
discrete x axis (points used to stay on the category's centre line).- A
Bottomlegend under an axis-less theme (theme_void) stays on the
canvas instead of being placed at its edge with zero height (#341). - The caption is drawn inside its reserved area, below a
Bottomlegend
(#286). - The y axis title keeps a gap to short tick labels; a faceted grid draws
one x and one y axis title instead of one per panel (#348). - Chart-type shortcuts (
geom_waterfall,geom_funnel,geom_waffle, …)
honour theme ink/paper andprimary_color(#362).
Changed
- Breaking for struct literals without
..Default::default(): new
fieldsinterpolateonGeomLine/GeomArea/GeomRibbon,style/
open_tickon the candlestick geoms,offsetonPositionStack,
percent_of_maxonSecAxis, andlevelsonFacet::Wrap.