Skip to content

Commit 5934695

Browse files
author
Thomas Pöhlmann
committed
new bundle
1 parent 8d7fe7e commit 5934695

18 files changed

+214
-234
lines changed

dist/plotly-basic.js

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -43469,18 +43469,16 @@ module.exports = function setConvert(ax, fullLayout) {
4346943469

4347043470
// gets the size of a element
4347143471
function textMeasurement(value, fontSizeString, fontFamily) {
43472-
// var body = $('body');
43473-
// if (fontFamily) {
43474-
// body.append('<span id="testObjectDashboardUtils" style="font-size: ' + fontSizeString + '; width: auto; font-family:' + fontFamily + ';">' + value + '</text>');
43475-
// } else {
43476-
// body.append('<span id="testObjectDashboardUtils" style="font-size: ' + fontSizeString + '; width: auto;">' + value + '</text>');
43477-
// }
43478-
// var elem = $('#testObjectDashboardUtils');
43479-
// var width = elem.innerWidth() + 1;
43480-
// var height = elem.innerHeight() + 1;
43481-
// elem.remove();
43482-
var height = 500;
43483-
var width = 500;
43472+
var body = $('body');
43473+
if (fontFamily) {
43474+
body.append('<span id="testObjectDashboardUtils" style="font-size: ' + fontSizeString + '; width: auto; font-family:' + fontFamily + ';">' + value + '</text>');
43475+
} else {
43476+
body.append('<span id="testObjectDashboardUtils" style="font-size: ' + fontSizeString + '; width: auto;">' + value + '</text>');
43477+
}
43478+
var elem = $('#testObjectDashboardUtils');
43479+
var width = elem.innerWidth() + 1;
43480+
var height = elem.innerHeight() + 1;
43481+
elem.remove();
4348443482
return { width: width, height: height }
4348543483
}
4348643484
};

dist/plotly-basic.min.js

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/plotly-cartesian.js

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -43567,18 +43567,16 @@ module.exports = function setConvert(ax, fullLayout) {
4356743567

4356843568
// gets the size of a element
4356943569
function textMeasurement(value, fontSizeString, fontFamily) {
43570-
// var body = $('body');
43571-
// if (fontFamily) {
43572-
// body.append('<span id="testObjectDashboardUtils" style="font-size: ' + fontSizeString + '; width: auto; font-family:' + fontFamily + ';">' + value + '</text>');
43573-
// } else {
43574-
// body.append('<span id="testObjectDashboardUtils" style="font-size: ' + fontSizeString + '; width: auto;">' + value + '</text>');
43575-
// }
43576-
// var elem = $('#testObjectDashboardUtils');
43577-
// var width = elem.innerWidth() + 1;
43578-
// var height = elem.innerHeight() + 1;
43579-
// elem.remove();
43580-
var height = 500;
43581-
var width = 500;
43570+
var body = $('body');
43571+
if (fontFamily) {
43572+
body.append('<span id="testObjectDashboardUtils" style="font-size: ' + fontSizeString + '; width: auto; font-family:' + fontFamily + ';">' + value + '</text>');
43573+
} else {
43574+
body.append('<span id="testObjectDashboardUtils" style="font-size: ' + fontSizeString + '; width: auto;">' + value + '</text>');
43575+
}
43576+
var elem = $('#testObjectDashboardUtils');
43577+
var width = elem.innerWidth() + 1;
43578+
var height = elem.innerHeight() + 1;
43579+
elem.remove();
4358243580
return { width: width, height: height }
4358343581
}
4358443582
};

dist/plotly-cartesian.min.js

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/plotly-finance.js

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -43511,18 +43511,16 @@ module.exports = function setConvert(ax, fullLayout) {
4351143511

4351243512
// gets the size of a element
4351343513
function textMeasurement(value, fontSizeString, fontFamily) {
43514-
// var body = $('body');
43515-
// if (fontFamily) {
43516-
// body.append('<span id="testObjectDashboardUtils" style="font-size: ' + fontSizeString + '; width: auto; font-family:' + fontFamily + ';">' + value + '</text>');
43517-
// } else {
43518-
// body.append('<span id="testObjectDashboardUtils" style="font-size: ' + fontSizeString + '; width: auto;">' + value + '</text>');
43519-
// }
43520-
// var elem = $('#testObjectDashboardUtils');
43521-
// var width = elem.innerWidth() + 1;
43522-
// var height = elem.innerHeight() + 1;
43523-
// elem.remove();
43524-
var height = 500;
43525-
var width = 500;
43514+
var body = $('body');
43515+
if (fontFamily) {
43516+
body.append('<span id="testObjectDashboardUtils" style="font-size: ' + fontSizeString + '; width: auto; font-family:' + fontFamily + ';">' + value + '</text>');
43517+
} else {
43518+
body.append('<span id="testObjectDashboardUtils" style="font-size: ' + fontSizeString + '; width: auto;">' + value + '</text>');
43519+
}
43520+
var elem = $('#testObjectDashboardUtils');
43521+
var width = elem.innerWidth() + 1;
43522+
var height = elem.innerHeight() + 1;
43523+
elem.remove();
4352643524
return { width: width, height: height }
4352743525
}
4352843526
};

dist/plotly-finance.min.js

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/plotly-geo.js

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -44500,18 +44500,16 @@ module.exports = function setConvert(ax, fullLayout) {
4450044500

4450144501
// gets the size of a element
4450244502
function textMeasurement(value, fontSizeString, fontFamily) {
44503-
// var body = $('body');
44504-
// if (fontFamily) {
44505-
// body.append('<span id="testObjectDashboardUtils" style="font-size: ' + fontSizeString + '; width: auto; font-family:' + fontFamily + ';">' + value + '</text>');
44506-
// } else {
44507-
// body.append('<span id="testObjectDashboardUtils" style="font-size: ' + fontSizeString + '; width: auto;">' + value + '</text>');
44508-
// }
44509-
// var elem = $('#testObjectDashboardUtils');
44510-
// var width = elem.innerWidth() + 1;
44511-
// var height = elem.innerHeight() + 1;
44512-
// elem.remove();
44513-
var height = 500;
44514-
var width = 500;
44503+
var body = $('body');
44504+
if (fontFamily) {
44505+
body.append('<span id="testObjectDashboardUtils" style="font-size: ' + fontSizeString + '; width: auto; font-family:' + fontFamily + ';">' + value + '</text>');
44506+
} else {
44507+
body.append('<span id="testObjectDashboardUtils" style="font-size: ' + fontSizeString + '; width: auto;">' + value + '</text>');
44508+
}
44509+
var elem = $('#testObjectDashboardUtils');
44510+
var width = elem.innerWidth() + 1;
44511+
var height = elem.innerHeight() + 1;
44512+
elem.remove();
4451544513
return { width: width, height: height }
4451644514
}
4451744515
};

dist/plotly-geo.min.js

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/plotly-gl2d.js

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -28980,7 +28980,7 @@ var ndarray = require('ndarray')
2898028980

2898128981
var nextPow2 = require('bit-twiddle').nextPow2
2898228982

28983-
var selectRange = require('cwise/lib/wrapper')({"args":["array",{"offset":[0,0,1],"array":0},{"offset":[0,0,2],"array":0},{"offset":[0,0,3],"array":0},"scalar","scalar","index"],"pre":{"body":"{this_closestD2=1e8,this_closestX=-1,this_closestY=-1}","args":[],"thisVars":["this_closestD2","this_closestX","this_closestY"],"localVars":[]},"body":{"body":"{if(_inline_52_arg0_<255||_inline_52_arg1_<255||_inline_52_arg2_<255||_inline_52_arg3_<255){var _inline_52_l=_inline_52_arg4_-_inline_52_arg6_[0],_inline_52_a=_inline_52_arg5_-_inline_52_arg6_[1],_inline_52_f=_inline_52_l*_inline_52_l+_inline_52_a*_inline_52_a;_inline_52_f<this_closestD2&&(this_closestD2=_inline_52_f,this_closestX=_inline_52_arg6_[0],this_closestY=_inline_52_arg6_[1])}}","args":[{"name":"_inline_52_arg0_","lvalue":false,"rvalue":true,"count":1},{"name":"_inline_52_arg1_","lvalue":false,"rvalue":true,"count":1},{"name":"_inline_52_arg2_","lvalue":false,"rvalue":true,"count":1},{"name":"_inline_52_arg3_","lvalue":false,"rvalue":true,"count":1},{"name":"_inline_52_arg4_","lvalue":false,"rvalue":true,"count":1},{"name":"_inline_52_arg5_","lvalue":false,"rvalue":true,"count":1},{"name":"_inline_52_arg6_","lvalue":false,"rvalue":true,"count":4}],"thisVars":["this_closestD2","this_closestX","this_closestY"],"localVars":["_inline_52_a","_inline_52_f","_inline_52_l"]},"post":{"body":"{return[this_closestX,this_closestY,this_closestD2]}","args":[],"thisVars":["this_closestD2","this_closestX","this_closestY"],"localVars":[]},"debug":false,"funcName":"cwise","blockSize":64})
28983+
var selectRange = require('cwise/lib/wrapper')({"args":["array",{"offset":[0,0,1],"array":0},{"offset":[0,0,2],"array":0},{"offset":[0,0,3],"array":0},"scalar","scalar","index"],"pre":{"body":"{this_closestD2=1e8,this_closestX=-1,this_closestY=-1}","args":[],"thisVars":["this_closestD2","this_closestX","this_closestY"],"localVars":[]},"body":{"body":"{if(_inline_55_arg0_<255||_inline_55_arg1_<255||_inline_55_arg2_<255||_inline_55_arg3_<255){var _inline_55_l=_inline_55_arg4_-_inline_55_arg6_[0],_inline_55_a=_inline_55_arg5_-_inline_55_arg6_[1],_inline_55_f=_inline_55_l*_inline_55_l+_inline_55_a*_inline_55_a;_inline_55_f<this_closestD2&&(this_closestD2=_inline_55_f,this_closestX=_inline_55_arg6_[0],this_closestY=_inline_55_arg6_[1])}}","args":[{"name":"_inline_55_arg0_","lvalue":false,"rvalue":true,"count":1},{"name":"_inline_55_arg1_","lvalue":false,"rvalue":true,"count":1},{"name":"_inline_55_arg2_","lvalue":false,"rvalue":true,"count":1},{"name":"_inline_55_arg3_","lvalue":false,"rvalue":true,"count":1},{"name":"_inline_55_arg4_","lvalue":false,"rvalue":true,"count":1},{"name":"_inline_55_arg5_","lvalue":false,"rvalue":true,"count":1},{"name":"_inline_55_arg6_","lvalue":false,"rvalue":true,"count":4}],"thisVars":["this_closestD2","this_closestX","this_closestY"],"localVars":["_inline_55_a","_inline_55_f","_inline_55_l"]},"post":{"body":"{return[this_closestX,this_closestY,this_closestD2]}","args":[],"thisVars":["this_closestD2","this_closestX","this_closestY"],"localVars":[]},"debug":false,"funcName":"cwise","blockSize":64})
2898428984

2898528985
function SelectResult(x, y, id, value, distance) {
2898628986
this.coord = [x, y]
@@ -79117,18 +79117,16 @@ module.exports = function setConvert(ax, fullLayout) {
7911779117

7911879118
// gets the size of a element
7911979119
function textMeasurement(value, fontSizeString, fontFamily) {
79120-
// var body = $('body');
79121-
// if (fontFamily) {
79122-
// body.append('<span id="testObjectDashboardUtils" style="font-size: ' + fontSizeString + '; width: auto; font-family:' + fontFamily + ';">' + value + '</text>');
79123-
// } else {
79124-
// body.append('<span id="testObjectDashboardUtils" style="font-size: ' + fontSizeString + '; width: auto;">' + value + '</text>');
79125-
// }
79126-
// var elem = $('#testObjectDashboardUtils');
79127-
// var width = elem.innerWidth() + 1;
79128-
// var height = elem.innerHeight() + 1;
79129-
// elem.remove();
79130-
var height = 500;
79131-
var width = 500;
79120+
var body = $('body');
79121+
if (fontFamily) {
79122+
body.append('<span id="testObjectDashboardUtils" style="font-size: ' + fontSizeString + '; width: auto; font-family:' + fontFamily + ';">' + value + '</text>');
79123+
} else {
79124+
body.append('<span id="testObjectDashboardUtils" style="font-size: ' + fontSizeString + '; width: auto;">' + value + '</text>');
79125+
}
79126+
var elem = $('#testObjectDashboardUtils');
79127+
var width = elem.innerWidth() + 1;
79128+
var height = elem.innerHeight() + 1;
79129+
elem.remove();
7913279130
return { width: width, height: height }
7913379131
}
7913479132
};

dist/plotly-gl2d.min.js

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)