Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/extjs/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Extjs 不显示饼图_Extjs_Sencha Touch 2_Sencha Architect_Sencha Charts - Fatal编程技术网

Extjs 不显示饼图

Extjs 不显示饼图,extjs,sencha-touch-2,sencha-architect,sencha-charts,Extjs,Sencha Touch 2,Sencha Architect,Sencha Charts,这是包含饼图的选项卡代码 { xtype: 'container', title: 'Chart', iconCls: 'chart', itemId: 'chart_Tab',

这是包含饼图的选项卡代码

{
                                xtype: 'container',
                                title: 'Chart',
                                iconCls: 'chart',
                                itemId: 'chart_Tab',
                                layout: {
                                    type: 'fit'
                                },
                                items: [
                                    {
                                        xtype: 'polar',
                                        autoDestroy: false,
                                        colors: [
                                            '#115fa6',
                                            '#94ae0a',
                                            '#a61120',
                                            '#ff8809',
                                            '#ffd13e',
                                            '#a61187',
                                            '#24ad9a',
                                            '#7c7474',
                                            '#a66111'
                                        ],
                                        store: 'elementstore',
                                        series: [
                                            {
                                                type: 'pie',
                                                xField: 'numValue'
                                            }
                                        ],
                                        interactions: [
                                            {
                                                type: 'rotate'
                                            }
                                        ]
                                    }
                                ]
                            },
问题是,它确实显示了任何东西,但也不会崩溃。。。 我检查了一下,我的商店里摆满了要展示的模型

这是这个图表的输出。。。这里只有“gpl sencha生成的标签”没有任何图表。。。所以我猜是出了什么问题,但我不能指指点点,+森查团队绝对没有这方面的工作实例

仍然不工作,有人会有奇怪的想法为什么

尝试更改

store: 'elementstore',

  • 免费版Sencha Touch和试用版均不包含图表文件

  • 如果您在本地服务器(app.html)中运行它,而不是index.html,您将看不到任何内容


  • firebug错误呢?我不能,建筑师为我写了这句话。我不能修改它,它应该是这样写的,我想如果软件是这样做的:s
    `store: elementstore,`,