How can I configure the legend font size? #397
Unanswered
nathan-at-least
asked this question in
Q&A
Replies: 1 comment
-
Use chart.configure_series_labels().label_font(("Hack", 14).into_font()) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
New to plotters, and still trying to piece together the extensive API.
I've increased the render size on a png and then found all the fonts were too small to see. My basic line plot has text in the caption, the axes, and the legend. I've found how to configure the first two:
ChartBuilder::caption(… (fontname, size))
ChartContext::configure_mesh()
->MeshStyle::label_style((fontname, size))
I can't figure out how to configure the legend font size. The call site looks like:
I see
SeriesAnno::label
but nothing that takes anIntoTextStyle
.Beta Was this translation helpful? Give feedback.
All reactions