Permalink
Browse files

add highcharts

  • Loading branch information...
1 parent 28e13c3 commit 9a641567532958a3c07ad943bb955141b0eb9579 @JoeGermuska committed Jun 16, 2012
Showing with 25,050 additions and 9 deletions.
  1. +94 −0 census/highcharts/examples/area-basic/index.htm
  2. +91 −0 census/highcharts/examples/area-inverted/index.htm
  3. +85 −0 census/highcharts/examples/area-missing/index.htm
  4. +55 −0 census/highcharts/examples/area-negative/index.htm
  5. +82 −0 census/highcharts/examples/area-stacked-percent/index.htm
  6. +86 −0 census/highcharts/examples/area-stacked/index.htm
  7. +85 −0 census/highcharts/examples/areaspline/index.htm
  8. +86 −0 census/highcharts/examples/bar-basic/index.htm
  9. +87 −0 census/highcharts/examples/bar-negative-stack/index.htm
  10. +67 −0 census/highcharts/examples/bar-stacked/index.htm
  11. +97 −0 census/highcharts/examples/column-basic/index.htm
  12. +154 −0 census/highcharts/examples/column-drilldown/index.htm
  13. +55 −0 census/highcharts/examples/column-negative/index.htm
  14. +120 −0 census/highcharts/examples/column-parsed/index.htm
  15. +103 −0 census/highcharts/examples/column-rotated-labels/index.htm
  16. +79 −0 census/highcharts/examples/column-stacked-and-grouped/index.htm
  17. +63 −0 census/highcharts/examples/column-stacked-percent/index.htm
  18. +86 −0 census/highcharts/examples/column-stacked/index.htm
  19. +101 −0 census/highcharts/examples/combo-dual-axes/index.htm
  20. +137 −0 census/highcharts/examples/combo-multi-axes/index.htm
  21. +60 −0 census/highcharts/examples/combo-regression/index.htm
  22. +97 −0 census/highcharts/examples/combo/index.htm
  23. +88 −0 census/highcharts/examples/dynamic-click-to-add/index.htm
  24. +371 −0 census/highcharts/examples/dynamic-master-detail/index.htm
  25. +96 −0 census/highcharts/examples/dynamic-update/index.htm
  26. +87 −0 census/highcharts/examples/line-ajax/analytics.tsv
  27. +188 −0 census/highcharts/examples/line-ajax/index.htm
  28. +81 −0 census/highcharts/examples/line-basic/index.htm
  29. +66 −0 census/highcharts/examples/line-labels/index.htm
  30. +53 −0 census/highcharts/examples/line-log-axis/index.htm
  31. +206 −0 census/highcharts/examples/line-time-series/index.htm
  32. +71 −0 census/highcharts/examples/pie-basic/index.htm
  33. +148 −0 census/highcharts/examples/pie-donut/index.htm
  34. +67 −0 census/highcharts/examples/pie-legend/index.htm
  35. +197 −0 census/highcharts/examples/scatter/index.htm
  36. +87 −0 census/highcharts/examples/spline-inverted/index.htm
  37. +133 −0 census/highcharts/examples/spline-irregular-time/index.htm
  38. +169 −0 census/highcharts/examples/spline-plot-bands/index.htm
  39. +87 −0 census/highcharts/examples/spline-symbols/index.htm
  40. +109 −0 census/highcharts/exporting-server/index.php
  41. BIN census/highcharts/graphics/skies.jpg
  42. BIN census/highcharts/graphics/snow.png
  43. BIN census/highcharts/graphics/sun.png
  44. +66 −0 census/highcharts/index.htm
  45. +13 −0 census/highcharts/js/adapters/mootools-adapter.js
  46. +321 −0 census/highcharts/js/adapters/mootools-adapter.src.js
  47. +16 −0 census/highcharts/js/adapters/prototype-adapter.js
  48. +381 −0 census/highcharts/js/adapters/prototype-adapter.src.js
  49. +24 −0 census/highcharts/js/highcharts-more.js
  50. +239 −0 census/highcharts/js/highcharts.js
  51. +14,681 −0 census/highcharts/js/highcharts.src.js
  52. +133 −0 census/highcharts/js/modules/canvas-tools.js
  53. +3,113 −0 census/highcharts/js/modules/canvas-tools.src.js
  54. +23 −0 census/highcharts/js/modules/exporting.js
  55. +736 −0 census/highcharts/js/modules/exporting.src.js
  56. +263 −0 census/highcharts/js/themes/dark-blue.js
  57. +263 −0 census/highcharts/js/themes/dark-green.js
  58. +262 −0 census/highcharts/js/themes/gray.js
  59. +95 −0 census/highcharts/js/themes/grid.js
  60. +89 −0 census/highcharts/js/themes/skies.js
  61. +3 −2 census/index.html
  62. +55 −7 census/profile.js
@@ -0,0 +1,94 @@
+<!DOCTYPE HTML>
+<html>
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <title>Highcharts Example</title>
+
+ <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
+ <script type="text/javascript">
+$(function () {
+ var chart;
+ $(document).ready(function() {
+ chart = new Highcharts.Chart({
+ chart: {
+ renderTo: 'container',
+ type: 'area'
+ },
+ title: {
+ text: 'US and USSR nuclear stockpiles'
+ },
+ subtitle: {
+ text: 'Source: <a href="http://thebulletin.metapress.com/content/c4120650912x74k7/fulltext.pdf">'+
+ 'thebulletin.metapress.com</a>'
+ },
+ xAxis: {
+ labels: {
+ formatter: function() {
+ return this.value; // clean, unformatted number for year
+ }
+ }
+ },
+ yAxis: {
+ title: {
+ text: 'Nuclear weapon states'
+ },
+ labels: {
+ formatter: function() {
+ return this.value / 1000 +'k';
+ }
+ }
+ },
+ tooltip: {
+ formatter: function() {
+ return this.series.name +' produced <b>'+
+ Highcharts.numberFormat(this.y, 0) +'</b><br/>warheads in '+ this.x;
+ }
+ },
+ plotOptions: {
+ area: {
+ pointStart: 1940,
+ marker: {
+ enabled: false,
+ symbol: 'circle',
+ radius: 2,
+ states: {
+ hover: {
+ enabled: true
+ }
+ }
+ }
+ }
+ },
+ series: [{
+ name: 'USA',
+ data: [null, null, null, null, null, 6 , 11, 32, 110, 235, 369, 640,
+ 1005, 1436, 2063, 3057, 4618, 6444, 9822, 15468, 20434, 24126,
+ 27387, 29459, 31056, 31982, 32040, 31233, 29224, 27342, 26662,
+ 26956, 27912, 28999, 28965, 27826, 25579, 25722, 24826, 24605,
+ 24304, 23464, 23708, 24099, 24357, 24237, 24401, 24344, 23586,
+ 22380, 21004, 17287, 14747, 13076, 12555, 12144, 11009, 10950,
+ 10871, 10824, 10577, 10527, 10475, 10421, 10358, 10295, 10104 ]
+ }, {
+ name: 'USSR/Russia',
+ data: [null, null, null, null, null, null, null , null , null ,null,
+ 5, 25, 50, 120, 150, 200, 426, 660, 869, 1060, 1605, 2471, 3322,
+ 4238, 5221, 6129, 7089, 8339, 9399, 10538, 11643, 13092, 14478,
+ 15915, 17385, 19055, 21205, 23044, 25393, 27935, 30062, 32049,
+ 33952, 35804, 37431, 39197, 45000, 43000, 41000, 39000, 37000,
+ 35000, 33000, 31000, 29000, 27000, 25000, 24000, 23000, 22000,
+ 21000, 20000, 19000, 18000, 18000, 17000, 16000]
+ }]
+ });
+ });
+
+});
+ </script>
+ </head>
+ <body>
+<script src="../../js/highcharts.js"></script>
+<script src="../../js/modules/exporting.js"></script>
+
+<div id="container" style="min-width: 400px; height: 400px; margin: 0 auto"></div>
+
+ </body>
+</html>
@@ -0,0 +1,91 @@
+<!DOCTYPE HTML>
+<html>
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <title>Highcharts Example</title>
+
+ <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
+ <script type="text/javascript">
+$(function () {
+ var chart;
+ $(document).ready(function() {
+ chart = new Highcharts.Chart({
+ chart: {
+ renderTo: 'container',
+ type: 'area',
+ inverted: true
+ },
+ title: {
+ text: 'Average fruit consumption during one week'
+ },
+ subtitle: {
+ style: {
+ position: 'absolute',
+ right: '0px',
+ bottom: '10px'
+ }
+ },
+ legend: {
+ layout: 'vertical',
+ align: 'right',
+ verticalAlign: 'top',
+ x: -150,
+ y: 100,
+ floating: true,
+ borderWidth: 1,
+ backgroundColor: '#FFFFFF'
+ },
+ xAxis: {
+ categories: [
+ 'Monday',
+ 'Tuesday',
+ 'Wednesday',
+ 'Thursday',
+ 'Friday',
+ 'Saturday',
+ 'Sunday'
+ ]
+ },
+ yAxis: {
+ title: {
+ text: 'Number of units'
+ },
+ labels: {
+ formatter: function() {
+ return this.value;
+ }
+ },
+ min: 0
+ },
+ tooltip: {
+ formatter: function() {
+ return ''+
+ this.x +': '+ this.y;
+ }
+ },
+ plotOptions: {
+ area: {
+ fillOpacity: 0.5
+ }
+ },
+ series: [{
+ name: 'John',
+ data: [3, 4, 3, 5, 4, 10, 12]
+ }, {
+ name: 'Jane',
+ data: [1, 3, 4, 3, 3, 5, 4]
+ }]
+ });
+ });
+
+});
+ </script>
+ </head>
+ <body>
+<script src="../../js/highcharts.js"></script>
+<script src="../../js/modules/exporting.js"></script>
+
+<div id="container" style="min-width: 400px; height: 400px; margin: 0 auto"></div>
+
+ </body>
+</html>
@@ -0,0 +1,85 @@
+<!DOCTYPE HTML>
+<html>
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <title>Highcharts Example</title>
+
+ <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
+ <script type="text/javascript">
+$(function () {
+ var chart;
+ $(document).ready(function() {
+ chart = new Highcharts.Chart({
+ chart: {
+ renderTo: 'container',
+ type: 'area',
+ spacingBottom: 30
+ },
+ title: {
+ text: 'Fruit consumption *'
+ },
+ subtitle: {
+ text: '* Jane\'s banana consumption is unknown',
+ floating: true,
+ align: 'right',
+ verticalAlign: 'bottom',
+ y: 15
+ },
+ legend: {
+ layout: 'vertical',
+ align: 'left',
+ verticalAlign: 'top',
+ x: 150,
+ y: 100,
+ floating: true,
+ borderWidth: 1,
+ backgroundColor: '#FFFFFF'
+ },
+ xAxis: {
+ categories: ['Apples', 'Pears', 'Oranges', 'Bananas', 'Grapes', 'Plums', 'Strawberries', 'Raspberries']
+ },
+ yAxis: {
+ title: {
+ text: 'Y-Axis'
+ },
+ labels: {
+ formatter: function() {
+ return this.value;
+ }
+ }
+ },
+ tooltip: {
+ formatter: function() {
+ return '<b>'+ this.series.name +'</b><br/>'+
+ this.x +': '+ this.y;
+ }
+ },
+ plotOptions: {
+ area: {
+ fillOpacity: 0.5
+ }
+ },
+ credits: {
+ enabled: false
+ },
+ series: [{
+ name: 'John',
+ data: [0, 1, 4, 4, 5, 2, 3, 7]
+ }, {
+ name: 'Jane',
+ data: [1, 0, 3, null, 3, 1, 2, 1]
+ }]
+ });
+ });
+
+});
+ </script>
+ </head>
+ <body>
+<script src="../../js/highcharts.js"></script>
+<script src="../../js/modules/exporting.js"></script>
+
+<div id="container" style="min-width: 400px; height: 400px; margin: 0 auto"></div>
+
+ </body>
+</html>
@@ -0,0 +1,55 @@
+<!DOCTYPE HTML>
+<html>
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <title>Highcharts Example</title>
+
+ <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
+ <script type="text/javascript">
+$(function () {
+ var chart;
+ $(document).ready(function() {
+ chart = new Highcharts.Chart({
+ chart: {
+ renderTo: 'container',
+ type: 'area'
+ },
+ title: {
+ text: 'Area chart with negative values'
+ },
+ xAxis: {
+ categories: ['Apples', 'Oranges', 'Pears', 'Grapes', 'Bananas']
+ },
+ tooltip: {
+ formatter: function() {
+ return ''+
+ this.series.name +': '+ this.y +'';
+ }
+ },
+ credits: {
+ enabled: false
+ },
+ series: [{
+ name: 'John',
+ data: [5, 3, 4, 7, 2]
+ }, {
+ name: 'Jane',
+ data: [2, -2, -3, 2, 1]
+ }, {
+ name: 'Joe',
+ data: [3, 4, 4, -2, 5]
+ }]
+ });
+ });
+
+});
+ </script>
+ </head>
+ <body>
+<script src="../../js/highcharts.js"></script>
+<script src="../../js/modules/exporting.js"></script>
+
+<div id="container" style="min-width: 400px; height: 400px; margin: 0 auto"></div>
+
+ </body>
+</html>
Oops, something went wrong.

0 comments on commit 9a64156

Please sign in to comment.