Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lib: Title and legend alignment #323

Open
2 tasks done
louismaximepiton opened this issue Jul 26, 2024 · 1 comment
Open
2 tasks done

Lib: Title and legend alignment #323

louismaximepiton opened this issue Jul 26, 2024 · 1 comment

Comments

@louismaximepiton
Copy link
Member

louismaximepiton commented Jul 26, 2024

Prerequisites

Proposal

According to the DSM right now, the title and the legend should be left aligned with the left axis of the graph (it needs to be determined for graphs that don't have axis). It's not the case right now in the library.

The main goal of the study is to determine if this feature is too complex to be added:

  • If the answer is no, the issue can be transformed into a feature request and it can be implemented right away.
  • If the answer is yes, it needs to be reported to the design team so they will be able to modify the kit accordingly and propagate it to the DSM and think about the new good practices.

Motivation and context

Update either the DSM or the lib to have the same rendering and rules.

@vogloblinsky
Copy link

From my point of view, this DSM rule is stupid. I have a legend with only two items, and i want them to be align in horizontal center. Not possible just by changing the echarts config because it is hardcoded in css...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants