Select to view content in your preferred language

Wrong filter selection on Chart Widget trigger

633
4
Jump to solution
05-24-2023 10:47 AM
RejeanLabbe
Occasional Contributor

In my chart, if I click on a column, the selected result is the previous column.

In the Content tab, I selected By group as Category type and I selected the field CIV_CRI as Category field.

 

2023-05-24_13-23-24.jpg

In the Action tab, I add a trigger to filter Data Records.

2023-05-24_13-39-38.jpg

I selected both fields from the Chart and for the featureClass.

2023-05-24_13-26-41.jpg

 

In this example, I clicked on the last column (F4 value)

2023-05-24_11-29-13.jpg

The result selected column is the previous value (F3).

2023-05-24_11-30-03.jpg

It seems to be an index base issue in the code behind.

I'm using Experience Builder 11.1 on ArcGIS Enterprise.

0 Kudos
1 Solution

Accepted Solutions
TonghuiMing
Esri Regular Contributor

@RejeanLabbe This issue should have been resolved with the recent AGOL June release.

View solution in original post

0 Kudos
4 Replies
RejeanLabbe
Occasional Contributor

Thanks @TonghuiMing I will wait for your investigation. It looks like an issue related to the the base index of the array containing values in the javascript code behind.

0 Kudos
TonghuiMing
Esri Regular Contributor

@RejeanLabbe This issue should have been resolved with the recent AGOL June release.

0 Kudos
SarahRijneke
Frequent Contributor

I'm seeing this issue in one of the experiences I've built. When I click on the yellow or brown slices the opposite features appear on the map. When I click on the green or orange slices they display as expected.

SarahRijneke_0-1694011097605.png

SarahRijneke_1-1694011120508.png

SarahRijneke_2-1694011137279.png

SarahRijneke_3-1694011160877.png

 

 

0 Kudos