[Users] GeoExt popup
zeferino saugene
zeferino.saugene at gmail.com
Fri Nov 27 00:05:14 CET 2009
Hi,
Thank you for your advice. I have tried but i still have problems.
Let me try to explain.
The example that is presented is based on a simple html text. What i
really need is a advice on how to popup different content than text.
I my case i need to popup an array of elements presented in a form of chart.
On Thu, Nov 26, 2009 at 11:15 PM, Andreas Hocevar
<andreas.hocevar at gmail.com> wrote:
> Hi,
>
> I am not familiar with Ext charting, but items is an array. See below.
> zeferino saugene wrote:
>>
>> 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,
>>
>
> // add layout: fit if you have just one item
> layout: fit,
>
>> html: "<div>Popup content</div>",
>> collapsible: true
>> });
>>
>> with for example:
>>
>> items: {
>>
>
> wrong. Replace with
>
> 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
>> }
>> }
>> }
>>
>>
>
> ]
>
> Regards,
> Andreas.
>
>> Thank you in advance for the collaboration.
>>
>> Regards,
>> Zeferino
>> _______________________________________________
>> Users mailing list
>> Users at geoext.org
>> http://www.geoext.org/cgi-bin/mailman/listinfo/users
>>
>
>
--
Zeferino Benjamim Saugene
MSc.in Information Systems and Technology.
Department of Informatics
Eduardo Mondlane University
Phone: (+258) 82 40 45 520
(+258) 84 40 45 520
zeferino.saugene at gmail.com
Maputo, Mozambique
More information about the Users
mailing list