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

AG-11612 - Fix series per data with distinct categories. #3437

Merged

Conversation

alantreadway
Copy link
Member

@alantreadway alantreadway requested a review from a team as a code owner January 29, 2025 12:09
@alantreadway alantreadway changed the title ag 11612/fix series per data with distinct categories AG-11612 - Fix series per data with distinct categories. Jan 29, 2025
@alantreadway alantreadway marked this pull request as draft January 29, 2025 12:09
@alantreadway alantreadway force-pushed the ag-11612/fix-series-per-data-with-distinct-categories branch 2 times, most recently from 951ac98 to 9999e5b Compare January 30, 2025 11:42
Copy link
Member Author

Choose a reason for hiding this comment

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

This is the actual case fixed by this change.

Copy link
Member Author

Choose a reason for hiding this comment

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

Reviewed with David + Mana for correctness - new rendering is now correct.

@alantreadway alantreadway force-pushed the ag-11612/fix-series-per-data-with-distinct-categories branch from 16e9eeb to c5b080b Compare January 31, 2025 09:19
@@ -387,6 +389,17 @@ export class DataModel<
break;
}
}

if (!!this.opts.groupByKeys || this.opts.groupByFn != null || this.opts.groupByData) {
Copy link
Member

Choose a reason for hiding this comment

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

nit: sonarqube doesn't like !!

Copy link
Member Author

Choose a reason for hiding this comment

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

I actually ended up with this whilst try to address other SonarCloud issues, and I'm not seeing a warning for the current expression - so 🤷

Copy link
Contributor

@iMoses iMoses left a comment

Choose a reason for hiding this comment

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

LGTM, just some minor nits

packages/ag-charts-community/src/chart/data/dataModel.ts Outdated Show resolved Hide resolved
packages/ag-charts-community/src/chart/data/dataModel.ts Outdated Show resolved Hide resolved
packages/ag-charts-community/src/chart/data/dataModel.ts Outdated Show resolved Hide resolved
@alantreadway alantreadway marked this pull request as ready for review January 31, 2025 11:26
Copy link
Member

@lsjroberts lsjroberts left a comment

Choose a reason for hiding this comment

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

LGTM

@alantreadway alantreadway merged commit 80286ad into latest Jan 31, 2025
3 checks passed
@alantreadway alantreadway deleted the ag-11612/fix-series-per-data-with-distinct-categories branch January 31, 2025 14:54
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.

3 participants