Skip to content

Commit

Permalink
Solve #1531, Adjust storage utilization UI page. (#1533)
Browse files Browse the repository at this point in the history
* Solve #1531, Adjust storage utilization UI page.
  • Loading branch information
zhiqiang authored and littlezhou committed Jan 30, 2018
1 parent 6040893 commit 707d198
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function StorageCtrl($scope, baseUrlSrv, $filter, $http, conf, $interval) {
rows:[],
comment: ""
};
var config = {}
var config = {};

var timeGranularity = 60;
var timeRegular = 'HH:mm';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/$interval
*/
angular.module('zeppelinWebApp')

.controller('CopyActionsCtrl', CopyActionsCtrl);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ export default class AreachartVisualization extends Nvd3ChartVisualization {
chart.yAxis.tickFormat(function(d) {return self.yAxisTickFormat(d);});
chart.yAxis.axisLabelDistance(50);
chart.useInteractiveGuideline(true); // for better UX and performance issue. (https://github.com/novus/nvd3/issues/691)
chart.showControls(false);
chart.yDomain([0, 100]);

this.chart.style(this.config.style || 'stack');

Expand Down

0 comments on commit 707d198

Please sign in to comment.