-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Finance refactor #2561
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
Finance refactor #2561
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
e979cf0
refactor candlestick into a first-class trace, also box/violin hover …
alexcjohnson 84c36a9
refactor OHLC into a first-class trace type
alexcjohnson 3870503
update non-finance tests for finance refactor
alexcjohnson 4c46a73
fix finance tests - with a couple of bugfixes too
alexcjohnson 94c4560
fix #2004
alexcjohnson 3509b99
fix and test finance hover labels - including test for #1807
alexcjohnson 2849ff9
test finance trace select
alexcjohnson be2b523
:hocho: hover test in finance_test - hover_label_test covers it better
alexcjohnson 5b6a7d5
fix prereqs for transform_multi_test
alexcjohnson 121d171
update finance bundle tests
alexcjohnson ad1d8f0
update finance mocks
alexcjohnson 2554482
fix lf/uf vs min/max logic for box/violin/candlestick
alexcjohnson 0d80a21
fix #2510 - or rather, revive the test that the refactor fixed this
alexcjohnson 82677ac
tweak and test cleanData for finance traces
alexcjohnson 71fa112
remove plotSchema change from before we decided to refactor finance t…
alexcjohnson 0b7541e
fix for box & candlestick together on one subplot
alexcjohnson f84dfae
change to shorter dash in finance_style mock
alexcjohnson d64fab6
remove TODO that's been OK'd as is
alexcjohnson dc01685
undefined -> BADNUM in ohlc/calc
alexcjohnson c8b03ee
Merge branch 'master' into finance-refactor
alexcjohnson 302d1e6
update new getModuleCalcData callers to new API
alexcjohnson f498bd0
set to null instead of delete in ohlc/calc
alexcjohnson c77a8a3
test that selection applies to plot, not rangeslider
alexcjohnson 3f43253
:hocho: fit
alexcjohnson 13204a9
mark polar drag test flaky
alexcjohnson 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
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.
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.
@etpinard I changed the API for
getModuleCalcData
in 0b7541e - so that cartesian could avoid double-drawing the same trace when two trace modules share a plotting step (box
andcandlestick
). In principle we could extend this pattern (aplot
step removes thecalcdata
items it plotted and returns the items that are left) which could have a small 🐎 benefit when you have many traces of several types, you don't have to search the whole array each time, only the items that haven't already been handled.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.
👍 for 0b7541e
Good idea here. We should keep that in mind when we'll 🔪
calcdata
completely.