[Users] Databinding with shp or postgis db possible?
Robert Buckley
robertdbuckley at yahoo.com
Wed Dec 15 11:50:09 CET 2010
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20101215/7793fa01/attachment.htm
More information about the Users
mailing list