Yogesh Ajmire Posted November 18, 2020 Share Posted November 18, 2020 Hi Did anyone came across requirements to round edges in bar charts thanks Yogesh Link to comment Share on other sites More sharing options...
Charles Morris 2 Posted November 18, 2020 Share Posted November 18, 2020 Yogi, just an idea and I dont know if it will work but you may be able to style the bar object the same way you round corners on a button, setting a radius value Link to comment Share on other sites More sharing options...
Yogesh Ajmire Posted November 19, 2020 Author Share Posted November 19, 2020 Thanks Charles. Let me try CSS route. Link to comment Share on other sites More sharing options...
Clayton Peacock Posted November 25, 2020 Share Posted November 25, 2020 Hi Yogesh, Try the below, you will need to be on 8202+: Generating Curved Corners on Bar Chart Risers GRAPH FILE CAR SUM DEALER_COST RETAIL_COST BY COUNTRY ON GRAPH PCHOLD FORMAT JSCHART ON GRAPH SET LOOKGRAPH BAR ON GRAPH SET EMBEDHEADING ON ON GRAPH SET STYLE * INCLUDE=IBFS:/FILE/IBI_HTML_DIR/ibi_themes/Warm.sty,$ TYPE=DATA, COLUMN=N1, BUCKET=x-axis, $ TYPE=DATA, COLUMN=N2, BUCKET=x-axis, $ TYPE=DATA, COLUMN=N3, BUCKET=y-axis, $ GRAPH_JS ** series: [{series: all, border: {cornerRadius: {x: 4, y: 0}}},* ] *END ENDSTYLE END Link to comment Share on other sites More sharing options...
Yogesh Ajmire Posted November 25, 2020 Author Share Posted November 25, 2020 Thanks Clayton. That did a trick, it provides rounded edges both at the top and bottom but I will work to remove rounding on the axis line. Thanks again, Link to comment Share on other sites More sharing options...
Clayton Peacock Posted November 25, 2020 Share Posted November 25, 2020 Your welcome, if you figure out how to stop the rounded edges on the X-Axis please update post, good luck. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now