Hi,
We created a sample dataset PCF control. In that control, we filter the grid data and show the same on sample PCF control but when we click on the show chart button in the chart all records are shown not filter once. So is there any process to update record collect in show chart so only filter data will display in the chart.
Thanks!
I'm not sure how much of it is still in place but charts are generated via an entirely different code path to grid data so your filter will be lost - I could go into more details here but I'm never quite know where the NDAs kick in or if they are still relevant..
If you wish to show charts in a PCF component that offers filtering it's probably best to create the charts within the PCF itself using something like https://www.chartjs.org/
My second question would be how are you filtering the records, are you updating the dataset and refreshing it or are you just filtering the returned recordset within your JS code.
WarrenBelz
109
Most Valuable Professional
Michael E. Gernaey
82
Super User 2025 Season 1
MS.Ragavendar
72