Skip to content

Refactor PieChart and RadialChart components to utilize color palette directly - #243

Merged
i-subham23 merged 3 commits into
mainfrom
sd/refactor_radial
Dec 23, 2025
Merged

Refactor PieChart and RadialChart components to utilize color palette directly#243
i-subham23 merged 3 commits into
mainfrom
sd/refactor_radial

Conversation

@i-subham23

Copy link
Copy Markdown
Contributor
  • Updated PieChart and RadialChart components to use a color palette from the theme instead of relying on a default theme string.
  • Modified data transformation functions to accept colors as parameters, enhancing flexibility and customization.
  • Removed redundant color palette logic from chart configuration functions, streamlining the codebase.

… directly

* Updated PieChart and RadialChart components to use a color palette from the theme instead of relying on a default theme string.
* Modified data transformation functions to accept colors as parameters, enhancing flexibility and customization.
* Removed redundant color palette logic from chart configuration functions, streamlining the codebase.
* Simplified color assignment in RadialChartUtils and dataUtils to enhance clarity and maintainability.
* Ensured consistent usage of custom colors for chart elements, improving visual representation.
* Removed palette/distributed colors logic from getCategoricalChartConfig, simplifying the function.
* Updated the function signature to accept colors as an array, enhancing flexibility in color assignment for categorical charts.
@i-subham23
i-subham23 merged commit 4cf8c48 into main Dec 23, 2025
3 checks passed
@i-subham23
i-subham23 deleted the sd/refactor_radial branch December 23, 2025 09:50
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.

2 participants