Skip to content

[Feature Request] Change legend text height #527

Open
@KmolYuan

Description

@KmolYuan

What is the feature?

Add a configuration method for SeriesLabelStyle to adjust the legend style to fit the paper article.
Currently, SeriesLabelStyle draws the legend with a MultiLineText object, and its default text height is 1.25.

chart
    .configure_series_labels()
    .legend_text_height(1.) // invoke `MultiLineText::set_line_height(f64)`
    .draw()?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions