Custom Component in Python
Hey All - quick question for the group in hopes of an answer to what I originally thought was going to be a simple exercise. I am attempting to create a light-weight wrapper around some existing...
View ArticleHow does plotly know of ports in use?
Refer to this simple example: https://plotly.com/python/line-and-scatter/#scatter-plot-with-plotly-express If I call fig.show() multiple times, plotly seems to know which port to use depending on the...
View ArticlePage Level Filtering by User (Google Oauth)
I am new to Dash and looking at a solution to provide datatables and graphing for different users based on their email address. We have a number of subdomains. Is it also possible to use Google Oauth...
View ArticlePlotly express returns empty graph instead of choropleth in callback
Im trying to update a plotly express choropleth map in a callback. The initial map displays correctly but the when the dropdown triggers the callback an empty chart is displayed. Importing the geojson...
View ArticleDash Table - Conditional Headers Formatting for Multi-Headers Tables
Hi all, I created a dash table with multi-headers structure as described in the documentation (https://dash.plotly.com/datatable/style), what I am trying to do now is to apply conditional formatting...
View ArticleWant to update table based on clickdata in map
My problem is that I want to update table based on the district I click on map but I am unable to do so. If you can solve my problem that would be very useful for me. Thanks in advance. I am attaching...
View ArticleSwitching between two graphs with radio items on Dash
Hello there. I am new with Dash and i want to make an app with radio items that switch between two graphs. I am not sure though how to do it though. Any help would be highly appreciated. I’ve written...
View Article[Help] How can I read from a component and update it right once
I have a page number want to display. I have a next page button. when user push next page button. I need to get Input from the componant value of page number and plus 1 then Output back to it with...
View ArticlePassing customdata via a Sunburst Graph in Dash
Here is what I’m going for: I used a datatable to generate a list of ‘cost centers’. I select the row in that datatable to generate the sunburst plot for a given cost center that has nested financial...
View ArticleX axis on top ánd bottom
Dear readers, In a scatter plot I want to plot the x-axis labels at the bottom (as default) and also at the top of the plot. Is this possible ? I explored the secondary_y options, but this does not...
View ArticleMultiple choice questions and histrograms
Hi, newbie question again… I’d say others have done this loads of times… We have survey results and we are charting them. One of the questions is multiple choice. (Q3 in below example) So, we have a...
View ArticleDash Bootstrap Components Navbar not triggering URL Callback
Hi There, I’m stuck with a problem and no idea how to debug it. I have a SimpleNavBar from Dash Bootstrap Components and it used to work (actually the same code on a different PC works!) So what the...
View ArticleFunctions in custom dash components
I wanted to look into writing a custom dash component. I understand that if I define a prop in javascript to be of type function, that I can’t currently use it as it is not serializable to JSON....
View ArticleVarStack Feedback
Hey everyone! I’m a noobie when it comes to the Dash platform and webdev as a whole but I just finished my project and would love your feedback and comments! https://varstack.brown.edu This site is...
View ArticleHow can I cache my SQL result so I don't have to call SQL repeatedly to get...
I am trying to build a dashboard that will generate several plots based on a single SQL data query. I want the query to be modifiable via the dashboard (e.g. to query a different order amount or...
View ArticleHow can i change the background color
How do i change the background of the “page”/ blankspace around the plotly plots? i want to leave the plots the color they are. I want to change the color of the rest of the page? 1 post - 1...
View ArticleDash table : Compare two columns and use style_data_conditional
I want to compare two string columns . I want the “Suggested Specification” column value to be red if the value of “Suggested Specification” == “Specification” I have written this and its not running...
View ArticleHow does a heatmap's font_colors attribute work?
I created the following heatmap: image1846×1147 177 KB I want the font color of the green cells to be white, and the red+yellow cells to be black. I’m not sure why it’s making the first five or so...
View ArticleDynamic ListGroup Display
Hello - I’m new to DASH. My dropdown when selected is dynamically creating a ListGroup of ListGroupItems. After selecting the dropdown value “Group A” the following code is generated. dbc.ListGroup([...
View ArticleNested list/checklist where clicking parents toggles their children
I wanted to build a sidebar for a dash app that took a nested lists and made them into a big checklist. Something like this: I’m pretty new to dash and didn’t see how I could assemble the standard...
View Article