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
I'm sure there's an obvious answer to this, but how do I change the font for a specific portion of the plot?
Pushing normalFont in the following is completely ignored and the same font is used throughout the plot.
I actually only want to set the header independent of the axes, but I failed before I even got that far...
It seems odd to me that imgui doesn't pass fonts as part of it's style struct, but I guess an alternative question is: How can I access the plot dimensions so I can hide the plot text and use the main imgui code to draw the text (if it's not possible to do from within implot)?
All text is rendered inside of BeginPlot (title/axes) or EndPlot (legend). There is currently no way to setup different fonts for different elements of the plot.
If you want to render the header yourself, you can hide the default by prepending ## on the label ID.
I'm sure there's an obvious answer to this, but how do I change the font for a specific portion of the plot?
Pushing normalFont in the following is completely ignored and the same font is used throughout the plot.
I actually only want to set the header independent of the axes, but I failed before I even got that far...
It seems odd to me that imgui doesn't pass fonts as part of it's style struct, but I guess an alternative question is: How can I access the plot dimensions so I can hide the plot text and use the main imgui code to draw the text (if it's not possible to do from within implot)?
The text was updated successfully, but these errors were encountered: