Skip to content

Add option to change hole color when using compose version of PieChart - #817

Merged
hannesa2 merged 2 commits into
AppDevNext:masterfrom
collfi:feaure/compose-pie-chart-hole-color
Aug 5, 2026
Merged

Add option to change hole color when using compose version of PieChart#817
hannesa2 merged 2 commits into
AppDevNext:masterfrom
collfi:feaure/compose-pie-chart-hole-color

Conversation

@collfi

@collfi collfi commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Add option to change hole color when using compose version of PieChart [PieChartComposable].

Also add example to the activity showcase

…t [PieChartComposable].

Also add example to the activity showcase
@collfi

collfi commented Aug 5, 2026

Copy link
Copy Markdown
Contributor Author

Screenshots:
image

image

@hannesa2 hannesa2 added the enhancement New feature or request label Aug 5, 2026
@hannesa2 hannesa2 changed the title Add option to change hole color when using compose version of PieChart [PieChartComposable]. Add option to change hole color when using compose version of PieChart Aug 5, 2026
@hannesa2

hannesa2 commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

As running from a fork, there are no screenshot tests. I made a copy of this to run CI from upstream to have screenshot compare mechanism
#818

add(ComposeItem("HorizontalCompose", "Render bar chart horizontally compose", HorizontalBarComposeActivity::class.java).toDemoBase())
add(ComposeItem("HorizontalFullCompose", "Render bar chart horizontally full compose.", HorizontalBarFullComposeActivity::class.java).toDemoBase())
add(ComposeItem("MultiLineCompose", "Show multiple data sets in compose.", MultiLineComposeActivity::class.java).toDemoBase())
add(ComposeItem("PieChartCompose", "Render a pie chart in compose, incl. hole color.", PieChartComposeActivity::class.java).toDemoBase())

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please move this sample to the end of the list, otherwise the screenshots are renamed and it will find too much errors

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this enough or new section would be better? Feel free to edit

@hannesa2

hannesa2 commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

Now it looks better, just one new screenshot
image

@hannesa2

hannesa2 commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

I'll merge it like it is and fix the missing screenshot after this.
image

Thanks a lot !

@hannesa2
hannesa2 merged commit 921d716 into AppDevNext:master Aug 5, 2026
2 of 4 checks passed
@hannesa2

hannesa2 commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

This is the missing screenshot d6a5922

@collfi

collfi commented Aug 5, 2026

Copy link
Copy Markdown
Contributor Author

no problem, thanks for the quick action

@hannesa2

hannesa2 commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants