-
Notifications
You must be signed in to change notification settings - Fork 81
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
Dim--dim on x y #526
Dim--dim on x y #526
Conversation
@@ -115,6 +115,9 @@ void Options::drilldownTo(const Options &other) | |||
for (auto &&dim : other.getChannels().getDimensions()) | |||
if (!getChannels().isSeriesUsed(dim)) | |||
stackChannel.addSeries(dim); | |||
if (stackChannel.isDimension() | |||
&& geometry == ShapeType::rectangle) | |||
this->align = Base::Align::Type::stretch; |
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.
It smells a bit "workaroundy". Stretch does the work, but it's purpose is complety different.
I feel like that instead, we would need an bool spacing
member in Channel
which gives controls to manually swich on/off the spacing.
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.
I noted. I'll not rewrite it in this PR but handle it at the axis refactor.
No description provided.