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

Draft
wants to merge 33 commits into
base: latest
Choose a base branch
from

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 from de93990 to 951ac98 Compare January 30, 2025 10:10
@alantreadway alantreadway force-pushed the ag-11612/fix-series-per-data-with-distinct-categories branch 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.

@@ -429,6 +442,78 @@ export class DataModel<
return column;
}

*forEachDatum(scope: ScopeProvider, processedData: GroupedData<any>, group: DataGroup) {
Copy link
Member Author

Choose a reason for hiding this comment

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

These forEachX iterator methods are to abstract the Series from the data-structure slightly, as a pre-emptive attempt to avoid data-structure optimisation from requiring series changes.

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.

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.

1 participant