Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Solve #1531, Adjust storage utilization UI page. #1533

Merged
merged 10 commits into from
Jan 15, 2018
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