jeudi 12 juin 2014

ST 2.3.1 charts not working with phonegap ?

Hi,

I've been trying to use a gauge chart with phonegap but without success: is there a known workaround / Am I the only one seing this ?


I'm trying to display the following panel (see code below). While everything is correct on a browser, there is a silent crash while running on my dev. phone using cordova and nothing gets put on display.


Any help is appreciated/


Best.


Ext.define('App.view.Gauge2', {

extend: 'Ext.Panel',

requires:['App.store.Points', 'Ext.chart.SpaceFillingChart', 'Ext.chart.series.Gauge', 'Ext.chart.series.sprite.PieSlice'],

config: {

id: 'gauge',

title:'Gg',

cls: 'card1',

layout:'fit',

items:{

xtype:'spacefilling',

id:'gg',

store: 'Points',

series:[{

type:'gauge',

field:'data',

minimum: -100,

maximum: 100,

steps: 10

}]

}

}

});





Aucun commentaire:

Enregistrer un commentaire