aboutsummaryrefslogtreecommitdiffstats
path: root/csit.infra.dash/app/cdash/utils/constants.py
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2023-09-06 08:20:36 +0000
committerTibor Frank <tifrank@cisco.com>2023-09-06 08:20:36 +0000
commit9e28d41817b4f1b3a77a4c65d76da9d292fd9d8a (patch)
tree5a073125c7bc2a447e43020f271b010e3b1b2941 /csit.infra.dash/app/cdash/utils/constants.py
parent6fab58d9ae83b73e06c1f1e21ec372f1eac33dd5 (diff)
C-Dash: Define the width of bars in bar graphs
- Width set automaticaly by plotly does not work corectly in all situations. Change-Id: Ib4a2475f6889e8858d3c3cd9c7886a9725df5d0e Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'csit.infra.dash/app/cdash/utils/constants.py')
-rw-r--r--csit.infra.dash/app/cdash/utils/constants.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/csit.infra.dash/app/cdash/utils/constants.py b/csit.infra.dash/app/cdash/utils/constants.py
index 376fefaf3c..34892e79bc 100644
--- a/csit.infra.dash/app/cdash/utils/constants.py
+++ b/csit.infra.dash/app/cdash/utils/constants.py
@@ -359,6 +359,10 @@ class Constants:
# Default name of downloaded file with selected data.
STATS_DOWNLOAD_FILE_NAME = "stats.csv"
+ # The width of the bar in the graph in miliseconds.
+ STATS_BAR_WIDTH_DAILY = 1000 * 3600 * 15
+ STATS_BAR_WIDTH_WEEKLY = 1000 * 3600 * 24
+
############################################################################
# Trending.