FusionCharts - Gallery Example - Multi-Series Area 2D Chart
Created using FusionCharts Suite XT - www.fusioncharts.com
by André Albson
October 05, 2017
HTML
<script src="http://static.fusioncharts.com/code/latest/fusioncharts.js"></script>
<script src="http://static.fusioncharts.com/code/latest/themes/fusioncharts.theme.zune.js"></script>
<!-- A simple implementation of Multi-Series Area 2D chart showing sales report of top 5 Bar brands in United Kingdom-->
<div id="chart-container">FusionCharts will render here</div>
JavaScript
FusionCharts.ready(function() {
var salesChart = new FusionCharts({
type: 'MSarea',
renderAt: 'chart-container',
width: '600',
height: '400',
dataFormat: 'json',
dataSource: {
"chart": {
"caption": "Desenvolver Entregas no Prazo",
"subCaption": "Albson Xavier",
"xAxisName": "Quanto Maior o Real Melhor",
"showvalues": "0",
"plotFillAlpha": "80%",
"captionpadding": "20",
"numberPrefix": "",
"formatnumberscale": "0",
"showanchors": "0",
"labeldisplay": "ROTATE",
"yaxisvaluespadding": "10",
"yaxismaxvalue": "60000",
"slantlabels": "1",
"animation": "1",
"paletteColors": "#f2c94f,#4579b7",
"divlinedashlen": "2",
"divlinedashgap": "4",
"divlineAlpha": "60",
"drawCrossLine": "1",
"crossLineColor": "#0d0d0d",
"crossLineAlpha": "100",
"crossLineAnimation": "1",
"theme": "zune"
},
"categories": [
{
"category": [
{
"label": "Jan"
},
{
"label": "Fev"
},
{
"label": "Mar"
},
{
"label": "Abr"
},
{
"label": "Mai"
},
{
"label": "Jun"
},
{
"label": "Jul"
},
{
"label": "Ago"
},
{
"label": "Set"
...