Skip to content

Commit

Permalink
small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
stormpython committed Jan 16, 2015
1 parent b695748 commit 057c378
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/kibana/components/vislib/vis.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ define(function (require) {
this.el = $el.get ? $el.get(0) : $el;
this.ChartClass = chartTypes[config.type];
this._attr = _.defaults(config || {}, {
defaultYMin: true
defaultYMin: false
});
this.eventTypes = {
enabled: []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ define(function (require) {
var data = this.chartData;
var xScale = this.handler.xAxis.xScale;
var yScale = this.handler.yAxis.yScale;
var height = yScale.range()[0];
var self = this;

// update
Expand Down

0 comments on commit 057c378

Please sign in to comment.