FusionCharts - showShadow in Multi Series Line Chart
Created using FusionCharts Suite XT - www.fusioncharts.com
by Gagan Sikri
HTML
<script src="http://static.fusioncharts.com/code/latest/fusioncharts.js"></script>
<script src="http://static.fusioncharts.com/code/latest/fusioncharts.charts.js"></script>
<script src="http://static.fusioncharts.com/code/latest/themes/fusioncharts.theme.fint.js"></script>
<!-- Div lines break up the y-axis into smaller units helping in better visual data interpretation.
Attributes :
1. divlineAlpha
2. divlineColor
3. divlineThickness
4. divLineIsDashed
5. divLineDashLen
6. divLineGapLen
Note: All the above attributes are defined in 'fint' theme file, which the chart in this fiddle uses. Only divLineIsDashed and divlineAlpha attributes are overwritten to make the divlines more prominent.
-->
<div id="chart-container">FusionCharts will render here</div>
JavaScript
FusionCharts.ready(function () {
var vstrChart = new FusionCharts({
type: 'msline',
renderAt: 'chart-container',
width: '450',
height: '300',
dataFormat: 'json',
dataSource: {
"chart": {
"caption": "Website Visitors",
"subCaption": "Last week Vs This week",
"xAxisName": "Day",
"yAxisName": "No. of Visitors",
"theme": "fint",
"showValues" : "0",
"divLineIsDashed": "0",
"divlineAlpha" : "50",
"lineThickness": "3",
//Show Shadow Chart Attribute
"showShadow": "1"
},
"categories": [
{
"category": [
{
"label": "Mon"
},
{
"label": "Tue"
},
{
"label": "Wed"
},
{
"label": "Thu"
},
{
"label": "Fri"
},
{
"label": "Sat"
},
{
"label": "Sun"
}
]
}
],
"dataset": [
{
"seriesname": "Last Week",
"data": [
{
"value": "13000"
},
{
"value": "14500"
},
{
"value": "13500"
},
...