Problem with Chart display when using Participant Groups and the Chart Wizard

LabKey Support Forum
Problem with Chart display when using Participant Groups and the Chart Wizard rpiercy  2024-05-24 08:31
Status: Active
 

I have run into a problem with examining data in time-based plots (version 21.7). I can view individual participant data appropriately and even all individuals' data on the same plot, but as soon as I try to display the data (as means with error bars) summarised according to my allocated groups (via Chart Layout tab), the system freezes - just says "loading..." which never ends.

Is this a bug please?

Thank you.

 
 
mohara responded:  2024-05-24 12:34

Hi:

First, it maybe goes without saying that you'll want to upgrade your server to take advantage of numerous fixes, including but not limited to security updates mentioned in these release notes and this recent forum post. In your case this would be a multistep upgrade, as covered here.

We aren't able to do detailed troubleshooting on older versions, but some ideas:

Are you seeing any error messages in the log when it hangs like that?
Any errors in the developer tools/browser console?
Does it happen on a different browser? (Chrome vs. Firefox)?
Does a timechart showing by participant groups > Show individual lines work?
Does > Show mean > None work? i.e. is it only the specific combination of showing groups with means as Std Err bars or something broader?

I am able to create a scenario to get a 'Loading...' hang like that on a timechart, but only in a study that has neither participant groups nor cohorts - this seems unlikely to be why you are seeing that, but it's worth confirming the groups you want to use are still assigned and populated.

As a confirmation of basics on that older version, you can install our example study from the 21.7 documentation archives into a testing folder. That study includes a pre-built timechart that you should be able to use 'chart layout' to show the 'std err' bars. Assuming that works, hopefully you can work backwards to what may be different in your study?

Hope that helps, and thanks for reaching out.

--Molly

 
rpiercy responded:  2024-05-28 01:36

Thank you Molly.

I am not seeing any specific errors and the problem happens in Safari and Chrome.

Yes, it works if I try to display a time chart with participant groups >show individual lines.

but
Show mean > None. Also does not work - again it just hangs.

I have groups and cohorts defined.

Richard

 
rpiercy responded:  2024-05-28 03:28

I have been able to sort the error by saving data in an earlier version of Excel and re-uploading and removing some rows that had empty fields.

 
mohara responded:  2024-05-28 10:11

Interesting, and glad you found a workaround. I suspect that something about calculating the mean/std err was not working with that missing data. I can't reproduce that here, so far, but I may not be missing enough of the same kind of data you were, or of course it may have been fixed since then.

--Molly