Skip to content

Update rounded bar chart renderer3#606

Closed
hannesa2 wants to merge 4 commits into
v3.xfrom
UpdateRoundedBarChartRenderer3
Closed

Update rounded bar chart renderer3#606
hannesa2 wants to merge 4 commits into
v3.xfrom
UpdateRoundedBarChartRenderer3

Conversation

@hannesa2

Copy link
Copy Markdown
Collaborator

No description provided.

Added: Auto Full Radius Mode
Introduced a new setUseAutoFullRadius(true) function that enables automatic calculation of full corner radius for bars.

When enabled, the radius dynamically adapts based on the bar’s current screen width and height, ensuring fully rounded corners regardless of zoom level or chart scale.

This feature improves visual consistency, especially when zooming in/out, as the rounding remains proportional to each bar’s dimensions.

Fixed: Marker Not Showing on Highlight
Previously, markers were not appearing when bars were highlighted due to missing positional metadata.

This has been resolved by ensuring setHighlightDrawPos(...) is called inside drawHighlighted(), which correctly updates the Highlight object with the marker's draw position.

Now, the custom and other markers will be properly displayed above highlighted bars, even when using this renderer.
@hannesa2 hannesa2 force-pushed the UpdateRoundedBarChartRenderer3 branch from 01b9854 to 6527edc Compare December 28, 2025 15:54
@hannesa2 hannesa2 closed this Dec 30, 2025
@hannesa2 hannesa2 deleted the UpdateRoundedBarChartRenderer3 branch December 30, 2025 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant