Liking cljdoc? Tell your friends :D

Change Log

[0.4.0] - 2026-07-16

XChart 4.0.3 chart-type + styling parity pass. All additions are backward compatible.

Added

  • Six new chart types, completing XChart's chart-type set: ohlc-chart (candle/hi-lo/line, with x+OHLC, implicit-x OHLC, optional volume, and x/y line shapes), box-chart (box-and-whisker, with box-plot calculation method and width), horizontal-bar-chart, dial-chart, radar-chart (polygon/circle, with radii labels and per-series tooltips), and heat-map-chart (single-series, piecewise/gradient styling).
  • Fuller keyword coverage in the shared styling foundation: markers (cross, plus, trapezoid, oval, rectangle), XY render styles (step, step-area, polygon-area), category render style (stepped-bar), legend positions (inside-s, outside-s), and OHLC/radar render-style lookups.
  • Accessible and printer-friendly series-color presets (:color-blind-friendly, :printer-friendly) plus explicit :series-colors.
  • Broader styler options across the common, axes, XY, category, and pie stylers (tooltips, legend layout, anti-aliasing, cursor, stacked-sum, clockwise pie, automatic-contrast labels, tick formatters, and more).
  • Chart-space and screen-space annotations for axes charts via add-annotation! / add-annotations! and an :annotations constructor key.

Fixed

  • Map-style pie series ({name {:value n :style {...}}}) referenced an undefined symbol and could not be constructed; this path now works and is covered by tests.

[0.3.7] - 2026-07-16

Changed

  • Update XChart to 4.0.3. It no longer pulls its exporters transitively, so VectorGraphics2D (0.13), pdfbox-graphics2d (3.0.5) and animated-gif-lib (1.4) are now declared explicitly.

[0.3.6] - 2026-07-12

Changed

  • deps.edn-native build (tools.build; Leiningen via lein-tools-deps).

All notable changes to this project are documented here. This change log follows the conventions of keepachangelog.com.

[0.3.4] - 2026-06-14

Changed

  • Standardize README structure and badges (docs only).

[0.3.3] - 2026-06-13

Changed

  • Bump default/dev Clojure 1.12.0 -> 1.12.5 (latest patch). Provided scope, no consumer impact; the 1.12 CI cell now exercises the current release.

[0.3.2] - 2026-06-11

Added

  • Docstrings for the public bubble-chart and normalize-categories.

[0.3.1] - 2026-06-11

Fixed

  • Restore :java-source-paths, which had been dropped in 0.3.0. The com.hypirion.clj-xchart.opt namespace imports the bundled ListMapping Java helper, so the 0.3.0 jar was missing that class and cljdoc analysis failed. The core namespace was unaffected. Added a regression test that exercises the opt namespace end to end.

0.3.0 - 2026-06-11

Maintenance fork, published to Clojars as net.clojars.savya/clj-xchart. The Clojure namespace is unchanged (com.hypirion.clj-xchart), as is the keyword-based chart API.

Changed

  • Port from XChart 3.2.1 to XChart 4.0.1. XChart 4.x was a major API overhaul; the library no longer compiled or ran against it.
    • Vector export (SVG/PDF/EPS) now uses XChart's own VectorGraphicsEncoder instead of the dropped de.erichseifert.vectorgraphics2d classes.
    • Styling setters that moved from the base Styler onto the per-chart styler subclasses are dispatched correctly again.
    • Pie "annotations" became "labels" upstream; the :annotations? / :annotations-font keys now drive the pie/category label styling, and :annotation-type maps to the new LabelType.
  • Default to Clojure 1.12; test across Clojure 1.10/1.11/1.12.
  • Enable *warn-on-reflection*; only the (intentional) polymorphic addSeries calls remain reflective.

Added

  • :value and :name-and-value pie annotation types (newly available in XChart 4.x).
  • Characterization tests that render every chart type to every output format.
  • GitHub Actions CI (JDK x Clojure matrix).

Removed

  • The empty :java-source-paths build configuration.
  • Axis titles on pie charts (XChart 4.x removed them; pie charts have no axes).

Can you improve this documentation? These fine people already did:
Savyasachi & Jean Niklas L'orange
Edit on GitHub

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close