You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a requirement where I need to give the bars in a Bar Chart rounded corners but only in the upper part of the bar.
I was able to achieve rounded corners but it gets applied to both sides (Top and Bottom). Was able to this by writing a custom renderer that uses RoundRectangle2D.
I have created the drawing logic for the case where Rounded corners are applied to the top part alone using Path2D.
Could you provide support for this? Or provide a method signature that accepts custom classes in BarPainter and not just RectangularShape.
The text was updated successfully, but these errors were encountered:
To publish your work stemming from discussion #360, you can fork the project, modify a branch and submit a pull request. See Collaborating with pull requests for details. I'd hoped that the rendering could be confined to the existing RectangularShape; I'm unsure about altering the BarPainter interfcve. Also consider how you might handle alternate PlotOrientation.
I have a requirement where I need to give the bars in a Bar Chart rounded corners but only in the upper part of the bar.
I was able to achieve rounded corners but it gets applied to both sides (Top and Bottom). Was able to this by writing a custom renderer that uses RoundRectangle2D.
I have created the drawing logic for the case where Rounded corners are applied to the top part alone using Path2D.
Could you provide support for this? Or provide a method signature that accepts custom classes in BarPainter and not just RectangularShape.
The text was updated successfully, but these errors were encountered: