-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[Vega-Lite] in mode "autosize": "none" the row and column constructions do not work. #95291
Comments
@chedore we reserve Github issues to bug reports, feature requests and further development work. Your request appears to be more about finding out how to do something and, as such, we recommend using our Discuss forum. There's a great community in the Discuss forums and you're likely to find many answers from there. As such, I am closing this issue. |
I am reopening this bug because I have tested this and found that it is impossible to use the row and column faceting operators in Vega-Lite in Kibana, even though these operators are working correctly without Kibana's modifications. I was testing on both |
Pinging @elastic/kibana-app (Team:KibanaApp) |
I've done some testing and determined that there is only one workaround available for this bug: Convert the spec to Vega. You can convert the spec to Vega by opening the browser dev tools and typing |
I investigated this issue and found out that facet charts in Vega-lite doesn't support fit value as |
@VladLasitsa Yes, I should probably have posted this here as well, but I have a proposed fix for this issue. Our goal with the autosize work is that embedded Vega & Vega-Lite visualizations should automatically take the container size when in a dashboard or canvas, unless the user explicitly wants to choose the size in pixels. This is the default behavior for all Kibana visualizations, so we are trying to have some kind of consistency here. My proposed solution is that the Kibana Vega-Lite parser should detect faceted Vega-Lite specs from the I have a PR in progress that implements this logic and I'd appreciate code review once it's ready! |
Thanx @wylieconlon a ton! |
Kibana version: 7.10.2
Vega-lite: 4
Browser: Google Chrome
Hi!
I want to check an example in Kibana.
An error appeared:
"width" and "height" params are ignored because "autosize" is enabled. Set "autosize": "none" to disable
By default, Kibana Vega graphs use autosize = { type: 'fit', contains: 'padding' } layout model for Vega and Vega-Lite graphs. The fit model uses all available space, ignores width and height values.
I add "autosize": "none", I get a white screen.
In mode "autosize": "none" the row and column constructions do not work.
Describe the bug:
Why can't the Vega-Lite container build the row and column correctly without a scrollbar?
How to recreate an example in Kibana correctly?
The text was updated successfully, but these errors were encountered: