From a497165c9d776cff3abd6a7967d9a9438545184d Mon Sep 17 00:00:00 2001 From: priyankabhagwat Date: Tue, 26 Jul 2016 17:00:21 +0530 Subject: responsive layout and various changes --- js/all_charts.js | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100755 js/all_charts.js (limited to 'js/all_charts.js') diff --git a/js/all_charts.js b/js/all_charts.js new file mode 100755 index 0000000..be3d560 --- /dev/null +++ b/js/all_charts.js @@ -0,0 +1,73 @@ + + + +function testscript(){ +alert("hello"); + +} +function getchart(){ + +$(function () { + $('#chart').highcharts({ + chart: { + type: 'column' + }, + title: { + text: 'Monthly Average Rainfall' + }, + subtitle: { + text: 'Source: WorldClimate.com' + }, + xAxis: { + categories: [ + 'Jan', + 'Feb', + 'Mar', + 'Apr', + 'May', + 'Jun', + 'Jul', + 'Aug', + 'Sep', + 'Oct', + 'Nov', + 'Dec' + ], + crosshair: true + }, + yAxis: { + min: 0, + title: { + text: 'Rainfall (mm)' + } + }, + tooltip: { + headerFormat: '{point.key}
{series.name}: | ' + + '{point.y:.1f} mm |