CityofToronto / bdit_king_pilot_dashboard

Dashboard for King St Pilot
GNU General Public License v3.0
4 stars 2 forks source link

Graph Alignment & Layout #35

Closed ReedRodgers closed 7 years ago

ReedRodgers commented 7 years ago

Aligning graphs horizontally seems tricky, making a plotly subplot doesn't play well with interactivity, as the callback function returns a figure to core.Graph, where subplots takes traces, used to produce figures.

Applying html styling doesn't seem to make it down to the appropriate div container in dcc.Graph, having tried applying inline style to the graph's container, and dcc.Graph itself.

radumas commented 7 years ago

Have you looked at this? Since you have 6 graphs you could assign each of them 2-columns. https://community.plot.ly/t/orient-2-graphs-based-on-window-aspect-mobile-responsiveness/5475

ReedRodgers commented 7 years ago

Thanks Raph, I just implemented your solution.