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
It's not clear to me as to why, but, the caption for tlf::plotTimeProfile() output needs to be manually updated using setLegendCaption(). This is quite tricky and error-prone.
Is there any way that this is internally handled by the plotting function itself?
It is a bit surprising that the caption is not automatically updated to the chosen mappings for the plot, and needs to be updated manually.
The text was updated successfully, but these errors were encountered:
Not sure if you remember, but we had this issue where instead of each group getting its own color, the same colors were being recycled. This is why we added this function that updates caption legend data frame.
Here are outputs from this test that illustrate the point.
Without updating legend caption data frame
(Note that there are only 3 unique colors which are used twice in the caption and the plot when there are 6 groups)
With updating legend caption data frame
pchelle
added a commit
to pchelle/TLF-Library
that referenced
this issue
May 16, 2022
It's not clear to me as to why, but, the caption for
tlf::plotTimeProfile()
output needs to be manually updated usingsetLegendCaption()
. This is quite tricky and error-prone.Is there any way that this is internally handled by the plotting function itself?
It is a bit surprising that the caption is not automatically updated to the chosen mappings for the plot, and needs to be updated manually.
The text was updated successfully, but these errors were encountered: