Optional use own rounded BarRenderer 4.x#603
Closed
hannesa2 wants to merge 6 commits into
Closed
Conversation
bbe86bb to
c8c2536
Compare
191bea6 to
d205e8e
Compare
Collaborator
Author
hannesa2
commented
Dec 28, 2025
| @@ -31,7 +31,8 @@ class RoundedBarChartRenderer( | |||
| barBorderPaint.strokeWidth = dataSet.barBorderWidth.convertDpToPixel() | |||
| shadowPaint.color = dataSet.barShadowColor | |||
|
|
|||
| if (dataProvider.isDrawBarShadowEnabled) { | |||
| // if (dataProvider.isDrawBarShadowEnabled) { | |||
| if (true) { | |||
Collaborator
Author
There was a problem hiding this comment.
This only enabled the rendering @Paget96
Collaborator
Author
|
@Paget96 |
Collaborator
Author
159d22d to
7dc3b14
Compare
57636c1 to
0c27558
Compare
f58a053 to
38179bc
Compare
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.
0c27558 to
079c594
Compare
cf829c3 to
7776519
Compare
Collaborator
Author
|
It doesn't work. |
This was referenced Jan 19, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


















No description provided.