2
嗨,我使用融合圖表免費與鐵路2.3.5關於Ruby自由融合圖表on Rails的
我試圖模擬文檔中提供的single_array的例子,但不是圖它顯示我以下消息
使用的方法是setDataXML.The XML是
#Creates xml with values for sales data of products #along with their names.
#The values required for building the xml is obtained as parameter arr_data
#It expects an array in which each element is
#itself an array with first element as label and second element as value
xml = Builder::XmlMarkup.new xml.graph(:caption=>'Sales by Product', :numberPrefix=>'$', :formatNumberScale=>'0',:decimalPrecision=>'0') do
for item in arr_data xml.set(:name=>item[0], :value=>item[1],:color=>''+get_FC_color)
end
end
有人看到之前>這個消息?我正在使用火狐瀏覽器> 9