Chart series reverses order after re-evaluating

Hey folks! While creating a columnChartField in a report we encountered a weird behaviour. While switching between different data sets, the chart series reverses its order (see attached picture). After some testing and reducing the expression we came up with the appended test case that reproduces this behaviour while picking "Case A" and "Case B" through the radio buttons. We further isolated the reason of the order-reversing behaviour and found it to be the dynamic component of the instructions in the column chart (see annotations in the code).
Is this behaviour expected?

This is the test case:

=load(
local!case: true,
a!dashboardLayout(
firstColumnContents: {

a!radioButtonField(
label: "Case",
choiceLabels: {"A", "B"},
choiceValues: {true, false},
value: local!case,
saveInto: local!case
),

a!columnChartField(
label: "Some chart",
/*instructions: "Case: "...

OriginalPostID-222539

OriginalPostID-222539

  Discussion posts and replies are publicly visible

Parents
  • You're most welcome! I am waiting to get confirmation from our product team about when this was fixed/what ticket(s) fixed the issue. Once I get that, I'll update this with a KB article describing the issue further.

    My first guess is that ticket is not related because the release notes indicate that the behavior changed between 16.3 and 17.1, but I found this bug back in 7.10.
Reply
  • You're most welcome! I am waiting to get confirmation from our product team about when this was fixed/what ticket(s) fixed the issue. Once I get that, I'll update this with a KB article describing the issue further.

    My first guess is that ticket is not related because the release notes indicate that the behavior changed between 16.3 and 17.1, but I found this bug back in 7.10.
Children
No Data