Hi,
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
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.
new Ext.Panel({
title: '',
renderTo: 'chart',
width: 500,
height: 300,
layout: 'fit',
items: {
xtype: 'linechart',
store: store,
xField: 'H_Gesamt',
yField: 'standort',
listeners: {
itemclick: function(o){
var rec = store.getAt(o.index);
Ext.example.msg('Item Selected', 'You chose {0}.',
rec.get('name'));
}
}
}
});
however nothing is showing.
Has anyone managed to do this?
yours,
Rob
_______________________________________________
Users mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/users