Skip to content

update discrete aggregation demo - #35834

Open
DuckTieCorpMember wants to merge 2 commits into
DevExpress:mainfrom
DuckTieCorpMember:update-aggregation-demo
Open

DuckTieCorpMember wants to merge 2 commits into
DevExpress:mainfrom
DuckTieCorpMember:update-aggregation-demo

Conversation

@DuckTieCorpMember

Copy link
Copy Markdown
Contributor

This pull request enhances the Discrete Points Aggregation chart demos. The main focus is to add user controls for toggling aggregation and selecting the aggregation method, as well as adding a MAX value bar as a reference to make aggregation changes more visible.

@DuckTieCorpMember DuckTieCorpMember self-assigned this Oct 21, 2026
Copilot AI balanced review requested due to automatic review settings October 21, 2026 10:24
@DuckTieCorpMember
DuckTieCorpMember requested a review from a team as a code owner October 21, 2026 10:24

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No blocking defects were identified; the remaining documentation correction is minor.

1 open issue
What changed in this PR

Enhances DevExtreme’s Discrete Points Aggregation demos consistently across Angular, React, Vue, and jQuery.

Changes:

  • Adds aggregation toggling and Average, Maximum, and Minimum selection.
  • Adds overlapping MAX reference bars and more varied sample data.
  • Styles the new options panels.

Paths below are relative to apps/demos/Demos/Charts/DiscretePointsAggregation/.

File Description
Vue/​data.ts Updates values and adds reference-series data.
Vue/​App.vue Adds controls, reference bars, and styling.
ReactJs/​styles.css Styles the options panel.
ReactJs/​data.js Updates values and adds reference-series data.
ReactJs/​App.js Adds controls and reference bars.
React/​styles.css Styles the options panel.
React/​data.ts Updates values and adds reference-series data.
React/​App.tsx Adds typed controls and reference bars.
jQuery/​styles.css Styles the options panel.
jQuery/​index.js Configures controls and reference bars.
jQuery/​index.html Adds control containers.
jQuery/​data.js Updates values and adds reference-series data.
Angular/​app/​app.service.ts Supplies updated data and reference series.
Angular/​app/​app.component.ts Adds control state and series customization.
Angular/​app/​app.component.html Binds aggregation controls.
Angular/​app/​app.component.css Styles the options panel.

Review effort: Balanced

aggregation: {
enabled: true,
method: 'sum',
method: 'avg',
Copilot AI balanced review requested due to automatic review settings October 23, 2026 07:35

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

Selecting Sum obscures the maximum-reference bars across the demos, preventing the intended visual comparison.

2 open issues

Review effort: Balanced

const year = isMaxSeries ? seriesName.slice(0, -MAX_SUFFIX.length) : seriesName;

return {
barOverlapGroup: year,

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants