-
Notifications
You must be signed in to change notification settings - Fork 45
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
Legends.none still takes up space #41
Comments
I just figured it would be wise to add some source code :) |
Take a look at Container.spaced as you can set the margins yourself
|
Right, I was able to do LCContainer.custom
{ attributesHtml = []
, attributesSvg = []
, size = LCContainer.relative
, margin = LCContainer.Margin 40 30 60 80
, id = "chart"
} I guess the question is: Shouldn't the final right margin value change based on whether the legends are there or not? Default chart with no |
Hi! Thanks for adding the issue! I will think of a way to make it more intuitive and get back to you. Until then, Mark pointed out the mending configuration! |
The `Container.responsive` based container still provides space for the legend even if it's set to `Legends.none`. See terezka/line-charts#41. As a workaround, set the container explicitly.
The `Container.responsive` based container still provides space for the legend even if it's set to `Legends.none`. See terezka/line-charts#41. As a workaround, set the container explicitly.
The `Container.responsive` based container still provides space for the legend even if it's set to `Legends.none`. See terezka/line-charts#41. As a workaround, set the container explicitly.
The `Container.responsive` based container still provides space for the legend even if it's set to `Legends.none`. See terezka/line-charts#41. As a workaround, set the container explicitly.
The `Container.responsive` based container still provides space for the legend even if it's set to `Legends.none`. See terezka/line-charts#41. As a workaround, set the container explicitly.
After changing
Legends.default
toLegends.none
, there still is a space on the right that they would occupy. My intuition was that the rest of the plot should use this newly available space.The text was updated successfully, but these errors were encountered: