-
Notifications
You must be signed in to change notification settings - Fork 47
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
[IMP] charts: disable legend for single dataset #4600
Conversation
be39eee
to
1fab50c
Compare
src/components/side_panel/chart/chart_with_axis/design_panel.xml
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a little detail
1fab50c
to
d61e342
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe also add some tests on the chart padding, and It'll be good :)
Task Description When drawing a chart with only one dataset, we are allowed to choose the position of the legend but no legend will appears even after changing the position. This commit aims to fix thie issue, disabling the select box allowing to change the legend position. The chart padding has also been adapted to have more padding when there is no title/legend. Related Task Task: 4028903
d61e342
to
90e1154
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
robodoo r+
Task Description When drawing a chart with only one dataset, we are allowed to choose the position of the legend but no legend will appears even after changing the position. This commit aims to fix thie issue, disabling the select box allowing to change the legend position. The chart padding has also been adapted to have more padding when there is no title/legend. Related Task closes #4600 Task: 4028903 Signed-off-by: Lucas Lefèvre (lul) <[email protected]>
Task Description
When drawing a chart with only one dataset, we are allowed to choose the position of the legend but no legend will appears even after changing the position. This commit aims to fix thie issue, disabling the select box allowing to change the legend position.
The chart padding has also been adapted to have more padding when there is no title/legend.
Related Task
review checklist