Skip to content

XYChart not allowing legends #5292

@jgclark

Description

@jgclark

Description

[Doesn't quite fit any of the issue categories; this is more a suggestion than a bug.]
According to the documentation the excellent new XYChart doesn't have a way of showing series labels or legend. However the initial proposals for such a chart type did include such labels, and all graphing packages include this option.

Steps to reproduce

n/a

Screenshots

No response

Code Sample

No response

Setup

  • Mermaid version: 10.8.0
  • Browser and Version: n/a

Suggested Solutions

In the same way that a Y axis definition can include a title (y-axis "Revenue (in $)" ...) allow a name after the series name: line "Sales" [...].

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: TriageNeeds to be verified, categorized, etcType: Bug / ErrorSomething isn't working or is incorrect

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions