frappe/charts
 Watch   
 Star   
 Fork   
3 days ago
charts

v2.3.0

2.3.0 (2026-11-21)

Features

  • add x and y axis titles with xAxisTitle and yAxisTitle (9779407)
  • hide the x or y axis with hideXAxis and hideYAxis (5aadd99)
  • let height 100% follow the parent element's height (de0d102)
  • rotate x axis labels with xAxisLabelRotation (ff04468)
  • show pie and donut legends beside the chart with legendPosition (fa19d81)

Bug Fixes

  • call onClick when a column of an axis chart is clicked (516df7d)
  • keep close line values over points from overlapping (0b64d54)
  • scroll the heatmap inside narrow containers instead of overflowing (1b293e6)
3 days ago
charts

v2.2.0

2.2.0 (2026-11-21)

Features

  • space line chart points by date with a time x axis (5d6753a)
3 days ago
charts

v2.1.2

2.1.2 (2026-11-21)

Bug Fixes

  • use axis number formatter for values over points (1e67fca)
  • use the axis number formatter for line values over points (3a8570e)
3 days ago
charts

v2.1.1

2.1.1 (2026-11-21)

Bug Fixes

  • start the y axis at zero for line [secure] with region fill (c52bcb5)
3 days ago
charts

v2.1.0

2.1.0 (2026-11-21)

Features

  • axisOptions.xOffset 0 to draw line [secure] edge to edge (b1c2223)
  • colors on a bar dataset to colour each bar (16305df)
  • hide x grid lines whose labels are skipped for space (0ab0bdc)
  • keep the chart background colour in exported SVGs (a58578d)
  • lineOptions.spanGaps to connect a line across null values (4fc0e92)
  • lineOptions.stepped for stepped line [secure] (d693a0d)
  • locale and legendLabels options for heatmap text (27f5de9)
  • measures option to set chart margins and paddings (a21ba3b)
  • onClick for pie chart slices and legend items (9de1424)
  • xRegions to shade a range of x labels on axis [secure] (3d7325f)

Bug Fixes

  • allow barOptions.spaceRatio 0 for touching bars (5749ac6)
  • apply the y axis number formatter without shortenYAxisNumbers (99893dc)
  • avoid NaN sizes for [secure] built on a detached element (063677d)
  • avoid negative and NaN shapes in very narrow percentage and donut [secure] (15499a5)
  • draw every heatmap day in time zones other than UTC (c2a9394)
  • draw the real data first when the entry animation is off (330576d)
  • fit the y axis to line data that sits in a narrow band (a1be59f)
  • insert the ES module build's styles first so page CSS can override them (161e9ea)
  • keep the chart title size when the page styles a .title class (79d3e3b)
  • lay out [secure] left to right on rtl pages (dcf9af5)
  • make isNavigable [secure] select points on click and tap (17b42b1)
  • place the heatmap legend squares after the first legend word (98ed7c5)
  • read the base y axis gutter after the chart's measures are final (8af9d3d)
  • redraw axis [secure] when update changes the datasets (b165d53)
  • refresh pie and percentage legends on update and support add/removeDataPoint (5358c9a)
  • render [secure] built with empty or missing data (4a364cf)
  • repeat the colour palette when a chart has more series than colours (9355575)
  • set chart colours without inline style attributes for CSP pages (1224f16)
  • show labels and values in tooltips as plain text (e862b06)
  • show only the total over stacked bars with valuesOverPoints (5ffd018)
  • show valuesOverPoints on line [secure] without dots (9e1d2b6)
  • skip x labels instead of showing dots when there is no room (fcd6d0b)
  • stack negative values below zero in stacked bar [secure] (661d18f)
  • start heatmap weeks on Monday with startSubDomain (9ee39e9)
  • start the y axis at zero when a chart has bars (caea374)
  • use formatTooltipY in pie and percentage tooltips (e8fe515)
  • widen the y axis gutter so long labels are not cut off (8688dec)
  • wrap legends into rows and grow the chart to fit them (d14bc68)
3 days ago
charts

v2.0.0

2.0.0 (2026-11-21)

⚠ BREAKING CHANGES

  • test and release from master

Features

  • [breaking] hide dots by default (dc49b29)
  • add a none mode for the x axis (7f87312)
  • add deepsource (cff7ce4)
  • add resize observer (ed8f97e)
  • add space ratio option for x-axis series labels (0291b8d)
  • add space ratio option for x-axis series labels (399ff37)
  • add trailingDot option (07597eb)
  • add x markers, line options and donut onClick (4bc1e39)
  • add x markers, line options and donut onClick (5988bce)
  • added function for rounded top rect (eecb6fd)
  • added function for rounded top rect (d5c3886)
  • added function for rounded top rect (d3909d4)
  • added helper function for rounded edges (428a447)
  • added helper function for rounded edges (d2dd27d)
  • Adding multi y-Axis support and configurable labes (539bc50)
  • allow clipping yAxis range (b7f20aa)
  • allow custom yRegion colors (8524e6c)
  • allow hiding legends (067f5ea)
  • Allow lineType from Y-marker (2bb46a0)
  • allow more attributes in formatY (#401) (2e3011c)
  • allow setting lineType for yMarker (d8984ec)
  • allow stroke color for yMarker (e2d7ce8)
  • allow y marker stroke (9805e01)
  • Allow y-region colours (6a853ca)
  • always show last label when xIsSeries is toggled (4d8321e)
  • better regionFill gradients (cdf5fbe)
  • change axis line colors (a7b06bb)
  • clone options before building (7e13f81)
  • custom number formatter function (624cf70)
  • default to css vars in makeText (8308b9f)
  • don't override axis line colors (9dd24aa)
  • DonutChart extends PieChart (73f1d9b)
  • experimental! allow overrriding yAxisLabels (f333096)
  • frappe-ui style donut chart (5bb6930)
  • generate es (7dde276)
  • generate sourcemaps inn build (63e0a0b)
  • horizontal bar chart via barOptions.horizontal (666f5c0)
  • ignore dist (0257bc3)
  • new colors (09c3186)
  • new legends (7cfa35a)
  • Non breaking new legends (Backported) (6db78c1)
  • pie chart add select event (b870619)
  • pr 366 initial merge (ae2ae01)
  • remove deprecated MultiAxis (767a905)
  • remove depth for percentage chart (ec8f669)
  • remove depth for percentage chart (846a21a)
  • remove svg pointer border (2c560b9)
  • rewrite build (0e7fa08)
  • round bar tops, space grouped bars and cap bar width (9dc9850)
  • show 4 data points per row in tooltip (3ec3156)
  • show a centred dot legend under axis [secure] (199b804)
  • show bundle size (069a5f7)
  • show the tooltip beside the hovered column with a hover band (f18d6e4)
  • test and release from master (d47b5d4)
  • tooltip border variable and muted donut tooltip percentage (572157b)
  • truncate tooltip (23bdf8a)
  • tune spacing for legends (5e17dea)
  • update build (89fc842)
  • update colors (79157c3)
  • update default space ratio, narrower bars (fbe314d)
  • update legend dots (96095ec)
  • update legendBar (d84614c)
  • update main in package.json (610cfb1)
  • update opacity for light gradient (51a6ed3)
  • update text and line colors (e544270)
  • update tooltip (479752c)
  • update tooltip colors (f7ec6fc)
  • update variables (03f6436)
  • use css variables for styling (39a7a8f)

Bug Fixes

  • accept CSS variable colours and measure donut legend text (4e45a6b)
  • Aggregation chart data.labels (0781eb0)
  • allow option to disable entry animation (f145d6b)
  • backported fp rounding fix (26708dc)
  • better UX for valuesOverPoints (11a1e02)
  • chart labels spacing issue (1b4e206)
  • clone in update (a026567)
  • donut chart, single data point bug (fa559cc)
  • escape tooltip text, keep negatives and every series in horizontal bars (320d6e1)
  • floating point rounding fixes (5d2c141)
  • force deprecate unmaintained animate (3a16d6c)
  • import round function (ce64f01)
  • imports (8bc8231)
  • keep outside stroke styles off bar paths (31f01fa)
  • keep the donut centre fixed and tidy legend hover (f30e23b)
  • keep the github pages redirect to frappe.io/[secure] (2257fcf)
  • make series label space ratio configurable (#424) (dc6ef83)
  • name.replace exception (d6ab5b9)
  • Partial fix for #404 needs more work. (256649f)
  • path building error (db12dcf)
  • range clipping logic (3d6a349)
  • redraw while an update animation is running (eeabb5f)
  • remove duplicate function (8101b18)
  • remove duplicate round fn (10558f8)
  • reset donut hover when the chart redraws (1d70247)
  • reverts 12533f3b376328a8437109977910c8f2041572e5 (92c31af), closes #371 #396
  • rollup scss fs.writeFile err handling (56d7944)
  • rollup to generate css file with proper name (#427) (d8ae43f)
  • round the y axis up to a nice step (b15319d)
  • showLegend and truncateLegend (7b5af70)
  • size horizontal bars to their legend and refresh it on update (aa43a11)
  • style issue with dots (a26a81c)
  • use npm trusted publishing for beta releases (368194e)
  • vaidate y (6529136)
2022-04-27 18:39:50
charts

Frappe Charts v1.6.3

Fixes:

fix: rounding error in the y-axis when max less than 1 (https://github.com/frappe/charts/pull/352) fix: ignore local timezones when creating a heatmap (https://github.com/frappe/charts/pull/377)

2021-04-18 18:42:15
charts

Frappe Charts v1.6.1

Feats

Added new ResizeObserver to the parent container to better handle responsiveness

2021-04-11 18:28:50
charts

Frappe Charts v1.6.0

This release has two major project improvements

  1. Fix long-standing import issue, thanks to @himynameisdave
  2. Remove dist from git tracking, improve DX for contributors
2021-03-11 20:01:48
charts

Frappe Chart v1.5.8

Fixes

https://github.com/frappe/charts/pull/330: Render legend after update https://github.com/frappe/charts/pull/325: Fix ReactJS TypeError

Deps

https://github.com/frappe/charts/pull/331: bump handlebars from 4.1.2 to 4.7.7