amCharts 5: Maps
Add interactive, stunning, geographical maps to your websites or applications.
Published by amCharts
Distributed by ComponentSource since 2019
Prices from: $ 176.40 Version: 5.x NEW Updated: Apr 26, 2024
Released: Nov 3, 2021
Updated Oct 10, 2023
SliceGrouper
would use first color in series for a "group" slice if series was using a color set with custom list of colors.5.4.10
).forceInactive
was not working on Container
.Updated Oct 6, 2023
XYChart
was not focusable.PieSeries
could overlap with other slices if some slices were hidden.XYChart
.Updated Sep 22, 2023
"z"
date formatting codes were not respecting the Root.timezone
setting.groupData
of DateAxis
was changed from true
to false
, the chart was not displaying the newly-loaded data properly.XYCursor
and releasing outside plot area.Animation's "stopped"
event) the animation would not play.
Updated Sep 18, 2023
originalEvent
to all XYCursor
events.selectcancelled
event to XYCursor
.Updated Sep 4, 2023
"@series"
ref inside of a bullet to access the series of the bullet."#foo.get('bar')"
syntax to look up settings on the referenced object.DateAxis
could error out when using time zones.aria-hidden
was set to incorrect value.Updated Aug 26, 2023
addChildData()
has been added to Hierarchy
.wheelY: "none"
is set, regardless of the wheelX
setting.Updated Aug 15, 2023
aria-hidden
attribute set, so they are not read out by screen readers.Updated Aug 7, 2023
toGlobalPosition(position)
. Converts relative axis position taking into account its current zoom count.FlowNodes
: disabledField
. Allows pre-collapsing of nodes using data.geoJSON
.stops
.calculateSize
when using transform: scale
.Updated Jul 18, 2023
Label
with wrapping/truncation, containing only symbols like question mark could make the whole chart break in a dead loop.exclude
/include
settings on MapSeries
was being ignored when new data was set for the series.Updated Jul 4, 2023
Updated Jun 28, 2023
getTooltipText()
method on Axis
now has a second parameter adjustPosition
(default: true
). It only affects DateAxis
. If set to false
will not adjust position before formatting date by base interval.Root
element now has three additional settings: focusable
, ariaLabel
and role
(all are empty by default).role
of the <div>
element that holds focusable elements has been changed to graphics-document
(was application
) to better reflect interactive element.<div>
element that holds <canas>
elements now has aria-hidden="true"
set.type
with the JSON plugin, it will now always replace the existing Entity instead of merging.ariaLabel
on horizontal scrollbar grips were being populated to a slightly wider range than actual range of the related DateAxis
.ExportingMenu
methods open()
and toggle()
were not working when attached to click events on external elements.ListTemplate
(like grid
).sprite.hideTooltip()
was called.Sprite
and tooltipPosition
was changed from "fixed"
to "pointer"
, it was not following mouse unless you unhovered and then hovered over sprite again.Updated Jun 13, 2023
XYCursor
will no longer freeze when selecting and pointer moves out of plot area.Treemap
's focus navigation using arrow keys and focusableGroup
was not working properly.Annotator
plugin was sometimes retaining drawings after drawing was canceled.Updated Jun 1, 2023
geoJSON
on a PolygonSeries
were not working since 5.3.13
.PolygonSeries
was resetting map position.Legend
data fixed.Updated May 30, 2023
5.3.13
.Updated May 30, 2023
forceLTR
(default: false
) setting on NumberFormatter
. If set to true
, it will force all formatted numbers to be LTR, regardless of the direction settings on chart/page.Legend: true
has been added to dataContext
of a legend bullet DataItem
(bullets are created for LineSeries), just so that it is possible to distinguish between bullets created for series and legend.Hierarchy
was not not keeping its node toggle state after resize.Tooltip
was not being disposed properly when Root
element was disposed.Container
with verticalScrollbar
enabled.PieSeries
was erroring if its stroke
setting was set.Updated May 5, 2023
min
and max
settings are now optional for IHeatRule
.XLSX
package (with vulnerability) from dependencies in favor of a bundled hard copy (version 0.19.3) due to their decision not to publish to NPM.getDataItemById()
method was not working properly on Hierarchy
series.Updated Apr 7, 2023
tooltip.label.set("interactive", true)
.Updated Apr 6, 2023
homeRotationX
and homeRotationY
settings have been added to MapChart. This allows you to set home x and y rotations. The chart will rotate to provided values when goHome()
method is called.clickTarget = "none"
is set.Updated Mar 31, 2023
PeriodSelector
setting: hideLongPeriods
. Indicates whether to hide buttons for periods that are longer than the actual data on chart.DrawingControl
methods: clearDrawings()
and setEraser(true | false)
.hide()
and show()
will now properly hide and show any indicator.MapChart
methods zoomToGeoPoint()
and zoomToGeoBounds()
now accepts rotationX
and rotationY
parameters. If provided, the map will not only zoom to the provided point/bounds but will rotate so that this point/bounds would be in the center. Mostly useful with geoOrthographic
projection.MapChart
's convert()
method now accepts rotationX
and rotationY
optional parameters. If provided, the calculations will be done as if map is rotated by provided values.MapPolygonSeries
/MapPointSeries
method zoomToDataItem()
now accepts an optional boolean rotate
parameter. If it's true
, the map will rotate so that this point/polygon would be in the center. Mostly useful with geoOrthographic
projection.pointerOrientation
on a Tooltip
was not updating an already visible tooltip.Updated Mar 24, 2023
oversizedBehavior: "hide"
setting) Label
elements will now trigger boundschanged
events.marginTop
and marginBottom
have been set to 1
on all ZoomControl
buttons.keepTargetHover: true
.tooltipContainerBounds
set.DrawingControl
can now be used completely standalone.series.data.setIndex
was used to update old data (since 5.3.7).zoomToValues()
(and zoomToDates()
by extension) method on GaplessDateAxis
was not working correctly with a date range outside of actual data range.Updated Mar 9, 2023
calculateSize
setting on Root
. This is needed if you are using a transform: scale(...)
CSS style.DateRangeSelector
: minDate
and maxDate
. Allows restricting date selection to specific date ranges.DateRangeSelector
will now limit dates to actual range of data. To disable set minDate
and maxDate
to null
.XYSeries
were creating Bullet
objects even if distance between them was less than minBulletDistance which was not efficient and could slow the browser down.ghostLabel
obstructing interactivity for other labels.Updated Feb 27, 2023
cors
setting for Picture
(defaults to "anonymous"
).beginPath
method has been added to CanvasGraphics
.ColumnSeries
could remain visible on the plot area even if the whole column was out of visible axis bounds.ghostLabel
was causing some interfering issues with interactive labels of an axis.Updated Feb 24, 2023
5.3.4
as it was causing other issues.Updated Feb 20, 2023
cellWidth
read-only private setting has been added to Axis
. This holds a distance in pixels between two grid lines. It might not be accurate as grid on DateAxis
might not be at equal intervals.getCellWidthPosition()
has been added to all axis types. This returns the relative distance between two grid lines of the axis.GaplessDateAxis
was not taking into account missing dates when using zoomToDates()
or zoomToValues()
methods.ValueAxis
was zooming to incorrect position.Updated Feb 8, 2023
Language
: addTranslationsAny()
. Allows you to add custom translations to locale.getCellWidthPosition()
method on a CategoryAxis
was returning a wrong result.Updated Feb 3, 2023
selectionMinFinal
and selectionMaxFinal
were not being set on a DateAxis
.Updated Jan 31, 2023
mainDataItems
getter has been added to XYSeries
. It returns ungrouped data items array.crisp
is now set to true
by default in Tick
elements.maxTooltipDistance: -1
could be hidden when it should have been shown.@types/d3-hierarchy
.yarn ex.Updated Jan 27, 2023
JSON
plugin which allows serializing and parsing serialized (JSON) configs into charts.crisp
(default: false
) setting has been added to Sprite
. If set to true
, will adjust strokeWidth
to match screen zoom (retina) as well as its positions will be rounded up, so the lines look crisper. It's primarily meant for straight lines, but can work on other objects, too. Use with care, as coordinate rounding might produce overlapping or gaps between shapes that should be adjacent.Root
property: accessible
(default: true
).Root
property: updateTick
(default: true
). Set it to false
to temporarily disable all rendering on Root
. Reset back to true
to resume rendering. Useful when you need to do a bunch of async operations that might result in errors if rendering started before all of them finish.crisp
is now set to true
by default on elements that use straight lines, like grid, ticks, resize button icon, etc.es2015
target instead of es5
.GaplessDateAxis
might get hidden at some zoom levels."YYYY"
(year of week) in date format was not working properly in all cases.Updated Jan 20, 2023
Updated Jan 17, 2023
Updated Jan 4, 2023
MapChart
with a legend could produce error (since 5.2.44).ColumnSeries
with null values could display 1px height loose column on top of the plot container.Updated Jan 2, 2023
Tooltip
had keepTargetHover: true
set, the portions of the tooltip outside the chart area were not being registered for hovers when the Root
element had tooltipContainerBounds
set.DateAxis
with data grouping enabled could go into infinite loop of switching between period in some specific data setups.Updated Dec 20, 2022
ZigZag
indicator was always using 5% deviation even if user set a different value.ColumnSeries
/CandlestickSeries
was not being hidden if a cursor was used and mouse was moved away from the chart.Updated Dec 20, 2022
ForceDirected
node with topDepth
set to 1
was clicked to hide children and then clicked again to reveal them, the clicked node was hidden (since 5.2.42).ValueAxis
with min
and max
set could result in an empty chart (since 5.2.43).Updated Dec 19, 2022
groupintervalchanged
event to DateAxis
which kicks in when data grouping is on, and current group interval changes, e.g. via zooming the chart.min
and max
on a DateAxis
which was not base axis of a series could result in a stack overflow error in some specific cases.PeriodSelector
was not always highlighting the period button when period was selected via selectPeriod()
method.PeriodSelector
was not selecting proper start position on some platforms when data grouping was on and selectPeriod()
was called immediately after initialization of the chart.Updated Dec 16, 2022
reverseGeodata
setting to MapPolygonSeries
. If set to true
, will reverse direction of polygon corners in GeoJSON.linechanged
event to MapLine.snapToSeries
was set, moving mouse to series in the bottom could cause chart cursor to disappear.ZigZag
indicator was showing "NaN" instead of its depth
value.topDepth
setting was not working properly if set to >1.Sprite
was hidden, it hid it's tooltip even if the tooltip at the moment was used by other element. This caused some wrong behavior with Axis tooltips, as all axis elements share the same tooltip.MapLine
was changed and some MapPoint
was assigned to this line, MapPoint
was not always updating its position.geoAlbersUsa
projection was not working if GraticuleSeries
was added to it.MapLine
was showing tooltips in a wrong position (in case lines were not straight).PeriodSelector
was not properly zooming when data grouping was enabled.Updated Dec 8, 2022
Root
's setting tooltipContainerBounds
was not positioning itself outside of the chart if there was space in the chart itself (since 5.2.39).Updated Dec 8, 2022
</