GenericChartPanel and curveFit?

LabKey Support Forum (Inactive)
GenericChartPanel and curveFit? Ben Bimber  2014-01-23 18:08
Status: Closed
 
A user noticed that after our upgrade to 13.3 a graph that is based on GenericChartPanel (i realize that's not in the public API) stopped showing the curveFit line. It had a config roughly like:

cfg.curveFit = {
    type : 'linear',
    points: 10,
    min: 0,
    max: 7,
    params : [runRow.slope, runRow.intercept]
}

I dont see any obvious changes in GenericChartPanel to explain why this would no longer work. Was there a conscious change here, or another changes that could account for this?

Thanks
 
 
alanv responded:  2014-01-24 10:38
We made some changes to the GenericChartPanel, but there were no conscious decisions to make that stop working. It's used in the ELISA assay, and appears to still be working there. Are there any errors in the JavaScript console? Does the chart otherwise look normal?
 
Ben Bimber responded:  2014-01-24 18:05
Yeah, it's a scatter plot and working otherwise. There's no JS errors at all. I stepped into the code and saw that my curveFit config is getting passed. I didnt see exactly where the line is getting drawn. If you could point me at the right place I could do some debugging.
 
alanv responded:  2014-01-27 14:13
It looks like this is a bug that was introduced in 13.3. Unfortunately it is currently not a high enough priority to fix in 13.3. I am planning on having a fix in for 14.1. There is an issue open here:

https://www.labkey.org/issues/home/Developer/issues/details.view?issueId=19476