Skip to main content
Nintex Community Menu Bar
Question

Set multiple values to one of the Model's condition from Chart

  • July 10, 2024
  • 5 replies
  • 3 views

Forum|alt.badge.img+4

I have a chart (column), when user clicks on one of the series, I want to set List of AccountId (multiple values) to one of the data model’s condition. 

I used {{rows.0.AccountID}} & {{rows.AccountID}}, in both the scenarios i’m getting only one AccountId not the list of them.

Is it possible to set multiple values to a condition from chart series? If yes, how do I do that?

5 replies

Forum|alt.badge.img+20

I’d look into using a snippet. I typically looked to see which parameters I receive and then figure out if it’s a go.


Forum|alt.badge.img+4
  • Author
  • July 10, 2024

Is there any way to achieve it by declarative approach?
If No, can you tell me how to access chart’s series data inside JS snippet?


Forum|alt.badge.img+20

Almost certain there isn’t.


Forum|alt.badge.img+4
  • Author
  • July 10, 2024

Could you help me on how to access chart’s series data inside JS snippet?


Forum|alt.badge.img+20

Sure. Create a snippet with the following:

var params = arguments[0],
$ = skuid.$;

console.log(params);

Then in the console you’ll be able to review what you get as parameters and subsequently update your condition as required. Giving you any more than this I’d have to charge you for it. 😉