Skip to content

Support custom Y labels in StackedBarChart#478

Merged
Hermanya merged 2 commits into
chart-kit:masterfrom
noktigula:feature/stacked_chart_custom_y_labels
Feb 8, 2021
Merged

Support custom Y labels in StackedBarChart#478
Hermanya merged 2 commits into
chart-kit:masterfrom
noktigula:feature/stacked_chart_custom_y_labels

Conversation

@noktigula

Copy link
Copy Markdown
Contributor

Support for custom Y labels added, by exposing the already existing formatYLabel function in StackedBarChartProps.

The function acts as a mapper of a default label to a custom label. The number of labels is equal to segments props.

@Hermanya Hermanya merged commit b378083 into chart-kit:master Feb 8, 2021
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