Skip to content

Releases: amcharts/amcharts4

4.9.37

21 Aug 06:19
Compare
Choose a tag to compare

[4.9.37] - 2020-08-21

Fixed

  • Colors for markers in Legend with useDefaultMarkers = true were broken since last release.

4.9.36

20 Aug 10:43
Compare
Choose a tag to compare

[4.9.36] - 2020-08-20

Added

  • New adapter on XYSeries: groupDataitem. When data grouping occurs, each aggregate data item will be passed through this adapter, where you can modify its aggregate value. More info.
  • Two new MapPolygonSeries properties: sortPolygonsBy ( "area" (default), "name", "longitude", "latitude", "id", and "none") and sortPolygonsReversed (default false).

Fixed

  • Export: fontSize option was being ignored when exporting data in PDF.
  • Better format object type checks in DateFormatter and NumberFormatter.
  • Older (non-Chromium) EDGE browser was not showing patterns in the legend markers.
  • If a stacked series was hidden with data item grouping enabled and then axis zoomed in or zoomed out so that group perdiod changes, series were stacked on the wrong position.
  • CircularAxis line was flickering while start/end angle was animating.

4.9.35

12 Aug 10:10
Compare
Choose a tag to compare

[4.9.35] - 2020-08-12

Added

  • New adapter on XYSeries: groupValue. It's now possible to apply custom aggregate value calculation functions for grouped data items. More info.
  • New adapter on Cursor: cursorPoint. Use it to custom-position chart cursor using your own logic.

Changed

  • Accessibility: Now if ENTER is pressed when object with an enabled "hit" event is focused, that event will be triggered automatically.
  • Clicking anywhere on the plot area with XYCursor will now trigger blur on any focused element on the page (consistent to clicking anywhere else on the document).

Fixed

  • RangeSelector plugin was not properly inheriting chart's locale.
  • "x" (timestamp) in inputDateFormat was not working properly.
  • If all values of SankeyDiagram were 0 (zero), nodes were not being arranged and their rectangles were not being displayed.
  • First CategoryAxis label was not visible if minGridDistance was set to 0 (zero).
  • Old series bullets of an XYSeries remained visible when data was updated and data grouping was enabled on related DateAxis.
  • Utils.random() function was not returning value in proper from/to range.
  • Stacking now works only between series of the same type. Previously a LineSeries between two stacked ColumnSeries could mess up stacking for the latter.
  • Zooming in on a part of LineSeries which had strokeDashArray enabled via propertyFields was making the whole line dashed.
  • On a chart with XYCursor hovering on category with a null value for some series, used to display a tooltip for a different category in some cases.

4.9.34

31 Jul 08:30
Compare
Choose a tag to compare

[4.9.34] - 2020-07-31

Added

  • New bullet ShapeBullet in Bullets plugin. Please refer to this documentation article for more info.
  • treatZeroAs added to ValueAxis. Use it to work around zero-value restriction on a logarithmic scale.
  • stackToNegative (default: true) added to XYSeries. Determines whether negative values in a stack will stack in relation to base (zero) line (true; default) or in relation to the previous value in the stack (false).

Changed

  • xlsx dependency was updated from 0.15.4 to 0.16.4.
  • Tooltip snapping on DateAxis now takes Series' location into account.

Fixed

  • Regression plugin: reorder option was not working properly.
  • snapToSeries was not working properly if there was a hidden Series with exactly the same value as the other visible Series.
  • TreeMap and ForceDirectedTree with a single data item and no children were not working properly with chart legend.
  • Horizontal (X) Axis tooltip in a very small document was sometimes positioned with an offset.
  • zoomToRectangle() method of MapChart with deltaLongitude was not working properly if a rectangle crossed the 180 meridian.

4.9.33

23 Jul 10:20
Compare
Choose a tag to compare

[4.9.33] - 2020-07-23

Fixed

  • If an item from a chart with CategoryAxis was removed and then a new item with the same category name was added, chart was not rendering the new item.
  • A chart with multiple series starting/ending not at the same position could result in wrong zoom on ValueAxis
  • Last bullet/column from XYSeries could disappear if end date was not exact as last data items date.
  • LineSeries could skip a point in case distance between data points was very small, resulting in incorrect line series.

4.9.31

21 Jul 08:57
Compare
Choose a tag to compare

[4.9.31] - 2020-07-21

Changed

  • Global adapters are being deprecated due to performance reasons. They will still work on some properties, but may be turned off at some future version. If you are using am4core.globalAdapter, please consider refactoring your code in some other way.
  • If groupInterval is manually set, DateAxis now prepares all intervals. Normally, the chart does not prepare data sets for time intervals longer than the span of dates in the data. This causes problem in case user sets these intervals manually using groupInterval. Note, the groupInterval must be set initially, before data parsing in order data to be grouped into all groupIntervals.

Fixed

  • "Year of week" (YYYY) was not being calculated correctly by DateFormatter.
  • Regression plugin was not working correctly in an all-ValueAxis scenarios.
  • ColumnSeries were not working with dropFromPreviousState.
  • If data was changed on a chart which was zoomed and there were less data items in the new data than there was before, a JS error was triggered.
  • Sometimes a chart with XYChartScrollbar with series in it could produce a JS error if series has its fillOpacity > 0.
  • Series in an XYChartScrollbar was not being shown if options.onlyShowOnViewport = true.
  • zoomToRectangle() call was resulting in an error if called after the MapChart was rotated.
  • CurvedColumnSeries columns were not being filled with proper color (black was being used instead).
  • A chart with multiple series starting/ending not at the same position could result in wrong zoom on ValueAxis.
  • DateAxis with millisecond baseInterval sometimes could show one millisecond less than actual data point in its tooltip.

4.9.30

10 Jul 12:24
Compare
Choose a tag to compare

[4.9.30] - 2020-07-10

Added

  • am4core.options.suppressWarnings global option added (default: false). If set to true, the charts won't output any warnings into console (e.g. "Chart was not disposed").

Fixed

  • Drill-down map with geodataSource problem fixed (since last release only).
  • Issues with cursor/tooltip and other element positioning fixed, when chart was being initialized outside of DOM (no container on init).

4.9.29

09 Jul 14:00
Compare
Choose a tag to compare

[4.9.29] - 2020-07-09

Changed

  • Export: data exported as HTML will now have <thead> and <tbody> tags.
  • XYChart.getClosest() method is now public.
  • Accessibility: Now pressing ENTER while there's a MapChart element focused (using TAB key) will invoke its hit event, if set.

Fixed

  • JSON: heat rules referring to series' bullets were not working, e.g. target: "bullet[0].circle".
  • IE: More fixes to polyfill overriding.
  • ColorSet method next() would fail if currentStep was bigger than minColors, affecting SliceGrouper plugin setups with a lot of slices in particular.
  • On MapChart settings minZoomLevel and maxZoomLevel were being ignored when pinch-zooming.
  • Syncing of axes improved, especially when series of one axis were hidden/shown.
  • If a MapSeries had its geodata loaded via geodataSource, the map used to disappear after div size changed.
  • Legend had a maxWidth set to 200 and this could result labels to be truncated even if there was enough space for them to fit in.
  • Ticks/grid could disappear if ValueAxis had min/max set and data of a chart changed.

4.9.28

29 Jun 12:08
Compare
Choose a tag to compare

[4.9.28] - 2020-06-29

Added

  • New adapter xlsxWorkbook in Export. Will allow decorating a Workbook object before it is exported.
  • chart.exporting text-based API functions (getSVG(), getCSV(), getJSON(), getHTML()) now have third parameter (boolean). If set to false they will return a raw output, rather than data:uri.
  • zoomable property added to all axes (default: true). Setting it to false will make axis not react to zoom events from scrollbar/cursor.

Changed

  • Removed focusable from map chart background series.
  • Polyfills in .js file will now only load on-demand, making it with some frameworks that override default objects.

Fixed

  • Regression plugin: the regression line was not being drawn correctly on a chart with horizontal ValueAxis.
  • Export: images exported on zoomed-out pages sometimes were showing visual artifacts.
  • If a chart cursor was visible (because of soft or hard triggerMove() calls) but the real mouse was out of the plot area, the cursor used to react to clicks even though it shouldn't have.
  • ForceDirectedNode's fill and stroke adapters were not working properly if nodes were initially collapsed.
  • Sprite.hitTest() method was not working properly with nonScaling = true.
  • If a MapChart had geodata loaded via geodataSource.url, the map used to disappear after div size changed.
  • If a legend of a MapChart was disposed, a JS error might happen in some cases.

4.9.27

18 Jun 11:25
Compare
Choose a tag to compare

[4.9.27] - 2020-06-18

Added

  • ExportMenu item definition can now have title property. If set, it will be added to item's title property, which should show a system tooltip on hover.

Changed

  • Hex color parser now supports RGBA format which includes alpha value, e.g. "#FF000080" will produce a 50% transparent red.

Fixed

  • Fixed performance issue with a logarithmic ValueAxis with strictMinMax set to true.
  • Calculated value of sum in the selection of an XYChart could include one extra data item, not visible in the selection.
  • Pie slices with 0 values were sorted incorrectly in FF.