cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

i5SPCChart suppressed points unusual behavior

Former Member
0 Likes
224

Hi

I am using i5SPCChart component, XBAR-RANGE type, and then I switch to XBAR-MR type.

I configured (checked) property 'show suppressed points' in both template.

At first, suppressed point was showing in XBAR-MR but did not show in XBAR-RANGE type chart.

Then I was able to see suppressed point in both. I was able to hide or show suppressed points pro-grammatically, too.

Now I can not see (or show/hide) suppressed points in both.

I believe that this chart information is saved in MII database, and is mapped using time-stamp (if you change time it will show but not as suppressed).

In this screen-shot, test 127 is suppressed and hidden.

I would appreciate help since this code will have to go to production soon .

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

swaroop_anasane
Active Contributor
0 Likes

Hi Zarko,

The reason behind this behaviour could be caching of chart, and as you do a dynamic update on points being suppressed, the browser is not able to get the recent change but is getting the source from cache.

Try to disable cache if you have such type of requirement.

Also, are you calling .draw() method after every such dynamic change?

Regards,

Swaroop

Former Member
0 Likes

Hi Swaroop

Problem is not related to updating chart, since soon as you set point to be suppressed , chart was redraw an point ‘disappeared’  from chart (query parameter, new time-stamp, was set, and chart update and draw methods are called).

The issue is that ‘chart’ is not able to process and redraw suppressed point if subgroup size is more then 1. In next example XBAR-RANGE chart has subgroup of 5 values, method setSubgroupSize(5) is called, and  chart create each point using  5 values, but skip suppressed point (127).

Same will happened if I am using XBAR-MR template with subgroup size 5. Chart will draw each point calculating 5 values, but skipping suppressed point.

But if I instead of using 5 values, use average value of 5 values, and setting subgroup size to 1 then suppressed points in XBAR-MR template will show (witch is OK since moving range do not need to use within-subgroup variation)

But this will not be possible if I am using  XBAR-RANGE chart template (which using within-subgroup variation).

Zarko