From a80d298f0a298a4094debc98c409e4adb34dd91f Mon Sep 17 00:00:00 2001 From: Retspen Date: Tue, 21 Apr 2015 17:25:26 +0300 Subject: [PATCH] Fixed intances's CPU graph --- instances/templates/instance.html | 4 ++-- webvirtcloud/settings-dev.py | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/instances/templates/instance.html b/instances/templates/instance.html index 5e58ed0..c9811b1 100644 --- a/instances/templates/instance.html +++ b/instances/templates/instance.html @@ -955,8 +955,8 @@ pointDotRadius: 2, scaleLabel: "<%=value%> %", scaleOverride: true, - scaleSteps: 10, - scaleStepWidth: 10, + scaleSteps: 5, + scaleStepWidth: 20, scaleStartValue: 0, responsive: true }; diff --git a/webvirtcloud/settings-dev.py b/webvirtcloud/settings-dev.py index ab4c2cb..ae963f3 100644 --- a/webvirtcloud/settings-dev.py +++ b/webvirtcloud/settings-dev.py @@ -1,6 +1,8 @@ """ Django dev settings for webvirtcloud project. +HowTo: python manage.py runserver 0:8000 --settings=webvirtcloud.settings-dev + """ from webvirtcloud.settings import *