CanvasXpress Changelog

User-facing release notes — Added, Changed, Fixed, Deprecated, Removed, Breaking — newest first.

All notable, user-facing changes to CanvasXpress are recorded here, newest first, for people who depend on the library. Entries are generated from the Changes comment block at the top of build/js/canvasXpress.init.js — the single source of truth, written on every release — so this file can never fall behind the engine.

Only the most recent releases are shown here; the exhaustive per-version history is rendered on the site at https://canvasxpress.org/updates.html and linked at the bottom of this file.

Versioning & release channels

  • Version numbers are sequential MAJOR.MINOR release identifiers (e.g. 67.4), not semantic-versioning signals: a MAJOR bump marks a release milestone, not a breaking change. Package registries and release tags carry the three-part form MAJOR.MINOR.0 (e.g. 67.4.0). Releases ship as changes are ready — often several in a week during active development.
  • Backward compatibility is the default. Releases add chart types, parameters, and bug fixes without breaking existing charts. The rare change that alters an existing default or the public API is called out explicitly in its own entry below, whatever the version number.
  • latest (npm canvasxpress, CRAN canvasXpress, PyPI canvasxpress) always points at the newest release and can move on any day.
  • Pinning for stability: enterprises that need a fixed target should pin an exact version (e.g. canvasxpress@67.4.0 on npm, version="67.4" on CRAN/PyPI) and upgrade deliberately after reading this file. Nothing changes underneath a pinned version.

[74.9] — 2026-11-26

  • Manhattan/Miami/CNV: the missing-marker-column abort helper was called as abortManhattan() but defined as abortManhattanConfiguration(), so a mis-mapped chart threw instead of alerting and rendered blank; renamed the 13 call sites.
  • arrayToCX: a flat 2-D array for scatterType manhattan/miami/manhattanCNV/clustree now builds the labeled-matrix orientation (row-ids as y.vars, columns as y.smps) instead of stranding columns in x + a counts var, so those charts draw.
  • arrayToCX: a Pie from a flat 2-D array [label + numeric] now draws one slice per label from the real measure (y.vars=labels, y.smps=[measure]) instead of a single uniform counts slice; multi-numeric/label Pie unchanged.
  • Numeric axes gain a first-class reverse option (xAxisTransform/yAxisTransform:'reverse') running high->low: added to defTransform; x marks/ticks/gridlines + overlays (ribbon/zero-line/ellipse/DOE/forecast) reverse-aware; default off.
  • New opt-in autoDefaults flag (default off; charts byte-identical) applies data-driven defaults via applySmartDefaults() at drawGraph: sign-aware colour spectrum, date time-scale, nested size legend; each only when left unset.
  • autoDefaults also: >16 colour series -> continuous ColorSpectrum scheme; new colorRankBy flag colours a ranked series with the Viridis sequential ramp. Both only when the user left colorScheme default.
  • autoDefaults also promotes a plain Scatter2D with one categorical + one continuous axis to a jittered strip plot (StripPlot->Dotplot) in promoteScatter2DVariableAxes; skipped if scatterType/jitter/dotplotType set or z/overlay present.
  • autoDefaults also enables the KaplanMeier p-value + at-risk table (kmPvalue/kmRiskTable), and seeds Volcano fold-change/p-value cut-off lines (|log2FC|>=1, p<=1e-5); each only when the user left them unset. No data transform applied.
  • New decorations.segment: a scatter two-point line (x,y)->(x2,y2) with optional end caps (cap) and anchor point (point true/'both'/'mid') -> a capped error bar; reverse-axis-aware via scales.x/y.map. Default none, byte-identical.
  • arrayToCX graph-type transitions (flint parity): a flat 2-D array reshapes by shape - Bar->Heatmap/Stacked, Scatter2D->Heatmap/Dotplot, Bubble/Radar->Circular, Pyramid, Ranged-dot->Dumbbell, Calendar->Heatmap, Streamgraph; else as-is.
  • Manhattan/Miami: points vanished (or lined up) on maximize/redraw. The 'Manhattan' x sample was pushed onto y.smps in place, so a stale order-cache entry won on redraw and x collapsed to [0,1]. Now appended by replacing the array.
  • Sparklines: a stacked 'rows' layout labelled only the top strip, so only the first series was identified. Each sparkline panel now draws its own series-id strip (scoped to isSparklinePlot; other rows-layout facets unchanged).
  • Sparklines: the value axis printed numeric labels + tick stubs down the left of every strip. draw1DXLayout now drops the labels and setupSparklines defaults xAxisTicksShow off (scoped, overridable) for a clean dataword.
  • Miami: a wide empty band sat between the y-axis and the first/last points. The x-axis range-extension keyed on scatterType=='manhattan', so Miami got the full default pad; it now shares Manhattan's tight genomic pad on both x edges.
  • Sparklines: the right-edge sparklineAggregate summary was a faint grey, hard to read; it is now bold near-black. drawTextDecorationsNoScatter also honours per-item fontStyle/fontSize (scatter path already did; absent keys unchanged).

[74.8] — 2026-11-25

  • New StripPlot graphType: a jittered 1-D categorical point cloud (remaps to Dotplot + jitter).
  • New Slope graphType: a before/after line chart with end-point labels (remaps to Line; isSlopePlot param).
  • New Pyramid graphType: a named alias for the Tornado back-to-back bar chart (population pyramid; remaps to Stacked).
  • New Sparklines graphType: small-multiples strip chart (one compact trend per series, free per-panel y-scales), remapping to a faceted Scatter2D via setupSparklines().
  • Sparklines sparklineType param: pick the strip mark - line (default), bar, area, or winloss (equal-height up/down bars).
  • Sparklines sparklineBaseline param: faint dashed per-strip reference line at the series mean, median, or zero (scoped per panel).
  • Sparklines sparklineMarkers param: emphasis dots at the endpoints, min/max, or all of each strip (scoped per panel).
  • Sparklines sparklineAggregate param: a right-edge value label per strip (mean, median, or last value) - the sparkline-table summary column.
  • New Scatter2D scatterType miami: mirrored dual-Manhattan - a 2nd study (manhattanMarkerLogPValueBottom, manhattanColorsBottom palette) drawn downward on a shared genomic x with a symmetric absolute-valued y-axis. New Manhattan page.
  • LLM example generator (generateExamples) now covers all 74 graph types: registers the 10 missing (Fish, Genome, Network, OptionsWall, TreeBracket, Upset, Sparklines, StripPlot, Slope, Pyramid) in graphs/graphsP + graphTypeDatasets.
  • generateExamples: guard column-based modifiers (sort/filter/column) for dataless graph types like Network (no columns) - skip the modifier instead of dereferencing an undefined column, which crashed example generation.

[74.7] — 2026-11-24

  • Density/violin bandwidth now matches R bw.nrd0 exactly: nrd0Rule divided the IQR by 1.349 where R uses 1.34, so the bandwidth ran ~0.7% narrow whenever the IQR term was smaller than the standard deviation.
  • Network bottom legend no longer overlaps a multi-line citation (#338): the reserve read getCitationHeight()'s (lines-1) placement value and fell one line short, ignoring the 2nd citation line and reserving only one for the 3rd.
  • Network node legend clicks fade the MATCHING nodes (not the rest), like edge legends (#339); node/edge legend selections now union via a set flag instead of a toggle that cancelled an element matched by an even number of items.
  • Binned numeric legend clicks fade exactly the clicked bin (#340): selectorNumericBounds read meta.order/levels (a coarser subset), so alternate bins got a NaN lower bound and the rest a bin too wide; it now indexes meta.vals.
  • Re-rendering a Shiny output with NA data no longer errors (#342): htmlwidgets checkData() unshifted onto y.data rows the engine had deep-frozen ("object is not extensible"); it now copies into a fresh data-frame matrix.
  • Network legend clicks no longer throw a TypeError when an attribute name or value contains ":" (#341): extractDataObjectNetwork split the PropertyKey id positionally; it now pops the compartment and resolves the factor from bindings.

[74.6] — 2026-11-24

  • Double-clicking a chart element opens the Customizer on the section that formats it (axis label -> Axes, legend -> Legends, mark -> Plot/Options, overlay -> Meta, marker -> Decorate, title -> Theme); events.dblclick false vetoes.
  • Customizer Axes section now owns every axis control: axis algorithm moved in from Options, lin/log scale for all value axes (was scatter-only), new Ticks / Minor Ticks / Decimals / Exact controls; Highlight moved to Wrangling.
  • Customizer Legends section: per-entry show toggles (title, border, color/shape/size/line and Network node/edge legends), Layout (direction, columns, rows, fill order) and Keys (size, margin, background) widgets; one Justify card.
  • Customizer Plot section filled for Bar/Line/Area/Pie/Dotplot/Scatter (was "Under construction"): Style, Marks, Points cards; Error Bars, Sample Width, Variable Spacing moved in from Options; Adjust Layout Axes toggles layoutAdjust.
  • Customizer Meta section: Overlay Settings card (names/values, thickness, label length, legend position/columns), Dodge/Line/Label/Ribbon mapping slots; double-click on an overlay strip opens its own overlay.
  • Customizer image groups dropped their last partial row when the item count was not a multiple of the columns: the Treemap graph-type button (21st of 4 columns) and a 10th Meta slot never rendered.
  • Customizer Options graph-type grid: Bubble, Meter and Scatter 3D added (24 types, 4 x 6), larger icons; double-clicking an axis line / tick or the title (no hit area) now opens Axes / Options, not File.
  • Customizer Data section: Normalize (z-score / percentile by sample or variable), Clustering (hierarchical + k-means with distance, linkage, impute, k), Missing Data and Sort Options cards; Summary for any grouped graph, full enum.
  • Customizer Tools section: Export (save image, file name, magnification, print to), Interaction (zoom / resize / drag / wheel), Motion (animation, transitions, easing), Reproducibility (seed) and Filter Widget cards for every graph.
  • Customizer Theme section: Text (size, auto-scale, clamp, number format), Effects (gradient, transparency), Shadows and Marginal Text cards; Image / Panel Image background types with URL; binned spectrum, breaks method, legend steps.
  • theme's registry type is now 'string or array', so the published schema and the generated TypeScript/Python/R types accept the compound form theme: [chartTheme, widgetsStyle] the engine already resolved.
  • Widget UI colour roles are no longer inline per chart: setUIColors emits them into a shared [data-cx-ui-style] rule keyed by value, so a site-preset's 01c CSS wins by specificity, not !important (light chart rule drops it).
  • New Customizer Theme control "Widgets Theme" (widgetsTheme: Follow Theme / Light / Dark / Auto) themes the UI widgets independently of the chart; changing it re-themes the open toolbar, menus, Customizer, tables and dialogs live.
  • New Customizer Theme control "Widget Style" lists the widget-only looks (dataUIStyle: Modern / CanvasXpress / BMS / Colorful / RDC / NGS360) so they are pickable; it restyles the open widgets live, chart untouched.
  • Categorical Heatmap: a Heatmap with all non-numeric string cells is auto-detected and drawn as discrete categories (qualitative colour per level + named legend) instead of blanking each string to NaN; numeric heatmaps unaffected.
  • New smpLabelTimeAuto: selects date sample labels at nice calendar boundaries (years/quarters/months, e.g. 2020, Apr, Jul, Oct) on an evenly-spaced 1D axis -- Vega-style, no repositioning, so multi-series lines are unaffected.
  • New smpTimeScale: Line/Area with date samples places each point at its real date (proportional time scale) instead of even slots; multi-series supported; pair with smpLabelTimeAuto for even date labels.
  • New connectNullData: Line/Area/Streamgraph fill missing (null) values -- interior gaps linearly interpolated, ends carried -- so the mark connects across gaps instead of breaking (line) or dropping to the baseline (area).
  • New smpValueScale: numeric twin of smpTimeScale -- Line/Area with numeric samples place each point at its real value (proportional) and label the axis with nice round ticks (0, 20, 40 ...) instead of every sample name on even slots.
  • New smpLabelDateAuto: relabels drawn date sample labels hierarchically (year at first occurrence, short month otherwise) keeping smpLabelInterval placement -- for bars, labelling every n-th bar instead of at calendar boundaries.
  • New varLabelDateAuto: variable-axis twin of smpLabelDateAuto -- hierarchical year/month relabelling of date variable labels on a heatmap column axis, keeping varLabelInterval placement (so date-axis heatmaps read like a time axis).
  • Line colorBy/patternBy on a SAMPLE annotation (data.x) now colours each marker+segment and dashes each segment per-point (gradient line, solid/dashed forecast); variable-annotation colorBy/patternBy stay per-series (byte-identical).
  • Fix regression: legacy ringGraphType (renamed circularTrackGraphType) lost its alias, so radar/circular charts using it fell back to line (no fill). Reinstated as an input-only alias; explicit circularTrackGraphType still wins.
  • Tree nodes no longer overlap on dense dendrograms: the node size floor (5px radius) pinned 10px nodes closer than the per-leaf spacing. The node diameter is now capped at the leaf spacing; sparse trees keep the exact prior size.
  • Fix colorBy/sizeBy on a date-STRING annotation: it was promoted to Numeric with an epoch gradient but stored as strings, so draw-time Number() gave NaN and points fell to missingDataColor (grey). Parsed epoch values now persisted.
  • Continuous colour/size legend for a date-STRING annotation now labels its gradient ticks as UTC dates (2023-11-14) instead of raw epoch millis (1.7e+12); tick positions stay numeric. Native date-numeric legends unchanged.
  • Auto legend layout (no legendColumns set): a long categorical side legend shrinks its text+key to a 9px floor to keep fewer columns before adding one, instead of spreading wide. Top-band fit-across-width automation unchanged.
  • Radar charts draw upright (horizontal) spoke labels by default instead of text rotated along each spoke, like a Vega radar, letting the plot grow. New circularSampleLabelOrientation:"horizontal"; perpendicular/circular opt out.
  • Radar reserves the upright label HEIGHT for its spoke labels instead of the longest label's width, so a verbose-label web fills the canvas instead of collapsing into a disk far inside its own labels.
  • Radar radial scale anchors at zero instead of autoscaling to the data minimum, so web shapes stay comparable between series. Skipped when setMinX is pinned, a yAxis drives the track, or any plotted value is negative.
  • Radar spokes now run one margin past the outermost ring and the sample label seats where the spoke ends, instead of the spoke stopping short of the ring and the label floating further out.
  • Radar radial tick values draw upright instead of as arc text, whose per-glyph turn is charWidth/(radius-textHeight) and so fanned the inner ticks ("1 0") near the centre. Other circular types keep arc text.
  • Faceted stacked density no longer shears its tallest panel flat: the shared y axis is sized from the rescaled curve peak (density.histogram.maxY) rather than globalMaxCount, a binned count unrelated to that curve.
  • Faceted stacked/filled density stacks within each panel instead of carrying one running total across every facet, which piled later panels onto earlier ones and drew identical data at heights differing by the facet count.
  • Tree nodes are capped to the measured spacing of the deepest level (less one margin), so a crowded tree no longer draws nodes that touch or overlap. Node size was sized off the full canvas height, ignoring title/legend reserves.
  • A Line/Area coloured by a variable annotation keeps its axes: isLongAndSkinny() turned it into a Scatter2D plotting two samples as x/y. It now needs an implicit graphType and a genuinely tall matrix, and no longer throws on lineBy.
  • Streamgraphs span their category axis flush edge to edge: the x axis took the nice-tick range plus extension, stranding a 1977-2019 band on a 1970-2030 axis and ticking years with no data. setMinX/setMaxX still crop.
  • circularTrackGraphType entries are now normalized to lowercase before comparison, with a console warning on an unrecognized value; an uppercase value (e.g. 'Bar') previously fell through to the default track type.
  • parseDate now accepts 'YYYY-MM-DD' (fixes Gantt ISO dates); new smpLabelIntervalAuto/varLabelIntervalAuto thin crowded axis labels by band width (default off); Scatter2D warns on a non-numeric, non-date axis variable.
  • Fixed low-contrast facet strip labels (white on grey70) when no theme is set: the unthemed default no longer borrows ggplot2's "light" strip colors; explicit theme:"light" is unchanged.
  • New opt-in params (default off): streamInterpolateGaps fills sparse Streamgraph gaps; colorSpectrumAuto picks a sequential ramp for one-signed data; colorPaletteExtend grows past 16 series instead of wrapping.
  • Scatter2D accepts a categorical column (sample annotation or variable) as an axis (e.g. xAxis:['Species']), not only a sample: promoted to one point per observation; sample-axis configs unchanged.
  • Fixed colorPaletteExtend (item 41): the default-palette check always failed against already-converted rgb() colors, and its generated hues rendered black (no hsl() parsing); both fixed, palette now extends correctly.

[74.5] — 2026-11-19

  • Genome charts now draw decorations. A decorations block was accepted but silently never rendered (no Genome caller for the drawer); line/text/label/marker now draw per dataframe track, picking it with scope and its scale with side.
  • Genome x ticks: genomeTicks is now honored (the drawer hard-coded 10, so the parameter did nothing; its default is now that 10), labels rounded outside the window are no longer drawn past the plot edge, and xAxisTitle is drawn.
  • New genomeTicksUnit (bp/kb/Mb/auto) expresses Genome tick labels in a scaled unit, computing the ticks in that unit so a sub-megabase window stops losing ticks to the axis algorithm's duplicate values at genomic magnitudes.
  • New featurePriority gives named Genome features, or whole classes (type/geneType/biotype), the first staggered rows. Rows past subtracksMax are dropped, so the gene a track is about no longer falls off a crowded track.
  • Genome axis lines are drawable: the track box was stroked in panelBackgroundColor so it was never visible and the genomic axis had no line. Both now honor the xAxisLine and yAxisLine show flags per side, for an L-frame or a box.
  • New genomeTicksPosition (bottom|track) draws the genomic axis directly under the first dataframe track instead of under the whole chart, so a regional plot reads its coordinates against the scatter.
  • New genomeTrackPadding extends a genome track scale below its lowest value, so points stop sitting on the axis line. The scale had headroom above and none below; tick values are unchanged and a pinned setMinY is left alone.
  • A genome track right axis now honors its own setMinY/setMaxY: the pin test read the LEFT arrays, so a right pin was dropped whenever the tick algorithm rounded past it, and a left-only pin stopped the right axis reaching its ticks.
  • Fixed Network legend clicks throwing "reading 'vars'": filterIdToName read this.data.y.vars/.smps unconditionally, but a Network has no y compartment, so toggling a node/edge legend crashed. Guarded the lookups so node/edge paths run.
  • Fixed the bottom sizeEdge legend overflowing into the citation / off canvas at legendTextScaleFontFactor below 1: reserved height used the font-scaled diameter but drew from the sizes array. Both now use getLegendMaxKeyDiameter.
  • Example-page code tabs: oversized blocks (Prettify dropped to avoid a freeze) keep the grey card via a new prettyplain class, and on no-HTML/JS pages (Network etc.) the first code tab is now selected so its card shows on load.
  • Genome charts that auto-grow taller than their div no longer overlap the content below: setGenomeYDimentions now syncs the DOM wrapper (--base-h) to the computed height, which resizeCanvas alone left at the original size.
  • Accessibility: the HTML widget chrome (toolbar reveal, container resize) now honors prefers-reduced-motion, snapping to its final state instead of animating. Canvas transitions already did since 74.0; the widgets had missed it.
  • New disableAnimations switch: one flag suppresses all motion like prefers-reduced-motion — chrome transitions/keyframes, the canvas tween and timer reveals (customizer, accordion, flash, network sort) all snap to final.
  • The data-filter toolbar's save dialog now titles itself "Save data filter state" instead of reusing the Shelves "Save state as" heading; openShelfStateSaveDialog takes an optional caller-supplied title. Same one-store mechanism.
  • Fixed the password dialog's Unlock/Update button being invisible: the float:left inputs pushed it onto the same line past the 200px dialog width, where overflow:hidden clipped it. It now clears the floats and centres below the input.
  • Fixed the toolbar padlock (Protect/Decrypt) never appearing: its isVisible test was inverted vs every other toolbar item, so the default toolbarItems (which lists 'Password') hid it. Now shown when 'Password' is in toolbarItems.
  • Password dialog cleanup: narrower inset inputs, dropped the inner double border, rounded the button, lowered the fields so the container no longer clips the close icon, and grew the dialog so Update no longer spills out.
  • Fixed save/print throwing "that is not defined" once a password was set: save (JSON) and renderToExportContext (SVG/PDF) referenced an undeclared 'that' in the encrypt branch (only print declared it). Export now works when protected.
  • Password dialog: Cancel (×) now only closes it; each field is type=search for a native clear (×), masked via -webkit-text-security:disc with autocomplete off. Clearing the password field drops protection.
  • Password dialog Update re-validates the pair: since a single field can now be cleared, Update requires both boxes filled and matching (alerts otherwise and stays open); both-empty closes unprotected. Unlock path unchanged.

[74.4] — 2026-11-18

  • Privacy policy gains an MCP Server & AI Connectors section: tool-call logging (request, response, client IP) is disclosed, the call log is auto-purged after 90 days, and dashboard-view uploads expire from memory after 30 minutes.
  • R ggplot: a geom_line whose aes(y=) names a plot-data column again emits that column NAME, not computed segments. The segment path dropped every layer after the first, so geom_line(y=y1)+geom_line(y=y2) drew one x-vs-x line.
  • An external FontFace is now awaited before the chart is built (waitForFontFace, 3s cap). document.fonts.add() does not mean the face can be painted with, so canvas text drew in the fallback family while the font finished decoding.
  • Canvases report readiness: a bubbling cxCanvasReady event on the canvas (detail target/reason), a per-instance canvasReady flag, and whenCanvasReady(fn), which calls back even when asked late. CanvasXpress.ready kept.
  • Charts that never reported ready now do: the external-font path swallowed the first signal via the page-wide readyFonts latch, and isUpdateRemoteData was set on a remote swap but cleared nowhere, silencing that chart for life.
  • Retired parameter toolbarType: the current toolbar never read it; its only effect was a 36px parent marginTop for over/fixed. Unknown config keys are dropped, so existing configs keep working.

[74.3] — 2026-11-16

  • dataPointSize "auto" survives render: the preset is stashed in meta.config.orig (getConfig round-trips "auto", each render re-resolves from the panel) and the aspect scaler no longer double-shrinks the resolved size to the floor.
  • cxdark/cxblue outline boxplot boxes and medians white (were black, invisible on the dark panel) and draw the observed-data points borderless (theme-scoped boxplotPointBorderColor), so the white box outline does not ring every point.

[74.2] — 2026-11-13

  • cxdark (and auto in dark mode) gridlines are now a dim grey (#383b42) instead of near-white #F6F8FA, so they no longer compete with the data; cxblue keeps its light gridlines.
  • A config's own colors now win over the palette its theme names: colors without colorScheme sets colorScheme User, so theme cxdark/auto no longer silently ignores them.
  • A dark chart root (cX-DOM) is now painted with the chart's own background (--cx-chart-bg) instead of the UI surface, removing the off-colour strip beside the canvas and letting a transparent background show the host page.
  • Colors accept the CSS keyword transparent (fully transparent black), so transparent backgrounds work as in CSS instead of failing color validation.
  • New legendPositionAuto (default true) measures the legend as a right column and as a top band and keeps whichever leaves the larger plot area; skipped for an explicit legendPosition, legendInside, a faceted layout or cxplot/ggplot.
  • legendPositionAuto scores radial graphs (radar, pie, chord, sunburst, venn) by the circle diameter that survives, not by area, since a side legend there usually fits the padding the circle already leaves.
  • A top/bottom legend is now clamped into the canvas: it is justified against the plot area, so a row wider than that area used to be centred past the right edge and lose its last item.
  • A top/bottom colour indicator draws as a horizontal ramp on every graph type, matching the box already reserved for it; only Scatter2D keeps the vertical bar, as the sizing side does.
  • Colour-indicator bins no longer paint outside the indicator border (each bin is a stroke, so the first and last overhung by half its width), and crowded ramp value labels are skipped instead of overprinting.
  • A top/bottom sample legend (showHistogram) and a circular/radar variable legend lay their keys out on a single row when the row fits, as the factor legends already did.
  • Colour-indicator values are formatted from their own tick positions when the label list and the position list disagree in length: a filled contour printed the wrong value at each tick and undefined past the third.
  • legendPosition accepts the four corners with the legend OUTSIDE the plot (they were reset to right): a corner is the top/bottom band flush with that side, so it reserves band height, not a column. Context menu now offers all eight.
  • legendVerticalJustification (0 top, 0.5 middle, 1 bottom) is honoured: it was defined and documented but never read, so a left/right legend was always centred. Mirrors legendHorizontalJustification for a side legend.
  • Customizer Legend panel gained Justify Across (legendHorizontalJustification), Justify Down (legendVerticalJustification) and Justify To (legendJustifyTo) - none of the three had a UI surface.
  • Hexagon binplots (binplotShape hexagon) now use the ggplot2/hexbin lattice: column step = one bin width, row step = binWidthY*sin60 (both were sqrt(3)x too large), so hexagons match geom_hex in size, count and placement.
  • Binned points beside a boxplot/violin kept a box overlay's dataPointSize, not the bin width, so they were sized apart from the bins they stack into and ran off the panel (TCGA: 5.94px dots, 2.10px bins). Now one bin wide, as ggplot.
  • New segregateLevelOrder pins the facet order by annotation, i.e. {"parameter": ["depicted", "speech"]}, the way an ordered factor fixes panel order in R. Omitted levels keep their natural order after the listed ones.
  • New layoutSpaceFree sizes each facet of a single-column layout by the span of the data it holds, like ggplot2 facet_grid(space = "free"), so a sparse facet no longer gets the same height as a busy one.
  • dataPointSize "auto" counts only plotted points when xAxis/yAxis name columns (var rows x y columns, not the whole table), so a wide transposed scatter (dashboards) no longer over-damps the dots to the 4px floor.

[74.1] — 2026-11-08

  • Stream plots now build wiggles with R ggstream smoothing: snap each level onto the x grid, smooth with a penalized cubic smoothing spline (smooth.spline, spar=scatterStreamBandwidth), mean-preserved; replaces the old LOESS method.
  • Density estimates now match R stats::density: grid is 512 points (new densityPoints param, R's n arg; >512 rounds to a power of two) instead of scaling with data length, and bw.nrd0 uses R's 1.349 IQR divisor (bw.nrd keeps R's 1.34).
  • Histogram breaks now computed exactly as ggplot2 stat_bin: bins uses width=range/(bins-1) with the first bin centered on the minimum; binwidth anchors the grid on boundary=width/2; pretty-break rounding removed. Counts match ggplot.
  • Scatter density contours now use the same 100-point kde2d grid as ggplot2 stat_density_2d (new contourPoints param, MASS kde2d n arg; was 25). kde2d, contour lines and levels verified identical to MASS::kde2d/contourLines/pretty.
  • bandwidthAdjust now multiplies the rule bandwidth as in R density(adjust=); a non-1 value was previously used as the absolute bandwidth, breaking adjust semantics in density plots.
  • getConfig no longer serializes transiently-scaled values (aspect-ratio sizes, onedplot fitters): it exports the originals stashed in meta.config.orig, so a saved config reloads identically instead of shrinking sizes each cycle.
  • Custom legends keep a caller-supplied id instead of being renamed custom, so deleteLegend-by-id works across re-renders; reloading a saved clustree config no longer piles up duplicate count/in_prop edge legends.
  • ggplot converter: a bare ggplot() whose layers carry their own data (e.g. geom_step(data=d)+geom_point) no longer throws "missing value where TRUE/FALSE needed"; the first layer's data is hoisted to plot level so the chart renders.
  • ggplot geom_point over a geom_step base (cxplot.js) now draws markers as decorations instead of inheriting the chart-wide line scatterType and connecting them into a spurious diagonal; geom_line bases keep the points-over-line path.
  • ggplot converter: GGally::ggpairs (ggmatrix) no longer crashes in resolve_map when a subplot carries waiver data (nrow NULL -> NA if-guard); the matrix now converts to the isGGMatrix structure.
  • ggplot converter: treemapify::geom_treemap now routes to the native CanvasXpress Treemap (rectangle area, exact ggplot fill hues, subgroup->treemapBy) instead of erroring on the missing ggplot2 GeomTreemap proto.
  • ggplot visual parity (cxplot.js, cxplot path, default values only): bare geom_point markers nudged to size 12 (CX scatter default 10 looked small); bars narrowed to widthFactor 0.9 and boxplots to 0.75 to match ggplot's band gaps.
  • ggplot visual parity (converter): the legend key panel emits legend.key.fill via calc_element, so a default theme_grey plot draws the grey (#EBEBEB) key background like ggplot while theme_bw/minimal/void keep a white/blank key.

[74.0] — 2026-11-06

  • KM risk table (geomKaplanMeier.js): strata row-headers no longer overlap the time-0 at-risk count - headers end just left of the y-axis and the time-0 column is left-aligned just right of it, instead of both landing on the axis x.
  • sizeLegendNested (legend.js): shows up to 5 concentric circles (not two); >5 levels reduce to an even 3/4/5-circle scale (interior values are group means). Labels stack in a centred column; elbow leaders never cut a circle.
  • Side histograms (geomHistogram.js): the right (y) histogram's first count label is dropped only when it would overlap the scatter's last x-axis value (e.g. "100"+"0" merging into "1000"); non-colliding axes are unchanged.
  • Label rotation now sticks (dataUtils.js changeAttribute): an explicit smpTextRotate/varTextRotate change (Customizer/context menu) pins smpTextRotateAuto/varTextRotateAuto off, so the resolver stops re-flattening the angle on redraw.
  • Rotated bottom labels on vertical 1D plots no longer clip the left edge (onedplotUtilities.js getVerticalLeftSampleLabelClearance): the gutter reserves each band's reach net of its anchor offset, so a long mid-chart label stays tight.
  • Grouped vertical 1D axis-label tooltip now shows the grouping-factor level (the drawn award name) instead of the raw sample id (R1, R2...) (events.js); selection identity stays on the sample.
  • UpSet: added upsetSetsBarRatio, dropped the oversized bottom pad, reserve left labels for visible sets only, overlay ticks regenerate as nice values not decimated (no 0,80,100), and "Size" is a rotated y-axis title beside the bars.
  • Boxplot outliers (geomBoxplot.js) now draw at the data-point size (~0.6*dataPointSize, matching showBoxplotOriginalData) instead of boxWidth/boxplotOutliersRatio, which made them far larger; capped so a thin box never enlarges them.
  • Heatmap top margin (onedplotDimensions.js): rotated grouped sample-overlay names reserve only overflow beyond the top variable-overlay stack, not atop it, so a tall top-overlay band no longer opens an empty strip. Names unclipped.

[73.9] — 2026-11-05

  • New model-eval config builders (eval.js): CanvasXpress.rocConfig/prConfig/confusionConfig/evalPlots turn classifier (truth,score/pred) arrays into ROC & PR Scatter2D curves (AUC/AP + reference line) and a confusion-matrix Heatmap.
  • More eval builders (eval.js): importanceConfig (feature importance), calibrationConfig (reliability + ECE), learningCurveConfig (train/val lines), shapConfig (SHAP beeswarm Dotplot); confusionConfig now prints per-cell counts.

[73.8] — 2026-11-04

  • recommend() advisor: dates read as time from raw values (not arrayToCX's epoch numbers) → suggest Line; a boolean class column or one measure split by a low-cardinality factor now ranks Boxplot/Bar over bare Scatter2D.
  • modifyFilter('guess') now honors an explicit annotation factor instead of matching the value to a group label: a grouped boxplot/bar filtered by its grouping annotation hid every box (sample-name misroute). Fixes dashboards controls.
  • Maps gain a vector-field overlay (mapVectorField:true): raw arrows / gridded quiver / integrated streamlines drawn from lat/lng + vx/vy, projected through the map and coloured by magnitude. Reuses the Scatter2D vectorfield math.

[73.7] — 2026-11-04

  • getSpec/getEmbedSnippet + the recommend() instance wrapper are now on the obfuscation keep-list, so they stay callable by name in --secure builds (73.6 shipped them as this.* and renamed them; cx.getEmbedSnippet() was undefined live).

[73.6] — 2026-11-03

  • Map cartograms: sizeBy-driven mapType (region|dorling|cartogram|contiguous). dorling=non-overlapping sized circles; cartogram=non-contiguous scaled shapes (mapCartogramScale/Silhouette); contiguous=Dougenik. Examples map-28/29/30.
  • sizeLegendNested: nested concentric size-legend bubbles on a shared bottom edge with dashed value leaders; keeps the end values + a mean-middle bubble only when labels clear a line (2 or 3). Gated, default off; shown on map-28.
  • Dorling cartogram: circles are clamped within the plot box so a bubble pushed by the overlap relaxation is never clipped at a map edge.
  • Binned sizeBy with more bins than the sizes array no longer wraps (sizes[i%len]), which shrank the biggest bins back to the smallest sizes; sizes now spread across the bins so markers + legend stay monotonic (new sizeForBin).
  • Customizer Shelves (scatter): assign samples to axes with the Axes section's own widget (axesCustomizerAssign — X/Y slots + Lin/Log + draggable Samples list), so Shelves and Axes share one layout and behavior.
  • Customizer Shelves: the Marks (Color/Size/Shape) and Facets cards now show the factor already assigned on load (as chips, like the Meta tab) instead of only after a drag (metaCustomizerPrefillProperties).
  • Customizer: removing a slot factor (chip ×) rebuilds the section the user is on (Shelves or Meta), not always Meta; metaCustomizerRemoveFactor now uses activeCustomizerRenderFn instead of a hardcoded metaCustomizer.
  • Customizer Shelves (Map): a Map Type selector (region|dorling|cartogram|contiguous -> changeAttribute mapType) makes the cartograms reachable by click; colour/size stay drag channels on Marks. Facets hidden for maps.
  • Customizer: live re-description — dropping a field onto an encoding slot (Color/Size/Shape/Pattern) animates the marks to the new encoding; showTransition is enabled just for that drop's redraw then restored (Meta + Shelves).
  • New recommend(data,intent) + static CanvasXpress.recommend: lightweight chart-type advisor — a 2D array normalized via arrayToCX, column types read, a ranked graphType short-list returned. Deep scorer stays in the MCP.
  • arrayToCX auto-picks a graphType via recommend() when the caller gives none (e.g. a dropped delimited file): a smart default (Scatter2D/Line/Heatmap/...) instead of always Bar. Any config that names a graphType is untouched.
  • New getSpec() + getEmbedSnippet(): getSpec returns the chart as a plain {renderTo,data,config} spec; getEmbedSnippet returns a pasteable HTML embed (canvas + versioned CDN css/js + new CanvasXpress). Hosting/URL = dashboards.

[73.5] — 2026-11-03

  • cxplot/ggplot: geom_errorbar/errorbarh now render on a continuous (Scatter2D) plot -- the scatter branch drew nothing, so bars were dropped; draws asymmetric I-beams with caps from ymin/ymax/xmin/xmax. Categorical path unchanged.
  • Sankey: a node whose every link is hidden by sankeyHide is now dropped entirely (box + label), not just its ribbons; it still counts in the flow graph so source box heights and showDataValues totals stay honest (issue #320).
  • cxplot/ggplot: dumbbell charts (geom_line(aes(group=pair)) over geom_point, no boxplot) now draw the paired connector lines via connectBy; previously only the points rendered. Connector colour follows the line's fixed/aes colour.
  • cxplot/ggplot: stat_density(geom="line") now renders -- a GeomLine layer carrying stat=StatDensity is routed to the density path (kernel estimate + colour/group) instead of drawing a raw, empty polyline of the values.
  • cxplot/ggplot: a geom_density overlay on a geom_histogram now keeps the bars -- geom_density no longer force-clears showHistogramBars when a GeomHistogram layer is present, so the histogram+density combo draws both.
  • cxplot/ggplot: geom_bar(fill=) (a fixed palette, not an aes) over a categorical x now colours each bar from the vector and drops the legend; previously every bar was grey because no colorBy carried the User colours.
  • R converter (ggplot.as.list): computed aes/facet expressions (round_any(x,.5), env-var columns, factor() in facet_wrap) are materialised into columns so they map; original text kept as the label. Fixes binned/env-var/faceted plots.
  • R converter (ggplot.as.list): geom_bar()+stat_count over a BARE numeric x coerces that x to a factor, so it draws one bar per unique value like ggplot instead of a sample per row. geom_col/geom_histogram stay continuous.
  • cxplot/ggplot: a geom_point over a grouped profile line (geom_line(aes(group=g)) on a categorical x, pivoted to a Line) keeps the Line + colour grouping and draws points as markers, instead of resetting to Scatter2D (near-empty).
  • R converter (ggplot.as.list): a numeric facet variable (facet on a numeric column) is coerced to a factor so panels are discrete (one per value) like ggplot; a continuous facet otherwise binned/interpolated and left panels empty.
  • cxplot/ggplot: scatter error bars -- geom_errorbarh (emitted as GeomErrorbar with an x override) is now detected as horizontal, and the axis range grows to include the bar extents so bars/caps are not clipped off-plot.
  • cxplot/ggplot: point shapes 21-25 (filled with a separate outline) now render -- shape 21 maps to a filled circle and the colour aesthetic drives the point border, so a white-filled point (fill="white") shows its ring.
  • cxplot/ggplot: stat_summary(fun=mean, geom="point") over a boxplot draws the per-box mean marker (shrunk via a cxplot-only boxplotMeanSizeFactor) instead of dumping every raw point; existing boxplotMean examples unchanged.
  • cxplot/ggplot: stat_summary(sum/mean) point/line over a categorical x aggregates y per category via geom_group (the geom_bar grouping path) instead of plotting raw rows at a row index; converter no longer precomputes those positions.
  • cxplot/ggplot: geom_raster renders as a filled grid -- drawn through the geom_tile/geom_rect path (converter emits each cell's xmin/xmax/ymin/ymax + fill) instead of routing to geom_contour, which left an uncoloured point grid.
  • cxplot/ggplot: overlaid geom_histogram(data=subset) layers render as bars via geom_rect (own-data bin bounds); geom_rect now honours a fixed fill colour + alpha so overlaps blend, and base points no longer paint.
  • cxplot/ggplot: a geom_line with an overridden y (aes(y=pred)) or its own overlay data is drawn as per-group segments via geom_segment, so fitted/overlay lines render without disturbing the base layers.
  • cxplot/ggplot: geom_segment honours a per-segment colour array (the old Array.isArray(args) test never matched) and only arches for geom_curve (geom_line/segment stay straight).
  • cxplot/ggplot: a wide scale_size(range=...) on a size aes now sizes points by ggplot's area ramp -- converter emits the size range, engine switches sizeScale=area with sizeMax from it; default range (<=6) stays on the binned path.
  • ggplot size legend: the key fill now carries the scatter point alpha, so a semi-transparent geom (geom_point(alpha=0.5)) draws grey keys like ggplot instead of solid black; a fully opaque point is unchanged.
  • cxplot/ggplot: a geom_rect/tile/raster with a CONTINUOUS (numeric) fill now shows a continuous colour-spectrum legend bar like ggplot, not a discrete swatch-per-value grid; a factor fill still gets per-level swatches.
  • cxplot/ggplot: a regression/loess fit on a log y axis no longer blanks the plot -- the overlay y-range (transformed space) is inverted back to raw before joining the data range, so the axis no longer logs a negative to NaN.
  • R converter: a fill-grouped geom_histogram(position="identity") emits each group's precomputed bin bounds + fill, so the engine draws ggplot's OVERLAPPING alpha-blended histograms (via geom_rect) with a per-level legend, not stacked.
  • cxplot/ggplot: a geom_segment spike to a baseline over a continuous/date x,y (aes(xend=date, yend=0)) now renders as a Scatter2D with coloured bars from the baseline, not a blank categorical Bar.
  • cxplot/ggplot: the area size legend stays a single column (thinned to fit, never split); a continuous colour indicator over a large range labels ticks in compact exponential (1.2e+9) and sizes the legend box to it.
  • cxplot/ggplot: a bin2d with scale_fill_gradient(trans="log10") spreads the cell colours (and the indicator) logarithmically instead of washing every cell to the low end; the indicator labels original values at the log ticks.
  • cxplot/ggplot: geom_bin2d(aes(weight=w)) colours each cell by the SUM of the weight over its points, not the count, so cells and legend match ggplot's weighted range; an unweighted bin2d is unchanged.
  • cxplot/ggplot: geom_point(shape=21..25, stroke=N) now draws the point border at the stroke width (outlineWidth), so a heavy stroke makes a thick ring like ggplot instead of a default thin outline.
  • R converter: geom_bar(stat="count") over a bare NUMERIC x keeps ggplot's continuous x spacing -- it emits the built bars' bounds (geom_rect path) instead of coercing x to a factor (equal-spaced bars); a discrete x is unchanged.
  • cxplot/ggplot contours: the long->grid reshape sorted the numeric axes as strings (1,10,11,2,...), scrambling the z grid into tangled lines; it now sorts numerically, so geom_contour draws clean nested iso-lines.
  • cxplot/ggplot contours: geom_contour(aes(colour=after_stat(level))) colours each iso-line by its level, and stat_contour(geom="polygon") renders filled contour bands (filled-contour path) instead of raw data polygons.
  • cxplot/ggplot contours: a contour takes its palette from the ggplot scale (scale_fill_distiller "Spectral") via colorSpectrum, not the native Viridis default; a level-coloured line contour draws a matching level legend.
  • R converter: scale_x/y_continuous(limits=..., breaks=..., labels=...) no longer drops the custom breaks/labels -- limits set min/max but the axis still emits the custom tick values/labels; previously limits alone suppressed them.
  • cxplot/ggplot: a horizontal geom_segment over a scatter no longer collapses the y-axis to [y,y] -- the segment grows the range only when it reaches beyond the data, so points keep their spread instead of squashing onto the baseline.
  • cxplot/ggplot: theme(axis.text.x = element_text(angle = 45)) now rotates the labels -- gg_rotate pins smpTextRotateAuto/varTextRotateAuto off so CanvasXpress's auto label rotation stops re-flattening the explicit theme angle.
  • cxplot/ggplot: geom_histogram(position="dodge") now draws the fill groups side by side instead of stacked -- histogramType reads the layer position (the type-driven default always stacked on the normal per-layer dispatch).
  • cxplot/ggplot: scale_x_continuous(position="top") / scale_y_continuous(position="right") move the axis (ticks + title) to that edge on a scatter -- converter emits x/yAxisPosition, engine shows xAxis2/yAxis2 and hides the primary.
  • cxplot/ggplot: scatter points on a discrete colour scale (e.g. scale_colour_viridis_d) now match their legend -- gg_scales pins the emitted palette as a User scheme so points stop using the GGPlot hue default the legend never used.
  • cxplot/ggplot: theme(axis.text = element_blank()) now hides the tick labels while keeping ticks and axis titles -- gg_theme_axis paints the tick text transparent (no axis-text visibility flag exists); axis.text.x/.y handled per side.
  • Dotplot legend: a grouped histogram-dotplot no longer leaves the loading spinner stuck over the chart -- the legend read dataMetadata.x[colorBy] (undefined when the fill factor is in z) and threw, aborting the draw before hideMask().
  • cxplot/ggplot: the geom_smooth confidence band is drawn semi-transparent again (ggplot's 0.4 ribbon alpha) -- validateColor(args.fill) was dropping the alpha, leaving a solid grey band that hid every data point beneath it.
  • cxplot/ggplot: a size aesthetic (geom_point(aes(size=pop))) now uses ggplot's area ramp at the default range(1,6) too -- the >6-only gate left the binned path under-sizing the biggest bubbles; area scaling engages from 6 up.
  • cxplot/ggplot: geom_dotplot(aes(fill=factor)) colours each dot by its group -- the global histogram got one index per set (not per point) so dots lost their rows, and a z-annotation colour is now resolved by variable index.
  • draw() now always lifts the loading mask (try/finally around drawGraph): an exception in any draw step no longer leaves the spinner stuck over the chart; the error still propagates unchanged.

[73.4] — 2026-11-03

  • Submodule an web pages content changes.

[73.3] — 2026-11-02

  • Citation (#332): multi-line citations drifted north since 70.9, when drawTextMultiple started honoring 'bottom' (block grows up from centre y0); drawCitation shifts y0 down (n-1)*fontPt/2 to re-centre the block; single-line unchanged.
  • New varTextRotateAuto (default on): variable labels along the bottom of a horizontal heatmap stay horizontal when the longest fits its column band, rotating to varTextRotate only when needed -- variable mirror of smpTextRotateAuto.

[73.2] — 2026-11-01

  • R examples: the generator overwrote hand-fixed cXdumbbell11 data/smp files; it now writes U+00A0 for sample IDs that read.table's header trim would collapse into duplicates, so smpAnnot matches (issue #329).

[73.1] — 2026-11-01

  • Data filters: new dataFilterNumberFormat (falls back to numberFormat) formats range-slider ticks and shows a short label (20M) over the min/max boxes until edited; unset keeps the legacy output.
  • generateExamples (few-shot corpus generator) is now excluded from name obfuscation so tools like canvasxpress-mcp generate_few_shots.py can call it; seed Math.random for a reproducible corpus.

[73.0] — 2026-10-30

  • R example cXdumbbell11: the 72.9 U+00A0 fix was never applied to the data/smp files, so wave-2 IDs still collapsed to duplicate columns under read.table and failed to match smpAnnot (setup_x error); files now use U+00A0 (issue #329).

[72.9] — 2026-10-30

  • CSS load gate: the render pipeline resumed only on the injected canvasXpress.css 's onload, so a CSP-blocked/404/offline host (onload never fires) left every chart blank with no error; it now also resumes on the link's onerror.
  • Heatmap: the left-most rotated bottom-axis variable label no longer spills past the left edge and clips -- the left gutter reserves its horizontal reach (floor, capped), mirroring the #322 top/title fix for sample labels (issue #327).
  • R examples (cX-function.R): the generator now renders nested booleans as TRUE/FALSE (they parsed as "True") and escapes embedded double quotes in string values, so the sourced file is valid R (issue #328).
  • R example cXdumbbell11: trailing-space-unique wave-2 IDs became duplicates under read.table (headers are space-trimmed, row names not), so smpAnnot rows failed to match data columns (setup_x error); files now use U+00A0 (issue #329).
  • R example cXtimeseries24: a sample label with an embedded newline split the header across lines, so read.table saw more columns than names and failed; the generator now collapses tabs/newlines in names/values to a space (issue #330).
  • R ggplot.as.list: ggplot2 4.0.3.9000 adds a band_gp geom_param to GeomSmooth; the converter leaked it into the emitted JSON and decompiled string, drifting the point_smooth golden fixture; both now drop it (issue #331).

[72.8] — 2026-10-26

  • Demo driver: config "demo" + cx.playDemo() operate the real UI with synthetic input and a ghost cursor; the engine records it natively so demoRecording()/replayDemo() replay it in the Workflow widget.
  • Customizer Theme widget: 4-up grid of larger tiles; added name icons (c_paper..c_forest) for the 8 website presets that had none. ThemeImagesGroup class moved to the inner wrapper so the exact-className click binding still works.
  • Decorations: a datapoint-anchored text marker (smp/var, no value/x/y, reading the point's own value) now centres ON the point -- middle baseline, no margin push -- so a red "X" sits over the point, not above it (issue #325).

[72.7]

  • Fixed the Kaplan-Meier log-rank test throwing, or giving a wrong p-value, when the earliest follow-up times are censored: no missing-slot lookup, and padding now uses the true at-risk count.
  • Fixed the Kaplan-Meier log-rank p-value when both curves share a time and only one has an event there: the other curve's censoring no longer hides the event (matches a standard log-rank test on tied data).
  • Fixed xAxisNumberFormat "auto" (and the other axes) padding ticks to bogus precision (0.17000000000000000) on narrow ranges: auto no longer absorbs the float-noisy tick-step decimals, stays adaptive and never pads.

[72.6] — 2026-10-23

  • Heatmap: rotated left-axis labels now reserve top space so the top label clears the title (issue #322), capped at one title block so very long steep labels don't open a big empty band; unrotated heatmaps unchanged.
  • Decorations: a sample-anchored text marker (smp) with no value/x/y reads that datapoint's value (variable var, else first) so a red "X" sits on the line/bar point, and maps to the plot slot so it tracks when samples hide (issue #325).
  • Added "auto" number format (xAxisNumberFormat:"auto" or {style:"auto"}): tick precision follows the axis decimals, no exponent, no grouping, so 0.14 and 324516 both read cleanly (issue #324).
  • highlightSmp/highlightMode on grouped Boxplot/Dotplot/Violin/Bar: marks read the group index as the sample, so a mark lit its whole group; points now use their sample and boxes/bars any member sample.

[72.5] — 2026-10-23

  • Added heatmapCellSpace (gap px around each cell, inset in drawHeatmap, opt-in default 0 = legacy contiguous) and a heatmapType "tiled" preset (gap + colorSpectrumBinned + no cell box) for discrete-colour padded-tile heatmaps.
  • Added colorLegendLabels: class names for a stepped colour legend (one per class, lowest first), drawn beside each swatch instead of the numeric edges; needs class breaks and colorLegendSteps "equal".
  • Perf: 500K-row ggplot histogram renders ~3.5x faster: skip sub-pixel sample-label measuring, count density cells in typed arrays, native-sort large median/quantile, and pin Scatter2D for a histogram-only first render.

[72.4] — 2026-10-22

  • Added heatmapCellText: an array of per-cell text labels (like Plotly's text matrix) drawn centered on standard heatmap cells, so a cell can show a value plus a significance marker such as "0.87*" (issue #322).
  • Fixed objectColorTransparency ignored by XY area plots (Area with both xAxis and yAxis): draw2DArea fill paths now run the fill through getFillColor like the 1D path, so transparency applies; outline stays solid (issue #323).
  • Fixed a rotated line-decoration label clipped at an endpoint on the plot edge: the left/right-aligned anchor is padded inward along the line so the whole label stays inside the panel (issue #323).
  • customLegend: an inside legend (legendInside) is now kept within the x,y plotting panel for every legendPosition, with new per-legend paddingX / paddingY to inset it from the panel edges (issue #323).

[72.3] — 2026-10-22

  • Toolbar/ESC Reset on an R/isGGPlot ggplot no longer reverts to the grey bare base: createCxplotFinalState captures afterRenderInitial (initStack ran before the geoms) and masterReset's replay ignores the auto cxplotFinal shelf state.
  • Fixed ggplot discrete fill bars not matching their legend (bars Viridis, legend hue) for a numeric factor like factor(cyl): gg_scales NoScale keys the colour map by the \x00 level, not stale tp, so bars stop defaulting to Viridis.

[72.2] — 2026-10-20

  • Toolbar/ESC Reset no longer empties a scatter with dataPointSize:"auto"; string presets are kept in setInitialConfig instead of being coerced to NaN.
  • Reset (masterReset) on a 1D graph with an xAxis (e.g. a one-gene Boxplot) re-derives the visible variables once the config is restored, instead of showing every variable.

[72.1] — 2026-10-19

  • getIndices scalar lookups reuse the prebuilt ordered-index hash instead of a linear o.indexOf scan, fixing an O(n^2) load on datasets with very many samples (cxplot histogram of 300k+ observations: ~147s to <1s).
  • Reset (ESC / toolbar Reset) on a cxplot/ggplot replays the pristine construction afterRender captured at initStack, restoring the figure (e.g. geom_histogram) and discarding user actions; before it reverted to the bare Scatter2D base.

[72.0] — 2026-10-19

  • Documentation updated.

[71.9] — 2026-10-19

  • Obfuscation (--secure) now preserves the public accessors getSVGString, dataToR, dataToPython and dataToCxplot so external callers (canvasxpress-dashboards figure composer + reproducible bundle) resolve them in minified builds.
  • New statInference layer: opt-in pairwise significance brackets (p/stars) on vertical 1D groups + native pAdjust (R p.adjust parity: BH/bonferroni/BY/holm/hochberg); Volcano gains a volcano config auto-seeding fold-change/FDR lines.
  • statInference comparisons honor a hidden flag (skip the bracket), so a dashboard FDR-threshold slider can drop non-significant comparisons live.
  • Default graphOrientation for 1D graphs (Bar/Line/Area/Dotplot etc.) is now 'vertical', matching ggplot2 and the cxplot path; types that require an orientation still force it; set graphOrientation:'horizontal' for the old layout.
  • Statistics section in the Customizer and a context-menu submenu (Boxplot/Violin/Bar): brackets, correction, annotate, FDR cutoff (statInference.fdrThreshold), comparisons, transforms.
  • Auto-stacked statInference brackets space wider (0.18 of range) plus a label+leg clearance floor (exact once pixels are mapped, else estimated from canvas height), so stacked p/stars labels no longer collide with the bracket above.
  • Customizer Statistics: picking a different comparison (or changing its Group A/B) now rebuilds the panel so Group A/B/p-value/Height reflect the selection; the select path skipped the refresh the launcher path already did.
  • Significance authoring consolidated to Statistics: the Decorate "Comparison" marker is dropped on stat-capable charts (a launcher jumps there), and statInference brackets no longer list as editable decorations (fixing a crash).
  • Legacy pwc markers (geom_pwc) fold into statInference at render (migratePwcToStatInference), so the Comparisons list, Show/Hide, correction, FDR and annotate all cover them (2-group -> named, 4-group -> fractional midpoints).
  • Comparisons carry an optional facet scope (a Scope dropdown on faceted charts, via bracketPassesLayoutScope), so a scoped bracket draws only in its own panel instead of stacking across every panel.
  • Significance brackets now work on HORIZONTAL 1D charts: the gates allow it and the renderer draws a vertical rule with leftward legs and a right-side label (mirroring the vertical bracket).
  • Fixed significance brackets jumping off-position under a data transform (e.g. log2): auto-stacked heights are already in axis space (axisSpaceValue) and are no longer transformed a second time; an explicit entered height still is.
  • Heatmap/Gantt (and Upset, a Heatmap internally) still force horizontal orientation but no longer flash the 'Graph orientation switched to horizontal' notice on every render that starts from a vertical default.
  • Label decoration background box now wraps the text instead of sitting a half-box low (roundrect is centred, so its y is half the measured height below the top edge), removing the empty gap under multi-line labels.
  • A decoration/background image that fails or stalls (404, blocked, offline, unreachable host) no longer hangs the chart forever: onerror plus an imageTimeOut deadline render it anyway; a later load re-renders with the image.

[71.8] — 2026-10-16

  • Boxplots and dotplots (incl. Cleveland/Dumbbell) now default dataPointSize to 15 so overlaid points render at ggplot2's geom_point diameter; scatter keeps the base default of 10. Applied only when the point size is unset by the user.
  • smpTextRotateAuto (now a config option, default true) keeps sample and grouping-factor labels of vertical 1D plots horizontal when the longest fits its band (ggplot-like), rotating only when cramped; re-evaluated on resize.
  • cxplot ggplot boxplot+jitter: a fill-mapped box now keeps its group fill at the layer alpha with group-coloured border/median instead of blanking white, and the colour factor keeps its axis labels when it IS the x/y aesthetic.
  • Fit lines & confidence areas are clickable (selectableFits, default on): clicking a regression/loess/forecast fit or a KM curve/band selects, broadcasts & recolours the cohort it was computed over (a KM arm = its whole cohort).
  • dataPointSize accepts "auto" (opt-in): scatter point size derives from plot area, damped by point count, so sparse/large panels get bigger dots and dense plots stay small; numeric sizes (incl. default 10) unchanged.

[71.7] — 2026-10-15

  • Added sankeyHide (Sankey): names a sample annotation flagging links to drop; the ribbon is not drawn but the link stays in the flow graph, so node values, box heights and the showDataValues number are unchanged (#320).

[71.6] — 2026-10-15

  • Grouped bar/boxplot ignored a filterUserData filter of raw sample names (dashboard cross-source narrowing): names resolved against group labels and the regroup kept old membership. Now filters ungrouped, regroups fresh.
  • Kaplan-Meier kept the filtered curves after a reset: checkKMPlot recomputed only while variables were hidden (count differs), never when they all came back. The cache now records its visible-variable set and recomputes on any change.
  • Ridgeline crashed (Object.keys of undefined) when ridgeBy named a sample (x) annotation: no Factor densities were built. Ridge offsets now apply only when they exist; otherwise a plain density is drawn.
  • Histogram/Density/Ridgeline over data without variable (z) annotations asked setColorScheme for samples^2 colors (multiplier fell back to the sample count): 278k rows overflowed. The multiplier is now 1 without z.

[71.5] — 2026-10-14

  • Clustered heatmap filter ignored after one pick: setDendrograms reused the cached full tree unless toDoFilter was set, so modifyFilter (filterSmpBy/filterVarBy) re-expanded filtered leaves. Fixed; order kept, tree hidden if filtered.

[71.4] — 2026-10-14

  • Data table: date-typed sample (x) annotation columns in the transposed view now format as dates -- setDataTableCache's column-meta link was gated on !dataTableTransposed, where x names are never columns, so cells showed epoch millis.
  • Oncoprint: the GISTIC 'no alteration' level ('') no longer becomes an empty-named sample annotation (crashed view:'table' on a name-keyed .width); the data table also guards headers missing from its column cache.
  • Oncoprint: an explicit graphType 'Oncoprint' (or isOncoprint) on pre-built {y} object data now wires the data2/data3 CNA/MUT layers -- object data skips arrayToCX, so the request was a silent no-op and drew a plain heatmap.
  • Oncoprint: ESC (masterReset) no longer demotes an auto-detected oncoprint to a plain heatmap -- the oncoprintCNA/MUT/EXP/Presorted layer wiring is chart identity (like scatterType) and is now carried across the reset.
  • Oncoprint: switching a copy-number-only matrix to Oncoprint (Customizer/menu) now converts it to CNA layers; a CNA-only oncoprint no longer throws on the absent mutation layer.

[71.3] — 2026-10-12

  • Vector fields: vectorColorValueColor now colours raw arrows (read the unsuffixed name, so it never applied); raw-mode vectorGroupPalette now colours the groups (passed to colorBy via colorKey; a user colorKey wins).
  • OptionsWall: put/call flank axes auto-scale to the data again (unset optionsWallPut/CallMin/Max read as 0 via isNumeric(false), pinning 0..1 — premium curves were clipped); now isNumber(v, true).
  • Maps: native XYZ raster basemap (canvasXpress.tiles.js) replaces Leaflet: showTiles + tileType/tileAlpha/tileZoomAlphaColor (leaflet* params removed); LRU cache, prev-zoom fallback, on-canvas attribution, no external load.
  • Docs (#321): the existing public getSVGString() API, which returns the chart as a serialized SVG string (the programmatic form of the File menu Save as SVG), is now listed in the interface method inventory.
  • Maps: panning no longer selects the region under the cursor -- endDrag's Map branch always cleared skipClick (pre-existing; Leaflet masked it) so mouseup fired a click; now preserved (a click still selects).
  • Maps: legacy Leaflet config keys (useLeaflet/leafletTileType/leafletAlpha/leafletZoomAlphaColor) are input-only aliases of the tile* keys, so maps saved with the old names keep working after the Leaflet removal.
  • Maps: several maps on one page no longer clobber each other's view -- topoJSON-less maps shared one geojson and wrote per-instance center/zoom/parts onto it (all but the last drew wrong; tiles exposed it); each now copies its geojson.
  • Maps: orthographic moved to a native ES5 module (canvasXpress.geoNative.js); the vendored d3-geo port (canvasXpress.orthographic.js) removed (Mercator/Albers already in-house). Same seam, render-identical; map-13 pixel-gated.
  • Sankey: dropped the vendored d3-collection (nest/Map) grouping for a native ES5 one; getD3Sankey renamed getSankeyLayout. Byte-identical output (19 sankey examples + ggplot alluvial fixtures unchanged); -147 lines.
  • Scatter3D: new scatterType 'density' builds a 2D kernel-density surface from scattered points via the native kde2d engine and renders it as a rotatable 3D surface (reuses the function-surface path; no d3). Examples scatter3d-8..10.
  • Network: de-d3'd the disjoint force-directed layout -- renamed manyBodyD3 -> networkManyBodyCharge and quadtreeD3 -> networkQuadtree and dropped the 'D3' naming/comments. Pure rename; layout output byte-identical.
  • Contour: removed the dead, redundant d3-contour density engine (getD3Contour, ~649 lines, zero callers). 2D KDE density contours use the native kde2d + filledContour; no behavior change.
  • Hierarchy: de-d3'd Tree/Circle-pack -- d3hierarchy.js -> hierarchyUtils.js, getD3{Hierarchy,Tree,CirclePack} -> get{Hierarchy,Tree,CirclePack}, 'd3' naming dropped. Pure rename, byte-identical.
  • Scatter3D: fxSamples sets the fx/density-surface grid resolution (default 25, was hardcoded; higher = smoother + finer colour); 3D minor grid lines are now OFF by default (show3DMinorGrid; per-axis x/y/zAxisGridMinorShow refine).
  • Scatter3D: fx surfaces no longer let setMinY/setMaxY (the fx domain) squish the vertical value axis — it auto-ranges; new aspect3D 'data' scales the 3D box to real per-axis data spans (true proportions; default 'cube' unchanged).
  • Scatter3D: 3D axis major-tick count is now automatic (nice number per axis, bounded 4-10) not always 10 — also tightens bounds so the surface fills/centers the box; xAxis3DTicks/yAxis3DTicks/zAxis3DTicks set a target count.
  • Scatter3D: new smoothSurface strokes each surface facet with its own fill colour so facets blend seamlessly (no wireframe/seams) for a soft look -- ON by default; set false to show outline3DColor edges. Best with a higher fxSamples.
  • Scatter3D: 3D grid fix — each face's two directions now use their OWN axis tick count (grids meet at shared edges when counts differ) and the 2D grid rationale (grey GridMajor/Minor colour + width, not black); frame greyed.
  • Scatter3D: *Axis3DTicks is now a TARGET (nice increment for ~N ticks + tight bounds) not a hard count, so a number no longer gives odd wide ranges; and the 3D plot box is larger (canvasWidth/3.3, was /4) to fill more of the panel.
  • Scatter3D: 3D axis titles now lay letters along the PROJECTED axis baseline spaced by real pixel widths and follow the axis angle -- was advancing in 3D-coord units by a pixel width, which bunched/overlapped letters.
  • Scatter3D: the three 3D axis titles now sit the same distance from their tick labels (a consistent lenX/3 gap) -- the Z title was farther out (step6 vs step4, and step varied per axis).
  • Scatter3D: 3D tick labels skip when they would overlap the previous label on the same axis, so an axis viewed nearly edge-on (foreshortened) thins its labels instead of piling them up at the corner; normal views keep all labels.
  • Scatter3D: 3D tick labels stay anchored to fixed box edges but skip when they would overlap ANY label already drawn this render -- same or other axis -- so a foreshortened axis thins instead of piling up, without flipping sides.
  • Scatter3D: each axis title sits on the same anchored box edge as its ticks, a consistent gap out, so title and labels stay together.
  • Scatter3D: zoom stays free but the 3D frame is now clipped (shared setClipArea, as 2D geoms) to the canvas minus the measured legend, so a zoomed-in plot is cut at the edge not painted over the legend/off-canvas; default unchanged.
  • Reset (ESC / master reset) now preserves scatterType like graphType, so a 3D function surface or 3D bars no longer collapse to plain points on reset; setConfigDefaults was dropping it.
  • Density Scatter3D rebuilds its kde2d surface on draw (idempotent) and pins its axes to the surface X/Y/Z columns, so an ESC/reset reconstitutes the surface with the correct Z axis, not an empty plot or a Z axis of density values.

[71.2] — 2026-10-08

  • Customizer Meta panel: property slots (Color/Shape/Size/Group/Segregate/...) pre-fill at load with assigned factors as removable chips, so one can be removed at a time instead of clearing the whole slot; variable/strata shown empty.
  • New themes = the canvasxpress.org style presets, same names: paper/slate/mono/sunrise (light, cx-based) and ocean/midnight/graphite/forest (always dark); one name styles the chart AND its widgets; in THEMES, Theme menu, Customizer.
  • A chart with no theme on a page whose names a preset (the site's palette icon) takes that preset; explicit theme always wins. Generated 01c-theme-site.css re-tints the --cx-ui-* widget roles per preset.
  • One style registry (CanvasXpress.styles + deriveStyleDef): theme also names a widgets look (modern/bms/colorful/rdc/ngs360; [chart, widgets]); dataUIStyle = default|minimal (soft borders); legacy stripped = dataTableStriped:false.
  • Every chart theme now styles its widgets from its own accent (CanvasXpress.styles registry: aliases wsj/wallstreet/wallstreetjournal, ggplot/grey/gray/igray, paultol/ptol ... resolve to one style; wallstreet palette fixed).

[71.1] — 2026-10-07

  • Site search (canvasxpress.org): the corpus now also indexes the companion repos (README + docs/ markdown), so results span the whole project; repo hits deep-link to GitHub in a new tab. Build/site only; no change to the core library.
  • Docs site: four new feature-guide pages (Themes/Colors, Decorations, Statistical Fits & Clustering, Exporting) + Accessibility card on documentation.html, plus a TechArticle/hasPart LLM hook. Site only; no core-library change.

[71.0] — 2026-10-06

  • Area graphs: new areaShowColumns (default off) draws a solid bar at each category over the band -- a TrendPlot (stacked bars + translucent area). areaColumnWidth sets bar width (0..1 of slot); composes with any areaType/areaStyle.
  • Heatmap overlays: new "Violin" annotation-track type (overlay type:"Violin"), mirroring Boxplot -- a per-segment KDE violin spanning the band, honoring violinScale/violinTrim/violinQuantiles. Default-off; added to Customizer picker.
  • Heatmap overlays: getOverlaysForTypePosition grouped EVERY track at a Boxplot/Violin band regardless of type, so a Boxplot/Violin next to a Default/Pie/Bar track clobbered its layout (crash); now groups only same-type tracks.
  • Vector-field plots: scatterType "vectorfield" on Scatter2D (new velocity.js) = plotthis VelocityPlot + matplotlib quiver/streamplot; vectorFieldMode raw/grid/stream (arrows, grid quiver, RK4 streamlines by magnitude). Default-off.
  • Hover: vector-field arrows/streamlines and clustree nodes/edges now show tooltips -- their custom marks carry ready-made HTML in idx[1], surfaced via a rawHTML branch in extractDataObjectFromIdentifiers (were silent).
  • Vector-field raw arrows now colour via colorBy (group annotation): the standard group legend filters groups -- hidden arrows honour the Property legend key like the point loop (grid/stream magnitude ramps stay informational).

For the complete release history of every version, see the full update log.

⇧