-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Add insiderange
to cartesian axes
#6735
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
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
350a01c
Add insiderange to cartesian axes
archmoj c7ffaa6
fix relayout new insiderange and set range to null
archmoj 18c8190
fix insiderange react
archmoj b179558
revise pan value using target scale - fix max height calc
archmoj 6d858ad
improve fit
archmoj ba16783
clear _insideTickLabelsUpdaterange before applying it
archmoj 15b6bf2
Merge remote-tracking branch 'origin/master' into range-inside-tickla…
archmoj 121a664
partial insiderange support is out of scope at this point
archmoj File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
{ | ||
"data": [{ | ||
"xaxis": "x", | ||
"yaxis": "y", | ||
"y": [1000, 10, 100, 1] | ||
}, { | ||
"xaxis": "x2", | ||
"yaxis": "y2", | ||
"y": [1000, 10, 100, 1] | ||
}, { | ||
"xaxis": "x3", | ||
"yaxis": "y3", | ||
"x": [2000, 2001, 2002, 2003], | ||
"y": [1000, 10, 100, 1] | ||
}, { | ||
"xaxis": "x4", | ||
"yaxis": "y4", | ||
"x": [2000, 2001, 2002, 2003], | ||
"y": [1000, 10, 100, 1] | ||
}], | ||
"layout": { | ||
"xaxis": { | ||
"insiderange": [1, 2], | ||
"anchor": "y", | ||
"domain": [0, 0.45], | ||
"gridcolor": "white" | ||
}, | ||
"yaxis": { | ||
"anchor": "x", | ||
"domain": [0, 0.45], | ||
"side": "right", | ||
"ticks": "inside", | ||
"ticklabelposition": "inside", | ||
"ticklen": 8, | ||
"tickwidth": 3, | ||
"gridcolor": "white" | ||
}, | ||
"xaxis2": { | ||
"insiderange": [2, 1], | ||
"anchor": "y2", | ||
"domain": [0, 0.45], | ||
"gridcolor": "white" | ||
}, | ||
"yaxis2": { | ||
"anchor": "x2", | ||
"domain": [0.55, 1], | ||
"side": "left", | ||
"ticks": "inside", | ||
"ticklabelposition": "inside", | ||
"ticklen": 8, | ||
"tickwidth": 3, | ||
"gridcolor": "white" | ||
}, | ||
"xaxis3": { | ||
"type": "date", | ||
"insiderange": ["2001-01", "2002-01"], | ||
"anchor": "y3", | ||
"domain": [0.55, 1], | ||
"gridcolor": "white" | ||
}, | ||
"yaxis3": { | ||
"anchor": "x3", | ||
"domain": [0, 0.45], | ||
"side": "right", | ||
"ticks": "inside", | ||
"ticklabelposition": "inside", | ||
"ticklen": 8, | ||
"tickwidth": 3, | ||
"gridcolor": "white" | ||
}, | ||
"xaxis4": { | ||
"type": "date", | ||
"insiderange": ["2002-01", "2001-01"], | ||
"anchor": "y4", | ||
"domain": [0.55, 1], | ||
"gridcolor": "white" | ||
}, | ||
"yaxis4": { | ||
"anchor": "x4", | ||
"domain": [0.55, 1], | ||
"side": "left", | ||
"ticks": "inside", | ||
"ticklabelposition": "inside", | ||
"ticklen": 8, | ||
"tickwidth": 3, | ||
"gridcolor": "white" | ||
}, | ||
"plot_bgcolor": "lightblue", | ||
"showlegend": false, | ||
"width": 300, | ||
"height": 900, | ||
"margin": { | ||
"t": 60, | ||
"b": 60, | ||
"l": 60, | ||
"r": 60 | ||
} | ||
} | ||
} |
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.