[Users] GeoExt popup

zeferino saugene zeferino.saugene at gmail.com
Thu Nov 26 21:15:32 CET 2009


Hi List users,

I trying to use the GeoExt.Popup to display chart data.
I need help on replacing the line html: "<div>Popup content</div>",
presented in

var popup = new GeoExt.Popup({
    title: "My Popup",
    feature: feature,
    width: 200,
    html: "<div>Popup content</div>",
    collapsible: true
});

with for example:

items: {
            xtype: 'columnchart',
            store: store,
            yField: 'hits',
            xField: 'month',
            xAxis: new Ext.chart.CategoryAxis({
                title: 'Month'
            }),
            yAxis: new Ext.chart.NumericAxis({
                title: 'Hits'
            }),
            extraStyle: {
               xAxis: {
                    labelRotation: -90
                }
            }
        }

Thank you in advance for the collaboration.

Regards,
Zeferino


More information about the Users mailing list