Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: y axis labels update when chart resizes #186

Merged
merged 3 commits into from
Jul 18, 2024

Conversation

Keelaro1
Copy link
Contributor

@Keelaro1 Keelaro1 commented Jul 9, 2024

No description provided.

@Keelaro1 Keelaro1 requested a review from dxpm July 9, 2024 13:57
@dxpm dxpm requested review from KirillBobkov and removed request for dxpm July 18, 2024 08:47
.subscribe(() => {
this.updateOrderedLabels();
}),
);
Copy link
Contributor

Choose a reason for hiding this comment

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

You don't need to add new effect. Take a look at y-axis-labels.model.ts. It already contains effect for updating ordered labels, you should add this.chartResizeHandler.canvasResized, and it should work as you want

@KirillBobkov KirillBobkov merged commit ee1c76a into master Jul 18, 2024
1 check passed
@Keelaro1 Keelaro1 deleted the fix-y-axis-labels-update-when-chart-resizes branch July 18, 2024 12:34
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