FusionCharts MSBar3D 그림
3002 단어 FusionChartsMSBar3D
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>FusionCharts MSBar3D </title>
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="this is my page">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="../scripts/jquery-2.0.3.js"></script>
<script type="text/javascript" src="../scripts/Charts/FusionCharts.js"></script>
<script type="text/javascript">
$(function(){
var double3DBar = new FusionCharts( "../scripts/Charts/MSBar3D.swf", "doubleLineId", "100%", "540", "0" );
double3DBar.setXMLUrl("data/doubleLine.xml");
double3DBar.render("double3DBarChart");
});
</script>
</head>
<body>
<div id="double3DBarChart"></div>
</body>
</html>
2. 데이터 소스
<?xml version="1.0" encoding="UTF-8"?>
<chart caption='2012 2013 ' xAxisName=' ' yAxisName=' ' showValues='0'
baseFont=' ' baseFontSize='14' baseFontColor='#FF0000' outCnvBaseFont=' '
outCnvBaseFontSize='20' outCnvBaseFontColor='#00FF00' legendShadow='1'
legendAllowDrag='1' reverseLegend='1' interactiveLegend='1' legendNumColumns='2'
minimiseWrappingInLegend='1' showLegend='1' legendPosition='BOTTOM' showZeroPlane='1'>
<categories>
<category label=' ' />
<category label=' ' />
<category label=' ' />
<category label=' ' />
<category label=' ' />
<category label=' ' />
<category label=' ' />
</categories>
<dataset seriesName='2012'>
<set value='656445' />
<set value='412555'/>
<set value='956566' />
<set value='125645' />
<set value='561124' />
<set value='265655' />
<set value='451212' />
</dataset>
<dataset seriesName='2013'>
<set value='154512'/>
<set value='598655'/>
<set value='654544'/>
<set value='956565'/>
<set value='245454' />
<set value='965565' />
<set value='454545' />
</dataset>
</chart>
3. 실행 결과