Smart UI Components & Libraries – Grid, Scheduler, Gantt, Kanban for Angular, React, Next.js, Vue, Blazor, JavaScript › Forums › Charts & Data Viz › Could anyone walk me through troubleshooting: Charts? › Reply To: Could anyone walk me through troubleshooting: Charts?
October 20, 2025 at 9:44 am
#113111
Keymaster
Hi,
@ViewChild('chart', { static: false }) chart: any;
data = [
{ month: 'Jan', value: 30 },
{ month: 'Feb', value: 45 },
{ month: 'Mar', value: 25 }
];
seriesGroups = [
{
type: 'column',
series: [{ dataField: 'value', displayText: 'Sales' }]
}
];
updateData() {
// Update an existing point
this.data[1].value = 60;
// Notify the chart to refresh its visuals
this.chart.refresh();
}
In the above example, we update the data and refresh the chart visuals.
Best regards,
Markov
Smart UI Team
https://www.htmlelements.com/