Skip to content

Commit

Permalink
Update cohort-diagnostics-timeDistributions.R (#336)
Browse files Browse the repository at this point in the history
adding fix for issue 168
  • Loading branch information
jreps authored Sep 13, 2024
1 parent eea1f31 commit 04d011a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion R/cohort-diagnostics-timeDistributions.R
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,10 @@ plotTimeDistribution <- function(data, shortNameRef = NULL, showMax = FALSE) {
zerolinewidth = 2,
gridcolor = 'ffff'),
yaxis = list(
title = db,
title = addTextBreaks(
text = db,
length = 25 # change this based on plot height?
),
showTitle = FALSE,
zerolinecolor = '#ffff',
zerolinewidth = 2,
Expand Down

0 comments on commit 04d011a

Please sign in to comment.