rounded-corners icon indicating copy to clipboard operation
rounded-corners copied to clipboard

Not able to style target in bullet chart to have a Rounded Corner even while using the plugin

Open cgandhamQB opened this issue 3 years ago • 1 comments

Description of the issue

Target bar should have a rounded edge. May be add a borderRadius or make it able to use the rounded corner plugin.

Live demo with steps to reproduce

https://jsfiddle.net/chandanasri/zwrqspej/2/

cgandhamQB avatar May 05 '21 14:05 cgandhamQB

Bullet series provides no easy access to the target drawing function properties and shape arguments for the target graphic are not stored (only used for the shape calculations), so this is why the below PoC has a lot of code that overwrites the original function used for drawing the target.

PoC: https://jsfiddle.net/BlackLabel/74nwhg16/

KacperMadej avatar May 13 '21 11:05 KacperMadej