Advertisement
Guest User

Untitled

a guest
Jul 18th, 2011
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var tb2;
  2. var tb4;
  3. $(document).ready(function() {
  4. tb2 = new Highcharts.Chart({
  5.   chart: {
  6.  
  7.    renderTo: 'tb2',
  8.     defaultSeriesType:'column'
  9.   },
  10.     title: {
  11.       text: 'Feedback Summary',
  12.     },
  13.     subtitle: {
  14.       text: 'Displayed Lowest to Highest',
  15.     },
  16.   xAxis: {
  17.     labels: {
  18.          rotation: -45,
  19.     align: 'right',
  20.     },
  21.     categories: [
  22.       'Productive',
  23.       'Influential',
  24.       'Determined',
  25.       'Strategic',
  26.       'Reliable',
  27.       'Innovative',
  28.       'Inter-Dependent',
  29.       'Teachable',
  30.       'Courageous',
  31.       'Christ-Centered',
  32.       'Relational',
  33.       'Authentic',
  34.     ],
  35.   },
  36.   yAxis: {
  37.     min: 0,
  38.     title: {
  39.       text: 'Points',
  40.     },
  41.   },
  42.   legend: {
  43.     layout: 'vertical',
  44.     align: 'left',
  45.     verticalAlign: 'top',
  46.     x: 70,
  47.     y: 60,
  48.   },
  49.   tooltip: {
  50.          formatter: function() {
  51.             return ''+
  52.                this.x +': '+ this.y +' Points';
  53.          }
  54.       },
  55. colors:[
  56. '#aa0f0f',
  57. ],
  58. plotOptions: {column: {
  59.          pointPadding: '0.2',
  60.          borderWidth: '1',
  61.  
  62.          }},
  63.            series: [{         name: 'Feedback',
  64.         data: [72.5, 76.5, 79.0, 80.66666666666666, 81.0, 84.5, 85.0, 86.0, 86.5, 87.5, 89.0, 92.0, ],
  65. },
  66. ],
  67. });
  68. tb4 = new Highcharts.Chart({
  69.   chart: {
  70.  
  71.    renderTo: 'tb4',
  72.     defaultSeriesType:'pie'
  73.   },
  74.     title: {
  75.       text: 'Feedback Comparison',
  76.     },
  77.     subtitle: {
  78.       text: 'Character Attributes vs Learned Skills',
  79.     },
  80.   legend: {
  81.     layout: 'vertical',
  82.     align: 'left',
  83.     verticalAlign: 'top',
  84.     x: 40,
  85.     y: 60,
  86.   },
  87. colors:[
  88.       '#088A08',
  89.       '#088A85'
  90.       ],  tooltip: {
  91.          formatter: function() {
  92.             return '' + this.y +' Points';
  93.          }
  94.       },
  95. plotOptions: {column: {
  96.          pointPadding: '0.2',
  97.          borderWidth: '1',
  98.  
  99.          }},
  100. plotOptions: {
  101.          pie: {
  102.             allowPointSelect: true,
  103.             cursor: 'pointer',
  104.             dataLabels: {}
  105.          }
  106.       },
  107.            series: [{         name: 'Feedback',
  108.         data: [['Skill',81.3611111111111, ],['Character',85.33333333333333, ],],
  109. },
  110. ],
  111. });
  112. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement