Skip to content

Commit

Permalink
Version 4.9.28
Browse files Browse the repository at this point in the history
  • Loading branch information
martynasma committed Jun 29, 2020
1 parent d1f167e commit 64624d6
Show file tree
Hide file tree
Showing 63 changed files with 475 additions and 192 deletions.
13 changes: 11 additions & 2 deletions build/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,13 @@ function makeSrc(entries, path) {
const filename = path.name + ".js";

if (path.name === "core") {
$fs.writeFileSync("polyfill.js",
`export const Promise = window.Promise;`);

$fs.writeFileSync(filename,
`import * as m from "../es2015/core";
`import { Promise } from "./polyfill";
import "core-js/stable";
import * as m from "../es2015/core";
window.am4core = m;
// TODO move all of this code into a different module and then import it
Expand All @@ -84,9 +89,13 @@ function dirpath(x) {
}
__webpack_public_path__ = dirpath(getCurrentScript().src);
if (Promise) {
window.Promise = Promise;
}
`);

entries["core"] = ["core-js/stable", "./" + filename];
entries["core"] = "./" + filename;

} else {
const mangledName = mangleName(path.name);
Expand Down
21 changes: 21 additions & 0 deletions dist/ember/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,27 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
Please note, that this project, while following numbering syntax, it DOES NOT
adhere to [Semantic Versioning](http://semver.org/spec/v2.0.0.html) rules.

## [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] - 2020-06-18

### Added
Expand Down
2 changes: 1 addition & 1 deletion dist/ember/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@amcharts/amcharts4-ember",
"version": "4.9.27",
"version": "4.9.28",
"description": "Ember add-on for amCharts 4",
"keywords": [
"ember-addon",
Expand Down
21 changes: 21 additions & 0 deletions dist/ember/vendor/script/amcharts4/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,27 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
Please note, that this project, while following numbering syntax, it DOES NOT
adhere to [Semantic Versioning](http://semver.org/spec/v2.0.0.html) rules.

## [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] - 2020-06-18

### Added
Expand Down
2 changes: 1 addition & 1 deletion dist/ember/vendor/script/amcharts4/core.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/ember/vendor/script/amcharts4/core.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/ember/vendor/script/amcharts4/deps/xlsx.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/ember/vendor/script/amcharts4/maps.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/ember/vendor/script/amcharts4/maps.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/ember/vendor/script/amcharts4/plugins/annotation.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/ember/vendor/script/amcharts4/plugins/regression.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/es2015/.internal/charts/Chart.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/es2015/.internal/charts/Chart.js.map

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions dist/es2015/.internal/charts/axes/Axis.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,7 @@ export interface IAxisProperties extends IComponentProperties {
* @default true
*/
hideTooltipWhileZooming?: boolean;
zoomable?: boolean;
}
/**
* Defines events for [[Axis]].
Expand Down Expand Up @@ -1224,4 +1225,18 @@ export declare class Axis<T extends AxisRenderer = AxisRenderer> extends Compone
* @return Hide tooltip while zooming?
*/
hideTooltipWhileZooming: boolean;
/**
* @todo mm
*/
/**
* Should the axis be zoomed with scrollbar/cursor?
*
* @default true
* @since 4.9.28
* @param value Zoomable?
*/
/**
* @return Zoomable?
*/
zoomable: boolean;
}
Loading

0 comments on commit 64624d6

Please sign in to comment.