occulus
occulus

Reputation: 17012

Draw custom bars in a Highcharts bar chart

I'd like to draw custom bars with rounded corners to get lozenge shaped bars. There's also a requirement to overlay icons on or near some bars.

How can I override or access the rendering code for bars?

Upvotes: 0

Views: 1311

Answers (3)

Jackal
Jackal

Reputation: 2692

You can also do this.

Include the following plugin.

plotOptions:{ series: { borderRadiusTopLeft: 5, borderRadiusTopRight: 5
} }

Upvotes: 0

jlbriggs
jlbriggs

Reputation: 17800

Unless I am missing something, you don't need to over ride any rendering:

http://jsfiddle.net/jlbriggs/nHGRr/3/

plotOptions:{
        series: {
            borderRadius:10      
        }
    },

Upvotes: 1

Sebastian Bochan
Sebastian Bochan

Reputation: 37588

Unfortunately this opption is not avaiable in highcharts, but you can request your suggestions in our uservoice system http://highcharts.uservoice.com

Upvotes: 1

Related Questions