Skip to content

Commit

Permalink
[TPORTAL-5717] Maxium call stack exceeded for horizontal bar chart, w…
Browse files Browse the repository at this point in the history
…ith screen large monitor 1920x1080.
  • Loading branch information
michelezanda committed May 7, 2018
1 parent 91a6f94 commit 38c2a16
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 7 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG_ION.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# plotly.js ION changelog

## [1.33.1-ion11] -- 2018-05-07

### [TPORTAL-5717] Maxium call stack exceeded for horizontal bar chart, with screen large monitor 1920x1080.


## [1.33.1-ion10] -- 2018-05-02

### [TPORTAL-5565] Fixed case of legend wrongly hidden.
Expand Down
4 changes: 2 additions & 2 deletions dist_ion/plotly-ion.js
Original file line number Diff line number Diff line change
Expand Up @@ -32817,7 +32817,7 @@ exports.svgAttrs = {
var Plotly = require('./plotly');

// package version injected by `npm run preprocess`
exports.version = '1.33.1-ion10';
exports.version = '1.33.1-ion11';

// inject promise polyfill
require('es6-promise').polyfill();
Expand Down Expand Up @@ -57639,7 +57639,7 @@ plots.autoMargin = function(gd, id, o) {
if(fullLayout.margin.autoexpand !== false) {
if(!o) delete fullLayout._pushmargin[id];
else {
var pad = o.pad === undefined ? 12 : o.pad;
var pad = o.pad === undefined ? 18 : o.pad;

// if the item is too big, just give it enough automargin to
// make sure you can still grab it and bring it back
Expand Down
2 changes: 1 addition & 1 deletion dist_ion/plotly-ion.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "plotly.js",
"version": "1.33.1-ion10",
"version": "1.33.1-ion11",
"description": "The open source javascript graphing library that powers plotly",
"license": "MIT",
"main": "./lib/index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/assets/geo_assets.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ var saneTopojson = require('sane-topojson');


// package version injected by `npm run preprocess`
exports.version = '1.33.1-ion10';exports.topojson = saneTopojson;
exports.version = '1.33.1-ion11';exports.topojson = saneTopojson;
2 changes: 1 addition & 1 deletion src/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
var Plotly = require('./plotly');

// package version injected by `npm run preprocess`
exports.version = '1.33.1-ion10';
exports.version = '1.33.1-ion11';

// inject promise polyfill
require('es6-promise').polyfill();
Expand Down
2 changes: 1 addition & 1 deletion src/plots/plots.js
Original file line number Diff line number Diff line change
Expand Up @@ -1544,7 +1544,7 @@ plots.autoMargin = function(gd, id, o) {
if(fullLayout.margin.autoexpand !== false) {
if(!o) delete fullLayout._pushmargin[id];
else {
var pad = o.pad === undefined ? 12 : o.pad;
var pad = o.pad === undefined ? 18 : o.pad;

// if the item is too big, just give it enough automargin to
// make sure you can still grab it and bring it back
Expand Down

0 comments on commit 38c2a16

Please sign in to comment.