Repository navigation
Conversation
4862ba8 to
a022cb2
Compare
a022cb2 to
2422da6
Compare
This comment has been minimized.
This comment has been minimized.
Reloads the given data sources after the interval, restarting the timer on every data source update and skipping sources that are still loading. Mirrors the Datagrid 2 / Gallery refresh behaviour. Adds seriesDataSources helper. Ticket: WC-3362
Add "Refresh time (in seconds)" to the Data source group (default 0 = off). When set, the chart periodically reloads its data source(s). Ticket: WC-3362
Add "Refresh time (in seconds)" to the Data source group (default 0 = off). When set, the chart periodically reloads its data source(s). Ticket: WC-3362
Add "Refresh time (in seconds)" to the Data source group (default 0 = off). When set, the chart periodically reloads its data source(s). Ticket: WC-3362
Add "Refresh time (in seconds)" to the Data source group (default 0 = off). When set, the chart periodically reloads its data source(s). Ticket: WC-3362
Add "Refresh time (in seconds)" to the Data source group (default 0 = off). When set, the chart periodically reloads its data source(s). Ticket: WC-3362
Add "Refresh time (in seconds)" to the Data source group (default 0 = off). When set, the chart periodically reloads its data source(s). Ticket: WC-3362
Add "Refresh time (in seconds)" to the Data source group (default 0 = off). When set, the chart periodically reloads its data source(s). Ticket: WC-3362
Add "Refresh time (in seconds)" to the Data source group (default 0 = off). When set, the chart periodically reloads its data source(s). Ticket: WC-3362
2422da6 to
02dffb3
Compare
AI Code Review
What was reviewed
Skipped (out of scope): Findings🔶 Medium —
|
Pull request type
New feature (non-breaking change which adds functionality)
Description
Brings back the "Refresh time (in seconds)" option for charts, as documented for classic charts. Charts aggregating view entities otherwise never refresh without a page reload.
refreshIntervalproperty (default0= off) to Area, Bar, Bubble, Column, Heat map, Line, Pie/Doughnut and Time series charts. Custom chart is out of scope (attribute-based data, not a list data source).useRefreshIntervalhook in@mendix/shared-chartsreloads every data source the chart renders after the interval. It restarts the timer on each data update and skips sources that are still loading, matching Datagrid 2 and Gallery. The chart keeps showing its current data during the reload.Docs: the property is new in widget XML, so https://docs.mendix.com/refguide/charts-configuration/ may need a mendix/docs update.
What should be covered while testing?