Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E1 second graph addition #2

Open
wants to merge 103 commits into
base: main
Choose a base branch
from
Open

E1 second graph addition #2

wants to merge 103 commits into from

Conversation

MahriScot
Copy link
Collaborator

Indicator E1's second graph code. Graph's title and fluidity of the graph when users zoom in or change screen size is still to be worked on.

alex-bruce and others added 30 commits May 2, 2024 16:14
…language attribute to English for screen readers.
Additional code added to:
* app.R (added tidyverse library)
* data_preperation.R (added distinct financial years for graph)
* E1_server.R
* E1_ui.R
…dded same code as for graph 1 that removes unnecessary buttons from modebar
I wanted the axis range to be "0:whatever the highest value is across ALL years" for every year's graph. Things I tried, that didn't work, included:
    # rangemode = "tozero"
    # tick0 = 0
    # range = list(c(0, 300), round(max(E1_data$rate_per_1000_population), 10)) ----- this one ensures all graphs have the same range of 0-300 days but the graph wasn't starting at 0 (As bed days are going up each year, "round(...,10)" sets the xaxis as 10 more than whatever the new data shows as the maximum value)
Cormac-Murray and others added 30 commits October 7, 2024 15:59
…xt csv file. (Some are still to be worked on)
…E1 chart descriptions to refer to mental health specialties.
…object for alt text rather than having alt text manually entered. Objects are pulled from .csv file in indicator_alt_text.R (T1 won't save to git at present, will try again)
…d are in the same formatted text box at the bottom of each page.
…and S5) and creating titles and boxes for graphs and data. Note no data or graphs yet, and keeping infographic at bottom of each page for now.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants