Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
C-Dash: Define the width of bars in bar graphs
[csit.git]
/
csit.infra.dash
/
app
/
cdash
/
utils
/
constants.py
diff --git
a/csit.infra.dash/app/cdash/utils/constants.py
b/csit.infra.dash/app/cdash/utils/constants.py
index
376fefa
..
34892e7
100644
(file)
--- 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"
# 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.
############################################################################
# Trending.