-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
texttemplate with date formatting #4071
Merged
Merged
Changes from 42 commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
8deaed1
texttemplate: initial implementation
antoinerg ce3c9cc
move texttemplate_attributes.js from fx to plots
antoinerg ee0a309
do not export `templateFormatString`
antoinerg 9330290
texttemplate: test that textinfo is not coerced when it's defined
antoinerg cf826dd
texttemplate: update description
antoinerg c3e9961
set texttemplate dflt back to ''
antoinerg e0bde45
texttemplate: add customdata variable and :lock: down with test
antoinerg 902d2d3
texttemplate: add support for scatter(carpet|geo|polar|ternary)
antoinerg 0b516f7
texttemplate: use result of appendArrayPointValue as available variables
antoinerg 7d21680
texttemplate: fix scattergeo variable names
antoinerg 7fa4dc5
texttemplate: add support for scattergl
antoinerg aeb6d1f
texttemplate: add support for scatterpolargl
antoinerg f9062e4
texttemplate: add support for scatter3d
antoinerg 3ad30ab
Merge branch 'master' into texttemplate
antoinerg 2d50269
Merge branch 'texttemplate-gl' into texttemplate
antoinerg 05f4722
check_texttemplate: put @gl tests in its own `it` block
antoinerg 6729286
split gl2d and gl3d in separate mocks
antoinerg cbbcfcb
texttemplate: use d3locale in GL traces, fix style
antoinerg 11ea019
Merge branch 'texttemplate-split' into texttemplate
antoinerg 32498f8
remove unused baseline `texttemplate_2`
antoinerg 7bb3379
texttemplate: text in legends should not changed
antoinerg 9677929
texttemplate: fix GL traces with txt array longer than data
antoinerg b9188a9
Merge branch 'master' into texttemplate
antoinerg decec45
scattergl: :lock: down handling of texttemplate with fewer elements t…
antoinerg 2f6bf8a
scattergl: make sure text(template) is not mutated
antoinerg e7c034a
texttemplate: test that trace.meta is passed to template
antoinerg 4b1face
texttemplate: pass trace._meta to gl2d traces
antoinerg 2528aa6
Merge branch 'master' into texttemplate
antoinerg e381c25
Merge branch 'texttemplate-meta' into texttemplate
antoinerg 888cf68
texttemplate: DRY code for gl(2|3)d traces, pass meta to scatter3d
antoinerg 7d3fabb
texttemplate: add support for scattermapbox
antoinerg b2df623
funnelarea: fix description of variables in (hover|text)template
antoinerg 8c339df
funnel(area): fix description of variables for (hover|text)template
antoinerg c6370d9
support formatting date in (hover|text)template
antoinerg 836d5a2
templateFormatString: use d3locale.timeFormat if available fot date fmt
antoinerg 3dda912
texttemplate for scattermapbox: fix editType, improve style and mock
antoinerg 354b70f
fix baseline "mapbox_texttemplate"
antoinerg 4ef8392
merge (text|hover)templateAttrs() into a single file
antoinerg e700fc2
texttemplate: fix style
antoinerg 6780a3d
texttemplate: do not coerce texttemplate when no text is displayed
antoinerg db87e62
(hover|text)template: pie/funnel/waterfall fix attribute definition
antoinerg daa2c7e
templateFormatString: do not error out when lookup objects are undefined
antoinerg c7dd845
don't coerce texttemplate when no text - fix for scatterternary
etpinard 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 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 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 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 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 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 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 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 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
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.
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.
It would be nice to merge this routine with
calcTextinfo
where we could first set theobj.??Label
values and then use those to translate thetextinfo
flags.