Yogesh Ajmire Posted November 18, 2020 Posted November 18, 2020 Hi Did anyone came across requirements to round edges in bar charts thanks Yogesh
Charles Morris 2 Posted November 18, 2020 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
Yogesh Ajmire Posted November 19, 2020 Author Posted November 19, 2020 Thanks Charles. Let me try CSS route.
Clayton Peacock Posted November 25, 2020 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
Yogesh Ajmire Posted November 25, 2020 Author 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,
Clayton Peacock Posted November 25, 2020 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.
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