Configuring Charts - Creating links
customize the divisional lines cosmetics in Line chart
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 id="chart-container">FusionCharts will render here</div>
JavaScript
FusionCharts.ready(function () {
var vstrChart = new FusionCharts({
type: 'MSBar3D',
renderAt: 'chart-container',
width: '500',
height: '340',
dataFormat: 'json',
dataSource: {
"chart": {
"caption": "Website Visitors",
"subCaption": "Last week Vs This week",
"xAxisName": "Day",
"yAxisName": "No. of Visitors",
"theme": "fint",
//Divisional line cosmetics
"divLineColor":"#6699cc",
"divLineAlpha":"60",
"divLineIsDashed" : "0"
},
"categories": [
{
"category": [
{
"label": "Mon",
},
{
"label": "Tue",
"labelLink" : "http://foo.com"
},
{
"label": "Wed"
},
{
"label": "Thu"
},
{
"label": "Fri"
},
{
"label": "Sat"
},
{
"label": "Sun"
}
]
}
],
"dataset": [
{
"seriesname": "Last Week",
"data": [
{
"value": "13000",
"link":"http://foo.com"
},
{
"value": "14500"
},
...