FusionCharts - Displaying anchors in a line chart.
Showing Anchors in chart.
HTML
<script src="https://cdn.fusioncharts.com/fusioncharts/latest/fusioncharts.js"></script>
<script src="https://cdn.fusioncharts.com/fusioncharts/latest/themes/fusioncharts.theme.fusion.js"></script>
<div id="chart-container">FusionCharts will render here</div>
JavaScript
FusionCharts.ready(function() {
var satisfactionChart = new FusionCharts({
type: 'msstackedcolumn2d',
renderAt: 'chart-container',
width: '700',
height: '400',
dataFormat: 'json',
dataSource: {
"chart": {
"labelpadding": "40",
"showValues": "1",
"stack100percent": "1",
"pYAxisName": "Sales",
"sYAxisName": "Profit %",
"numberPrefix": "$",
"numbersuffix": "M",
"sNumberSuffix": "%",
"sYAxisMaxValue": "25",
"divlineAlpha": "100",
"divlineColor": "#999999",
"divlineThickness": "1",
"divLineDashed": "1",
"divLineDashLen": "1",
"theme": "fusion"
},
"categories": [{
"category": [{
"label": "4th Grade"
},
{
"label": "5th Grade"
}
]
}],
"dataset": [{
"dataset": [{
"data": [{
"value": "30"
},
{
"value": "26"
}
]
},
{
"data": [{
"value": "21"
},
{
"value": "28"
}
]
}
]
},
{
"dataset": [{
"data": [{
"value": "27"
},
{
"value": "25"
}
]
},
{
"data": [{
"value": "17"
},
{
"value": "15"
}
]
}
]
}
],
"annotations": {
"groups": [{
"items": [{
"type": "text",
"text": "ELA",
"x": "$xaxis.0.label.0.x-30",
"y": "$canvasEndY+20"
}, {
"type": "text",
...