dash-bootstrap-components

Configure app layout when adjusting screen size – dash

Configure app layout when adjusting screen size – dash Question: I’ve tried to set the max height/width on dbc components within an app but when adjusting the screen size, the layout changes. Is there a way to make the layout more flexible to ensure the same configuration when adjusting the screen size. With below, output …

Total answers: 1

Plot bar chart with separate color legend – dash Plotly

Plot bar chart with separate color legend – dash Plotly Question: I’m trying to plot certain values using dash as a bar chart but use a separate column to map the colors. Using below, I’m plotting dates as a bar-chart that corresponds to a drop down bar. Is it possible to keep the dates as …

Total answers: 1

Set specific colour map to Bar-chart with callback – dash Plotly

Set specific colour map to Bar-chart with callback – dash Plotly Question: I’ve got an interactive bar chart that displays counts from days of the week. I’m trying to set the color map so each day of the week maintains the same color. At the moment, if I remove any days, the color changes. Separately, …

Total answers: 2

Callback error with barchart – Plotly dash

Callback error with barchart – Plotly dash Question: I’m trying to insert an interactive bar-chart using values in a df. Using below, I’ve got the unique values from Type displayed as RadioItems. I’m aiming to link these to a bar chart within the dbc.Container. The first 5 rows of the df are displayed below. I’m …

Total answers: 1

Display interactive metrics within dbc.Card – Dash

Display interactive metrics within dbc.Card – Dash Question: I’m aiming to include interactive counts as metrics. Specifically, insert total sums within cards that will changed depending on the variable selected from a nav bar. Using below, the Navbar is used to display the proportion of successes and failures as a pie chart. I want to …

Total answers: 1