-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Add option for rounded corners on bar charts #6761
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 1 commit
Commits
Show all changes
81 commits
Select commit
Hold shift + click to select a range
024f05f
add basic cornerradius for bar charts
emilykl 31c3ac2
update plot-schema
emilykl b0c6258
add layout.barcornerradius property
emilykl d71fe49
handle negative bars
emilykl bb78c78
formatting
emilykl 5dfd686
round corners of legend icon if bar is rounded
emilykl 64912d4
change the way layout.barcornerradius is handled
emilykl cc1e6ff
rename mock
emilykl dc2c54c
handle reversed x and y axes
emilykl 3b725fa
cleanup and simplify bar path logic for rounded corners
emilykl 870d4c9
don't round corners of bars which are not top of stack
emilykl aa8ba1e
fix outmost bar logic
emilykl 5845e0e
extend rounding to lower bars
emilykl 85f47c6
remove 0 default for bar.marker.cornerradius
emilykl 578712a
only set helper values for rounded corners if needed
emilykl 8f77cde
better pct string handling
emilykl 45689ae
remove cornerradius attr from barpolar and funnel
emilykl 137e185
fix rounding for grouped barmode
emilykl 795235b
handle stacked traces with different cornerradius
emilykl dd717b6
handle label text position inside bars
emilykl 35e0c8f
fix function name
emilykl 7aa7496
test label position for cornerradius in mock
emilykl 250bf31
adjust cornerradius standardization for stacked bars
emilykl 495d950
update plot-schema
emilykl be0ddff
don't coerce marker.cornerradius
emilykl 819e8bf
add draftlog
emilykl ed69422
syntax
emilykl 4a44291
syntax
emilykl 65d3b55
add image baseline
emilykl e8cdde1
update draftlog
emilykl 9c4227e
fix rounding for relative barmode
emilykl dabcaf0
fix NaN bug
emilykl 701fd8c
fix bug with stacking in group mode
emilykl 29589e8
coerce marker.cornerradius for histograms
emilykl d0b9a90
fix histogram2d
emilykl 3e5a957
fix behavior for negative bars in stacked barmode
emilykl 582ce13
fix behavior for negative bars in stacked barmode (2)
emilykl a238c87
Cast radius parameter to number
emilykl ac329f7
validate cornerradius value in supply defaults
emilykl 8a607e6
export validateCornerradius
emilykl 338b4e6
Change cornerradius editType to calc
emilykl 60c918e
Change barcornerradius editType to calc
emilykl 9dd0896
better handling of text placement on rounded horizontal bars
emilykl 1628b5c
avoid using Math.sign
emilykl bfbd397
lint
emilykl 71e4896
update plot-schema
emilykl 4e794d0
bugfix
emilykl dedce2a
bugfix
emilykl b137b25
store cornerradius in t instead of trace; general cleanup
emilykl fdd6d03
small cleanup and add comments
emilykl 8fcc3a5
Merge branch 'master' into rounded-bars
emilykl 71b53c3
update baseline
emilykl 90cf5c3
add text to zz-bar-rounded-corners
archmoj 510c66b
rounded-bar display_height_zero line_width
archmoj 5599ea6
round bar_gantt-chart
archmoj 8dffbbe
round hist_cum_stacked
archmoj c165f6a
round histogram_colorscale
archmoj ee2451a
round histogram-offsetgroups
archmoj 256a87e
round period_positioning9
archmoj b122521
round bar_stackto100_negative
archmoj 015b881
round bar_attrs_relative
archmoj 8b57fb5
round worldcup
archmoj ec44d87
bugfix
emilykl 2913c6e
text position DRAFT
emilykl 9e3c249
update baselines
archmoj f986349
fix text padding for rounded bars
emilykl 99352d0
update baselines
archmoj 6f685c0
fix text scale and pad for rounded bars
emilykl f093ee7
fix text position for stacked rounded bars
emilykl e3cd5a5
simplify logic in cross_trace_calc
emilykl 98356b4
update baselines
emilykl a2befea
fix variable declaration
emilykl 781fbe2
remove lxFunc and lyFunc
emilykl 97f0b0e
use absolute arcs for bar path
emilykl c52890c
simplify text placement logic
emilykl 10e38f4
Update docstring
emilykl f7d4b4a
Update docstring
emilykl 4335ba0
more permissive text inside/outside logic for rounded bars
emilykl e9043e9
Merge branch 'rounded-bars' of https://github.com/plotly/plotly.js inβ¦
emilykl 4624132
updated baselines
archmoj 8c45d15
update schema
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
update plot-schema
- Loading branch information
commit 495d9502fbf6bab5ba4c8ec077ffb4a7b58edd2a
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
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.
This one shouldn't be added to
barpolar.