Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

See the difference between dashboards- gardiner and richmond #66

Draft
wants to merge 53 commits into
base: richmond-dev
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
5a37bbb
Add documentation to use street as tabs
chmnata Dec 3, 2019
34b5add
#57, #53, #54 Change tabs to represent streets
chmnata Dec 3, 2019
1f13b47
modify max_tt to use max for each street instead of direction
chmnata Dec 4, 2019
51552cb
changed to gardiner query
chmnata Dec 4, 2019
90b759b
find max_tt with both direction in a street
chmnata Dec 4, 2019
81b0ddb
update documentation for changing max_tt
chmnata Dec 4, 2019
f47d40c
#56 order time period buttons by ordering timeperiod in sql
chmnata Dec 4, 2019
6bc6a86
change month/week sql to generate day up to yesterday
chmnata Dec 4, 2019
2ef5492
add overflow breakword to fix #58
chmnata Dec 4, 2019
372d76d
remove td width to free up space for street column
chmnata Dec 4, 2019
2e60763
make left div scrollable #48
chmnata Dec 4, 2019
306c51c
#61 add baseline button
chmnata Dec 5, 2019
832365c
Seperate adelaide, richmond, and eastern tab
chmnata Dec 6, 2019
689a659
Upgraded plotly to lastest version
chmnata Dec 6, 2019
ab13dae
remove modebar
chmnata Dec 6, 2019
1de25cd
get rid of scrollable card
chmnata Dec 6, 2019
6354f6d
Add temp buttons for baseline toggling
chmnata Dec 6, 2019
0ea9b88
modify update table and update graph for baseline #61
chmnata Dec 6, 2019
ef244b8
#61 add style changes for baseline button
chmnata Dec 6, 2019
b160c0b
#62 Edit media stylesheet for printing
chmnata Dec 9, 2019
cc1de40
#62 add button and .js for printing
chmnata Dec 10, 2019
cc6a5cf
Move print button and add callback for baseline description
chmnata Dec 10, 2019
bec9642
#62 remove footer and header in print layout
chmnata Dec 10, 2019
3224e17
#62 remove selection box on table in print layout
chmnata Dec 10, 2019
fd5b96c
#63 change table name and street name in rows
chmnata Dec 10, 2019
786b90e
#63 shift title and add a new className for title
chmnata Dec 10, 2019
b9ec86c
changed graph title and other minor styles
chmnata Dec 10, 2019
31f3441
#64 #61 Remove tt desc when baseline is toggled off& remove gridline
chmnata Dec 11, 2019
bd21411
#64 #61 Remove cell styling when baseline is toggled off
chmnata Dec 11, 2019
9fe5285
#65 Set title background
chmnata Dec 11, 2019
7e04591
#65 force print background in css
chmnata Dec 11, 2019
40cecc8
#65 Fix title background by adding a new class and div
chmnata Dec 11, 2019
eda84f2
#62 Modify table style for print layout
chmnata Dec 11, 2019
c2ed8a9
Moved baseline description
chmnata Dec 11, 2019
41c8cc4
#63 #62 MAKE EVERYTHING BIGGER in print layout
chmnata Dec 11, 2019
0d45ad8
add dag for refreshing materialized view
chmnata Dec 12, 2019
f0deb71
Add reload_gunicorn task in dag
chmnata Dec 12, 2019
8f8056f
Add scheduling with airflow in readme
chmnata Dec 12, 2019
d829a47
update dag file
chmnata Dec 12, 2019
1ddb302
fix syntax
chmnata Dec 12, 2019
a24806f
change datetime.date to pd.timestamp and fix week month sql
chmnata Dec 13, 2019
6778580
change week/month sql
chmnata Dec 13, 2019
009fb0b
update basleine and daily view
chmnata Dec 13, 2019
5a69a64
update dash sql
chmnata Dec 13, 2019
2b06831
change tab font and to toronto orange
chmnata Dec 13, 2019
6be551c
add margin-left for media print
chmnata Dec 13, 2019
b9f6c79
how could i forgot margin-right
chmnata Dec 13, 2019
9dcff51
change scheduling to 730am everyday
chmnata Dec 16, 2019
171b966
just some spacing changes
chmnata Dec 16, 2019
dcd6430
add list of deloyed app
chmnata Dec 16, 2019
a8a6425
clean up branch
chmnata Dec 16, 2019
1715da7
#28 actually fix function to display no data in table
chmnata Dec 16, 2019
0fcc6b4
change pathname to gardiner-rehab
chmnata Dec 16, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove modebar
chmnata committed Dec 6, 2019
commit ab13dae061ab3f25679ae41d2ec1709d0c35f57e
11 changes: 1 addition & 10 deletions app.py
Original file line number Diff line number Diff line change
@@ -1068,16 +1068,7 @@ def update_graph(period, day_type, orientation, *args):
if figure:
return html.Div(dcc.Graph(id = GRAPHS[graph_number],
figure = figure,
config={'displaylogo':False,
'modeBarButtonsToRemove': ['sendDataToCloud','scrollZoom'
'zoomIn2d',
'zoomOut2d',
'hoverClosestCartesian',
'hoverCompareCartesian',
'hoverClosest3d',
'hoverClosestGeo',
'resetScale2d',
'lasso2d','toggleSpikelines','select2d','displaylogo']}
config={'displayModeBar': False}
))
else:
return html.Div(className = 'nodata')