PDA

View Full Version : Chart Fault



muhkuhmuh
21 Jun 2012, 6:14 AM
Hello,


i have a chart, but its working sometime.And the fault is always

Error: Invalid value for <rect> attribute y="-Infinity"
Haupt_Seite.php:1 (https://sservicepc.dyndns.org/quanstool/Haupt_Seite.php?)Error: Invalid value for <rect> attribute height="Infinity"
Haupt_Seite.php:1 (https://sservicepc.dyndns.org/quanstool/Haupt_Seite.php?)Error: Invalid value for <rect> attribute y="-Infinity"
Haupt_Seite.php:1 (https://sservicepc.dyndns.org/quanstool/Haupt_Seite.php?)Error: Invalid value for <rect> attribute height="Infinity"
Haupt_Seite.php:1 (https://sservicepc.dyndns.org/quanstool/Haupt_Seite.php?)Error: Invalid value for <rect> attribute y="-Infinity"
Haupt_Seite.php:1 (https://sservicepc.dyndns.org/quanstool/Haupt_Seite.php?)Error: Invalid value for <rect> attribute height="Infinity"
Haupt_Seite.php:1 (https://sservicepc.dyndns.org/quanstool/Haupt_Seite.php?)Error: Invalid value for <rect> attribute y="-Infinity"
Haupt_Seite.php:1 (https://sservicepc.dyndns.org/quanstool/Haupt_Seite.php?)Error: Invalid value for <rect> attribute height="Infinity"
Haupt_Seite.php:1 (https://sservicepc.dyndns.org/quanstool/Haupt_Seite.php?)Error: Invalid value for <rect> attribute y="-Infinity"
Haupt_Seite.php:1 (https://sservicepc.dyndns.org/quanstool/Haupt_Seite.php?)

mycode for the chart:




Ext.define('Chart.view.grafikWindow', { extend: 'Ext.window.Window', alias: 'widget.grafikwindow',
autoShow: true, height: 840, id: 'quan', width: 1195, title: 'My Window',
initComponent: function() { var me = this;
Ext.applyIf(me, { dockedItems: [ { xtype: 'chart', autoRender: true, autoShow: true, draggable: false, floating: true, frame: false, height: 806, id: 'grafikid', width: 1098, shadow: false, maintainFlex: false, autoSize: false, animate: true, insetPadding: 20, store: 'MyJsonPStore', dock: 'top', axes: [ { type: 'Category', fields: [ 'zeit' ], label: { rotate: { degrees: 90 } }, position: 'bottom', title: 'kWh', calculateCategoryCount: true, categoryNames: [ 'zeit' ] }, { type: 'Numeric', fields: [ 'Container1', 'Container2', 'Container3', 'Container4', 'Container5', 'Container6', 'Container7', 'Container8', 'Container9', 'Container10', 'Container11', 'Container12' ], position: 'left', title: 'Zeitraum', adjustMaximumByMajorUnit: false, adjustMinimumByMajorUnit: false } ], series: [ { type: 'column', xField: 'zeit', stacked: false } ], legend: { boxStrokeWidth: 3 } } ], listeners: { beforerender: { fn: me.onQuanBeforeRender, scope: me } } });
me.callParent(arguments); },
onQuanBeforeRender: function(abstractcomponent, options) {
}
});

scottmartin
21 Jun 2012, 8:39 AM
We will need a working demo (with data), a screenshot ... and a few more details.
Do you have this problem with 4.1.1 RC2?

Scott.