0
在div中,放置融合圖表(StackedChart3D)的xml數據,同時獲取div的自我終止類別標籤的innerHtml接近錯誤順序..下面是代碼snipshot..I我不知道什麼是蓋特數據從DOM腳麻 圖表數據document.getElementById(「myRewardsHistorydivXML」)。innerHTML重新關閉標籤
<div id="myRewardsHistorydivXML">
<graph bgColor='F1f1f1' caption='' subcaption='' xaxisname='' yaxisname='' canvasbgcolor='F1F1F1' numdivlines='0' showLegend='1' yAxisMaxValue='50'>
**<categories font='Arial' fontSize='10' fontColor='000000'>
<category name='2011' />
<category name='2012' />
</categories>**
<dataset seriesname='My Life' color='1941A5' showValues='0' alpha='100'>
<set value='25675' color='1941A5'></set>
<set value='22475' color='1941A5'></set>
</dataset>
<dataset seriesname='My Health' color='FF0000' showValues='0' alpha='100'>
<set value='21675' color='1941A5'></set>
<set value='23531' color='1941A5'></set>
</dataset>
<graph>
</div>
在瀏覽器的監視窗口,同時檢查的document.getElementById元素的innerHTML(「myRewardsHistorydivXML」)。innerHTML的..Its apperaing
<graph bgColor='F1f1f1' caption='' subcaption='' xaxisname='' yaxisname='' canvasbgcolor='F1F1F1' numdivlines='0' showLegend='1' yAxisMaxValue='50'>
<categories font='Arial' fontSize='10' fontColor='000000'>
**<category name='2011'>
<category name='2012'>
</category></category>**
</categories>
<dataset seriesname='My Life' color='1941A5' showValues='0' alpha='100'>
<set value='25675' color='1941A5'></set>
<set value='22475' color='1941A5'></set>
</dataset>
<dataset seriesname='My Health' color='FF0000' showValues='0' alpha='100'>
<set value='21675' color='1941A5'></set>`enter code here`
<set value='23531' color='1941A5'></set>
</dataset>
<graph>
此代碼自2012年4月起已在使用中,並且沒有任何問題。現在,這已成爲生產問題 – Anurag