PDA

View Full Version : [FIXED-EXTJSIV-322] PR5 - Scatter chart should not try to plot undefined values



chrisbrianolsen
24 Mar 2011, 4:36 PM
If the value in the store is undefined the scatter chart should not try to plot it.
We need some way to have plot points in a scatter chart not plotted if there is not data for each yAxis entry.

I added this simple check in Scatter.js getPaths:

if (yValue == undefined) {
return;
}

in the store.each .... section after the check for the yValue == 'string'.
This works just fine for me.

philogb
26 Mar 2011, 5:59 PM
Thank you very much for the tip. This has been fixed now.