cancel
Showing results for 
Search instead for 
Did you mean: 

SPC Chart Update issue in 12.2

senthil_kumar44
Participant
0 Kudos

Hi,

We are using Xacute query in SPC Chart in 12.2. It is showing two problems.

1. When updating chart using document.spcchart.updateChart(true), it is executing Xacute query two times. First time with given input values and 

    second time with already saved parameter values in query templates. For example, if we saved param1 as 3 and if we are passing param1 as 6

    from page, first time it is executing value as 6 then it is calling transaction again with 3.

2. When executing second time, if chart name is passed /set, then it is taking chart name as Param.1. if chart name is not passed, then it is taking stored parameter value. For example, chart name is passed as "Vartest", at the second time execution, it is taking param1 as Vartest. if not passed, it is taking stored parameter like 3.

How to stop this issue? Is it issue in SPC Chart itself?

Thanks,

Senthil

Accepted Solutions (0)

Answers (1)

Answers (1)

swaroop_anasane
Active Contributor
0 Kudos

Hi Senthil,

Something wrong with your code. Can you share the code piece where you are passing the parameters and updating chart?

Also, if you haven't passed any parameters it would in any case pick up defaults set in the query/display template.

Warm Regards,

Swaroop