Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
SortChartData.html in the JavaScriptCapabilities folder and name it as RetrieveChartData.html.<input type="button" onclick=" fetchData()" value="Get Chart Data" />
<p> <textarea id="CSVData" style="display:none;" rows="8" cols="40" readonly="readonly" onblur="hideCSVData()"></textarea> </p>
<head> of the page, add a new line after the end of the sortData function (around line number 48) and insert the following code:function fetchData () {
var chart = FusionCharts("myChartId"), csvData = chart.getCSVData(), csvDataArea = document.getElementById("CSVData");
csvDataArea.innerHTML = csvData;
csvDataArea.style.display = "block";
csvDataArea.focus();
}
function hideCSVData () {
document.getElementById("CSVData").style.display = "none";
}