2016-04-08 5 views
0

私はconvertToFusionCharts()の2番目のパラメータに問題があります。私はキャプション、useLabels、メジャーまたは何かを設定しようとしていますが、結果がないと、サイトなどにあります。また、問題を抱えているようです。convertToFusionCharts第2パラメータが機能しませんか?

キャプションを表示するように設定されています(過去2年間に販売されたユニット)が動作していません。

http://www.fusioncharts.com/dev/using-with-javascript-libraries/jquery/rendering-charts-from-html-tables.html

私がしようとしている:

jQuery("#myHTMLTable").convertToFusionCharts(

{ 
    type: 'MSColumn2D', 
    width: "100%", 
    height: "500", 
    dataFormat: "htmltable", 
    renderAt: "myChartContainer" 

}, 
{ 

    hideTable: true, 

    useLabels: 0, 

    useLegend: 0, 

    showLegend: false, 

    showLabels: false, 

    major: "row" 

} 
); 

誰もがhapping何を知っていますか?

答えて

0

このようなchartattributes内でそれらを設定してみてください:

jQuery("#myHTMLTable").convertToFusionCharts({ 
type: "pie2d", 
width: "100%", 
height: "650", 
dataFormat: "htmltable", 
renderAt: "chart-testhtmlid"}, { 
"chartAttributes": { 
    caption: "Current Db Sizes:", 
    xAxisName: "Size (MB)", 
    yAxisName: "DB Name", 
    exportEnabled : "1", 
    exportAtClientSide: "1", 
    exportFileName: Instance + " Db Sizes " + ReportDate, 
    defaultNumberScale: "MB", 
    numberScaleValue: "1000,1000", 
    numberScaleUnit: "GB,TB", 
     bgColor: "FFFFFF", 
     theme: "fint" 
}, 
"ignoreCols": [1,2,3,4,5,6,8] 
}); 
関連する問題