You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All above means that we have to control this in teal.goshawk modules, to not add lines which are outside of the range. Please validate a new line entry by the inputs from x/y range slider.
The text was updated successfully, but these errors were encountered:
@gogonzo
is it bad to have the line value expand the axis to incorporate it? If user adds line that falls outside the axis range which is driven only by existing data range then they can use the zoom slider to expand the range so that the line is visible and with that you would want to have it displayed in the legend.
When adding a new line outside of the plot range new element is added to the legend.
Explanation:
goshawk:::geom_arb_line
works in the same way as theggplot2::geom_hline
but it adds the legend also per (color, label).Axis limits are controlled in goshawk::` which has this functionality to always keep plot within specific axis range.
https://github.com/insightsengineering/goshawk/blob/7d9ff6e413225961e224bb8666abf3fa8c9ea7a9/R/g_correlationplot.R#L293
All above means that we have to control this in
teal.goshawk
modules, to not add lines which are outside of the range. Please validate a new line entry by the inputs from x/y range slider.The text was updated successfully, but these errors were encountered: