예제 #1
0
        style={"margin-bottom": "1.5rem"},
        className="mobile-chart",
    ),
    html.Div(
        dbc.Card(
            dbc.CardBody([
                html.Div(
                    "Infection Trajectory",
                    className="mobile-top-bottom-right-chart-h1-title",
                ),
                html.Div(
                    "Days Since 200 Cases",
                    className="mobile-top-bottom-right-chart-h2-title",
                ),
                dcc.Graph(
                    figure=infection_trajectory_chart(),
                    config={
                        "scrollZoom": False,
                    },
                    style={"height": "20vh"},
                ),
            ])),
        style={"margin-bottom": "1.5rem"},
        className="mobile-chart",
    ),
    html.Div(
        mobile_feed_tabs,
        style={"margin-bottom": "1.5rem"},
        className="mobile-feed-content",
    ),
]
예제 #2
0
                             ),
                         ]), ),
                     className="top-bottom-left-chart",
                     width=6,
                 ),
                 dbc.Col(
                     dbc.Card(
                         dbc.CardBody([
                             html.Div(
                                 "Infection Trajectory Since 200 Cases",
                                 className=
                                 "top-bottom-right-chart-title",
                             ),
                             dcc.Graph(
                                 figure=
                                 infection_trajectory_chart(),
                                 config={"responsive": False},
                                 style={"height": "20vh"},
                                 className=
                                 "top-bottom-right-chart-figure",
                             ),
                         ]), ),
                     className="top-bottom-right-chart",
                     width=6,
                 ),
             ],
             no_gutters=True,
         ),
         className="top-bottom-charts",
     ),
 ],