我希望在fusionchart XT中以类型: MSCombiDY2D显示图表的等级值
如何显示不同位置的数据?例如:-

发布于 2015-09-03 15:47:32
我试着解决你的问题,可能已经想出了一个解决方案。我希望它能对你有所帮助。有关任何进一步的问题,请尝试-
FusionCharts.ready(function() {
var salesAnlysisChart = new FusionCharts({
type: 'mscombi2d',
renderAt: 'chart-container',
width: '400',
height: '300',
dataFormat: 'json',
dataSource: {
"chart": {
"caption": "National Average",
"numberPrefix": "",
"showBorder": "0",
"showValues": "0",
"paletteColors": "#00FFFF,#FFFF00,#f2c500",
"bgColor": "#ffffff",
"showCanvasBorder": "0",
"canvasBgColor": "#ffffff",
"captionFontSize": "14",
"subcaptionFontSize": "14",
"subcaptionFontBold": "0",
"divlineColor": "#999999",
"divLineIsDashed": "1",
"divLineDashLen": "1",
"divLineGapLen": "1",
"showAlternateHGridColor": "0",
"usePlotGradientColor": "0",
"toolTipColor": "#ffffff",
"toolTipBorderThickness": "0",
"toolTipBgColor": "#000000",
"toolTipBgAlpha": "80",
"toolTipBorderRadius": "2",
"toolTipPadding": "5",
"legendBgColor": "#ffffff",
"legendBorderAlpha": '0',
"legendShadow": '0',
"legendItemFontSize": '10',
"legendItemFontColor": '#666666'
},
"categories": [
{
"category": [
{
"label": "1"
},
{
"label": "2"
},
{
"label": "3"
},
{
"label": "4"
},
{
"label": "5"
},
{
"label": "6"
},
{
"label": "7"
},
{
"label": "8"
}
]
}
],
"dataset": [
{
"seriesName": "Column",
"showValues": "1",
"data": [
{
"value": "100"
},
{
"value": "100"
},
{
"value": "100"
},
{
"value": "100"
},
{
"value": "100"
},
{
"value": "100"
},
{
"value": "100"
},
{
"value": "99"
}
]
},
{
"seriesName": "Line",
"renderAs": "line",
"showValues": "1",
"data": [
{
"value": "14"
},
{
"value": "1"
},
{
"value": "5"
},
{
"value": "3"
},
{
"value": "10"
},
{
"value": "98"
},
{
"value": "3"
},
{
"value": "23"
}
]
},
]
}
}).render();
});https://stackoverflow.com/questions/29138569
复制相似问题