Skip to content

Commit

Permalink
updated vis minHeights to 40px to match min heights for flexbos vis l…
Browse files Browse the repository at this point in the history
…ayouts, closes #2125 and #2141
  • Loading branch information
Juan Thomassie committed Dec 8, 2014
1 parent 9ef7295 commit ca1ba8b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/kibana/components/vislib/visualizations/area_chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ define(function (require) {
var elWidth = this._attr.width = $elem.width();
var elHeight = this._attr.height = $elem.height();
var minWidth = 20;
var minHeight = 20;
var minHeight = 40;
var div;
var svg;
var width;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ define(function (require) {
var elWidth = this._attr.width = $elem.width();
var elHeight = this._attr.height = $elem.height();
var minWidth = 20;
var minHeight = 20;
var minHeight = 40;
var div;
var svg;
var width;
Expand Down
2 changes: 1 addition & 1 deletion src/kibana/components/vislib/visualizations/line_chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ define(function (require) {
var xScale = this.handler.xAxis.xScale;
var chartToSmallError = 'The height and/or width of this container is too small for this chart.';
var minWidth = 20;
var minHeight = 20;
var minHeight = 40;
var startLineX = 0;
var lineStrokeWidth = 1;
var div;
Expand Down
2 changes: 1 addition & 1 deletion src/kibana/components/vislib/visualizations/pie_chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ define(function (require) {
var width = $(el).width();
var height = $(el).height();
var minWidth = 20;
var minHeight = 20;
var minHeight = 40;
var path;

if (width <= minWidth || height <= minHeight) {
Expand Down

0 comments on commit ca1ba8b

Please sign in to comment.