Skip to content

StackedBarChart - use full width when legend is hidden#479

Merged
Hermanya merged 1 commit into
chart-kit:masterfrom
noktigula:feature/stacked_bar_chart_full_width_if_no_legend
Feb 8, 2021
Merged

StackedBarChart - use full width when legend is hidden#479
Hermanya merged 1 commit into
chart-kit:masterfrom
noktigula:feature/stacked_bar_chart_full_width_if_no_legend

Conversation

@noktigula

Copy link
Copy Markdown
Contributor

Currently, the bar draw area is limited to 0.7 of the available width, even if there is no legend. This PR allows using the "legend" space for bar drawing, in case if no legend is provided, or if hideLegend prop is passed.

@Hermanya Hermanya merged commit ee2e82e 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