Open mthomas-ketchbrook opened 1 year ago
After further inspection, the problem is related to the presence of NA values in the filtered referral source data for the column being charted.
Our current logic shows the message "No data to display" when the dataset has no rows. In this case, the data has rows, but the charted column has NA values (which are filtered in a subsequent step). For that reason, the chart then tries to create a chart with no data.
I can think of two possible solutions:
What do you think? @mthomas-ketchbrook @trevinflick
Let's pursue Option 1 -- thank you!
The "Referral Source" bar chart at the bottom of the "Services" page is throwing an error with this specific combination of filters:
In the shinyapps.io server logs, we see the following error message:
This looks like it's a data issue in the database, and not an issue when there is no data to display; in the latter case, when using other filters, we correctly see a "No data to display" message in the bar chart box.