PDA

View Full Version : Problem with Rect Marker in Scatter Series



voodoov
17 Apr 2012, 2:37 AM
Hi,

With scatter series, if I use anything rather than circle I get this error:
Error: Ext.chart.Shape[type] is not a function

This is my code:

{
type: 'scatter',
axis: ['bottom', 'left'],
xField: 'myX',
yField: 'myY',
markerConfig: {
type: 'rect', // or 'path' or 'square' or ... ( error )
// 'circle' with radius is ok
width: 10,
height: 20,
fill: '#000',
'stroke-width': 1,
strock: '#f00'
}
}

Thank you in Advance

scottmartin
19 Apr 2012, 11:10 AM
What version of ExtJS are you using? This displayed fine in 4.1RC3.

Regards,
Scott

34279

voodoov
20 Apr 2012, 3:26 AM
I am using 4.0.7.
Maybe I have to switch...