餅圖

2013-06-21 54 views
0

這裏是包含餅圖餅圖

{ 
           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生成的標籤''根本沒有圖表...所以即時猜測是錯誤的,但我不能把我的手指放在上面,+從sencha團隊那裏絕對沒有工作的例子...

仍然不工作會有人有anny想法爲什麼?

output

+0

螢火蟲錯誤呢? – Brian

回答

0
  1. 圖表文件不包含與煎茶觸摸的免費版本,也沒有在試用版。

  2. 如果您在本地服務器(app.html)而不是index.html中運行它,則不會看到任何內容。

0

嘗試改變

store: 'elementstore', 

`store: elementstore,`, 
+0

我不能,建築師爲我寫了這行。我不能修改它,它應該是這樣寫的,我猜如果軟件是這樣做的:S – Fawar