<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:8pt">Hi,<br><br>I´m having a nightmare trying to work out how to use an ext store which gets it`s data from a layers to produce an Ext.chart<br><br>I have an app which gets features from postgis and presents thenm in a map which is joined to a grid. I would also like to display a chart with the same data using the same store.<br><br><br><div>new Ext.Panel({<br> title: '',<br> renderTo: 'chart',<br> width: 500,<br> height: 300,<br> layout: 'fit',<br> <br>
items: {<br> xtype: 'linechart',<br> store: store,<br> xField: 'H_Gesamt',<br> yField: 'standort',<br> listeners: {<br> itemclick: function(o){<br> var rec = store.getAt(o.index);<br> Ext.example.msg('Item Selected', 'You chose {0}.',
rec.get('name'));<br> }<br> }<br> }<br> });<br>however nothing is showing.<br><br>Has anyone managed to do this?<br><br>yours,<br><br>Rob<br></div>
</div><br></body></html>