-
Notifications
You must be signed in to change notification settings - Fork 913
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
[BUG] Unrecognized scheme name: elastic when rendering vega charts #3582
Comments
@ohltyler I wasn't able to reproduce:
|
@joshuarrrr thanks for the further investigation - I'll take a deeper look at my env again. I was originally running into this on branches based off of |
I've confirmed it's related to something in the feature branch, when rendering regular line charts with vega instead of vislib. Let me triage and add to the feature anywhere meta issue. |
@joshuarrrr, I was able to reproduce this on a clean Try using this configuration:
With my current research, I believe the issue is on this piece:
|
@lezzago In that sample spec, the
causes the x-axis bounds to be undefined |
If you remove that, you would still get the scheme name error.
|
The offending line is when setting the default color scheme in the vega parser: https://github.com/opensearch-project/OpenSearch-Dashboards/blob/main/src/plugins/vis_type_vega/public/data_model/vega_parser.ts#L680 |
Yep - I was about to post the same thing. It may be that we need to make sure we actually define |
rather than relying on vega.scheme. Also update vega.scheme name Fixes opensearch-project#3582 Signed-off-by: Josh Romero <rmerqg@amazon.com>
…3663) (#3743) rather than relying on vega.scheme. Also update vega.scheme name Fixes #3582 (cherry picked from commit e194bc5) Signed-off-by: Josh Romero <rmerqg@amazon.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…pensearch-project#3663) rather than relying on vega.scheme. Also update vega.scheme name Fixes opensearch-project#3582 Signed-off-by: Josh Romero <rmerqg@amazon.com> Signed-off-by: vagimeli <vagimeli@amazon.com>
…3663) (#3744) rather than relying on vega.scheme. Also update vega.scheme name Fixes #3582 (cherry picked from commit e194bc5) Signed-off-by: Josh Romero <rmerqg@amazon.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…pensearch-project#3663) rather than relying on vega.scheme. Also update vega.scheme name Fixes opensearch-project#3582 Signed-off-by: Josh Romero <rmerqg@amazon.com> Signed-off-by: David Sinclair <david@sinclair.tech>
Describe the bug
I'm seeing some issue when rendering vega charts:
It seems the color scheme reference (which is 'elastic' by default in the VegaParser), is now broken. I see vega version bump was done on 2/7, and with other changes to EUI/OUI, I wonder if some combination is what's now causing the issue. Needs further investigation.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It renders
OpenSearch Version
3.0.0
Dashboards Version
3.0.0
The text was updated successfully, but these errors were encountered: