Fix displaying the "Name" field value for X and Y axes#7701
Open
X-Crux wants to merge 1 commit intogetredash:masterfrom
Open
Fix displaying the "Name" field value for X and Y axes#7701X-Crux wants to merge 1 commit intogetredash:masterfrom
X-Crux wants to merge 1 commit intogetredash:masterfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What type of PR is this?
Description
OS: Chrome/Ubuntu 24.04.4 LTS
Redash version: 26.3.0
Issue: #7700
The issue is related to a breaking change that occurred when updating Plotly.js from version 2 to version 3. Version 3 no longer supports passing axis titles as plain strings. Now the title must be defined as an object with a
textfield.Structure used in Redash 25.1.0 (Plotly.js v2):
Structure required in Redash 26.3.0 (Plotly.js v3):
How is this tested?
1. Create New Query. I'm using the script that was already used here for testing Charts:
2. Add Visualization -> Chart -> Line/Bar/Area...
3. Settings:
Related Tickets & Documents
Mobile & Desktop Screenshots/Recordings (if there are UI changes)
This is what it looks like now:
After applying the changes: