Bonjour à tous,

j'utilise un stackedcolumnchart pour grapher des données récupérés via un Json.

Mes données se chargent correctement, mon graphique s'affiche sans problème.
Mais j'ai un souci, lorsque je passe ma souris sur mon graphique, au moment ou le tooltip doit s'afficher j'ai une erreur. En passant donc mon curseur de droite à gauche du graphe j'obtiens des centaines d'erreurs.

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
invalid property id
try { __flash__toXML(Ext.FlashEventPro... "<exception>" + e + "</exception>"; }
Je vous met aussi a disposition un screenshot de mon graphique:

Voici mon code
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
<?php
 
include ('../../include.php');
 
?>
 
<script type="text/javascript">
    Ext.onReady(function(){    
 
        var mask = new Ext.LoadMask(Ext.getBody(), {msg:"Chargement en cours..."});
 
        // Store des graphiques
        var stoBS = new Ext.data.Store({
            storeId: 'stoBS',
            method: 'POST',
            autoLoad: true,
            url: 'data/radio/getBS.php',
            reader: 
                new Ext.data.JsonReader({
                    totalProperty: 'total',
                    root: 'graph'
                },
                new Ext.data.Record.create([
                    {name: 'ID',    type: 'string'}, 
                    {name: 'Nom',    type: 'string'}
 
                ])
            )
        });
 
        // Store des graphiques
        var stoGraphModulationUp = new Ext.data.Store({
            storeId: 'stoGraphModulationUp',
            method: 'POST',
            url: 'data/radio/getGraphUp.php',
            reader: 
                new Ext.data.JsonReader({
                    totalProperty: 'total',
                    root: 'graph'
                },
                new Ext.data.Record.create([
                    {name: 'DateInsert',    type: 'string'}, 
                    {name: 'Bpsk12',        type: 'int'},
                    {name: 'Qpsk12',        type: 'int'},
                    {name: 'Qpsk34',        type: 'int'},
                    {name: '16Qam12',        type: 'int'},
                    {name: '16Qam34',        type: 'int'},
                    {name: '64Qam23',        type: 'int'},
                    {name: '64Qam34',        type: 'int'}
 
                ])
            )
        });
 
        // Store des graphiques
        var stoGraphModulationDown = new Ext.data.Store({
            storeId: 'stoGraphModulationDown',
            method: 'POST',
            url: 'data/radio/getGraphDown.php',
            reader: 
                new Ext.data.JsonReader({
                    totalProperty: 'total',
                    root: 'graph'
                },
                new Ext.data.Record.create([
                    {name: 'DateInsert',    type: 'string'}, 
                    {name: 'Bpsk12',        type: 'int'},
                    {name: 'Qpsk12',        type: 'int'},
                    {name: 'Qpsk34',        type: 'int'},
                    {name: '16Qam12',        type: 'int'},
                    {name: '16Qam34',        type: 'int'},
                    {name: '64Qam23',        type: 'int'},
                    {name: '64Qam34',        type: 'int'}
 
                ])
            )
        });
 
        // Toolbar pour le panel du graphique
        var tbGraph = new Ext.Toolbar({
            items: [
                ddlBS = new Ext.form.ComboBox({
                    id: 'ddlBS',
                    witdh: 100,
                    displayField: 'Nom',
                    valueField: 'ID',
                    mode: 'local',
                    emptyText: 'Toutes les BS',
                    triggerAction: 'all',
                    allowBlank:false,
                    selectOnFocus:true,
                    forceSelection : true,
                    store: stoBS,
                    listeners:
                    {
                        'afterrender': function(ddl){
                            stoGraphModulationUp.load();
                            stoGraphModulationDown.load();
                            mask.show();
                        }
                    }
                }),
                '-',
                new Ext.form.DateField({
                    id: 'txtDateDebut',
                    width: 164,
                    format: "d/m/Y H:00",
                    emptyText: 'Date de d\351but'
                    }),
                '-',
                new Ext.form.DateField({
                    id: 'txtDateFin',
                    width: 164,
                    format: "d/m/Y H:00",
                    emptyText: 'Date de fin'
                    }),
                '-',
                CheckBoxGroup = new Ext.form.CheckboxGroup({
                    id:'CheckBoxGroup',
                    xtype: 'checkboxgroup',
                    fieldLabel: 'Single Column',
                    itemCls: 'x-check-group-alt',
                    // Put all controls in a single column with width 100%
                    width: 300,
                    columns: 4,
                    items: [
                        {boxLabel: 'Bpsk 1/2', name: 'cb-col-1', id: 'cb1', inputValue: '2', checked:true},
                        {boxLabel: 'Qpsk 1/2', name: 'cb-col-2', id: 'cb2', inputValue: '3', checked:true},
                        {boxLabel: 'Qpsk 3/4', name: 'cb-col-3', id: 'cb3', inputValue: '4', checked:true},
                        {boxLabel: '16Qam 1/2', name: 'cb-col-4', id: 'cb4', inputValue: '5', checked:true},
                        {boxLabel: '16Qam 3/4', name: 'cb-col-5', id: 'cb5', inputValue: '6', checked:true},
                        {boxLabel: '64Qam 2/3', name: 'cb-col-6', id: 'cb6', inputValue: '7', checked:true},
                        {boxLabel: '64Qam 3/4', name: 'cb-col-7', id: 'cb7', inputValue: '8', checked:true}
                    ]
                }),
                new Ext.Button({
                    id: 'btnActualiser',
                    text: 'Actualiser',
                    iconCls: 'arrowRefresh',
                    style: 'padding-left: 10px;',
                    listeners:{
                        'click': function(){
 
                            ddlBS.validate();
                            if(ddlBS.isValid())
                            {
                                cb1 = 
                                cb2 = Ext.getCmp('cb2').getValue();
                                cb3 = Ext.getCmp('cb3').getValue();
                                cb4 = Ext.getCmp('cb4').getValue();
                                cb5 = Ext.getCmp('cb5').getValue();
                                cb6 = Ext.getCmp('cb6').getValue();
                                cb7 = Ext.getCmp('cb7').getValue();
 
                            stoGraphModulationUp.baseParams = {BS: Ext.getCmp('ddlBS').getValue(),DateDeb: Ext.getCmp('txtDateDebut').getValue(),DateFin: Ext.getCmp('txtDateFin').getValue(),CB1:Ext.getCmp('cb1').getValue(),CB2:Ext.getCmp('cb2').getValue(),CB3:Ext.getCmp('cb3').getValue(),CB4:Ext.getCmp('cb4').getValue(),CB5:Ext.getCmp('cb5').getValue(),CB6:Ext.getCmp('cb6').getValue(),CB7:Ext.getCmp('cb7').getValue()};
                            stoGraphModulationDown.baseParams = {BS: Ext.getCmp('ddlBS').getValue(),DateDeb: Ext.getCmp('txtDateDebut').getValue(),DateFin: Ext.getCmp('txtDateFin').getValue(),CB1:Ext.getCmp('cb1').getValue(),CB2:Ext.getCmp('cb2').getValue(),CB3:Ext.getCmp('cb3').getValue(),CB4:Ext.getCmp('cb4').getValue(),CB5:Ext.getCmp('cb5').getValue(),CB6:Ext.getCmp('cb6').getValue(),CB7:Ext.getCmp('cb7').getValue()};
                            stoGraphModulationUp.load();
                            stoGraphModulationDown.load();
                            mask.show();
                            }
                            else 
                            {
                                alert("Veuillez choisir une BS");
                            }
                        }
                    }
                }) 
            ]
        });
 
    new Ext.Panel({
        id:'PanelModulationUp',
        width: 1024,
        height: 452,
        iconCls: 'chartLine',
        tbar: tbGraph,
        renderTo: document.getElementById('content'),
        title: 'Modulation Uplink',
        items: {
            xtype: 'stackedcolumnchart',
            store: stoGraphModulationUp,
            xField: 'DateInsert',
            xAxis: new Ext.chart.CategoryAxis({
                title: 'Date',
                size: 50
            }),
            yAxis: new Ext.chart.NumericAxis({
                title: 'Nb Client',
                size: 50,
                stackingEnabled: true
            }),
            series: [
            {
                    yField: 'Bpsk12',
                    displayName: 'Bpsk 1/2',
                        style: { color: '#F71101' ,size: 20}
 
            },
            {
                    yField: 'Qpsk12',
                    displayName: 'Qpsk 1/2',
                        style: { color: '#F7AD01' ,size: 20 }
            },
            {
                    yField: 'Qpsk34',
                    displayName: 'Qpsk 3/4',
                        style: { color: '#E7F701' ,size: 20}
            },
            {
                    yField: '16Qam12',
                    displayName: '16Qam 1/2',
                        style: { color: '#4BF701' ,size: 20 }
            },
            {
                    yField: '16Qam34',
                    displayName: '16Qam 3/4',
                        style: { color: '#01F795' ,size: 20}
            },
            {
                    yField: '64Qam23',
                    displayName: '64Qam 2/3',
                        style: { color: '#09BAFA' ,size: 20}
            },
            {
                    yField: '64Qam34',
                    displayName: '64Qam 3/4',
                    style: { color: '#0969FA' ,size: 20}
            }],
            extraStyle: 
            {
                    xAxis: 
                    {
                        labelRotation: -90
                    }
            },
            chartStyle: 
            {
                    padding: 1,
                    animationEnabled: true,
                    font: 
                    {
                        name: 'Tahoma',
                        size: 10
                    },
                    legend: 
                    {
                        display: 'right'
                    }
            }
            ,
            listeners: {
                'refresh': function(){
                    mask.hide();                            
                }
            }
        }
    });
 
    new Ext.Panel({
        id:'PanelModulationDown',
        width: 1024,
        height: 400,
        iconCls: 'chartLine',
        renderTo: document.getElementById('content'),
        title: 'Modulation Downlink',
        items: {
            xtype: 'stackedcolumnchart',
            store: stoGraphModulationDown,
            xField: 'DateInsert',
            xAxis: new Ext.chart.CategoryAxis({
                title: 'Date',
                size: 50
            }),
            yAxis: new Ext.chart.NumericAxis({
                title: 'Nb Client',
                size: 50,
                stackingEnabled: true
            }),
            series: [
            {
                    yField: 'Bpsk12',
                    displayName: 'Bpsk 1/2',
                        style: { color: '#F71101' ,size: 20}
 
            },
            {
                    yField: 'Qpsk12',
                    displayName: 'Qpsk 1/2',
                        style: { color: '#F7AD01' ,size: 20 }
            },
            {
                    yField: 'Qpsk34',
                    displayName: 'Qpsk 3/4',
                        style: { color: '#E7F701' ,size: 20}
            },
            {
                    yField: '16Qam12',
                    displayName: '16Qam 1/2',
                        style: { color: '#4BF701' ,size: 20 }
            },
            {
                    yField: '16Qam34',
                    displayName: '16Qam 3/4',
                        style: { color: '#01F795' ,size: 20}
            },
            {
                    yField: '64Qam23',
                    displayName: '64Qam 2/3',
                        style: { color: '#09BAFA' ,size: 20}
            },
            {
                    yField: '64Qam34',
                    displayName: '64Qam 3/4',
                    style: { color: '#0969FA' ,size: 20}
            }],
            extraStyle: 
            {
                    xAxis: 
                    {
                        labelRotation: -90
                    }
            },
            chartStyle: 
            {
                    padding: 1,
                    animationEnabled: true,
                    font: 
                    {
                        name: 'Tahoma',
                        size: 10
                    },
                    legend: 
                    {
                        display: 'right'
                    }
            }
            ,
            listeners: {
                'refresh': function(){
                    mask.hide();                            
                }
            }
        }
    }); 
 
});            
 
</script>
<div id="content"></div>

Je ne vois pas ce qui peut me générer ce type d'erreur.

En ésperant que vous pourrez m'aider.

Merci par avance,

Nheil