Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var tb2;
- var tb4;
- $(document).ready(function() {
- tb2 = new Highcharts.Chart({
- chart: {
- renderTo: 'tb2',
- defaultSeriesType:'column'
- },
- title: {
- text: 'Feedback Summary',
- },
- subtitle: {
- text: 'Displayed Lowest to Highest',
- },
- xAxis: {
- labels: {
- rotation: -45,
- align: 'right',
- },
- categories: [
- 'Productive',
- 'Influential',
- 'Determined',
- 'Strategic',
- 'Reliable',
- 'Innovative',
- 'Inter-Dependent',
- 'Teachable',
- 'Courageous',
- 'Christ-Centered',
- 'Relational',
- 'Authentic',
- ],
- },
- yAxis: {
- min: 0,
- title: {
- text: 'Points',
- },
- },
- legend: {
- layout: 'vertical',
- align: 'left',
- verticalAlign: 'top',
- x: 70,
- y: 60,
- },
- tooltip: {
- formatter: function() {
- return ''+
- this.x +': '+ this.y +' Points';
- }
- },
- colors:[
- '#aa0f0f',
- ],
- plotOptions: {column: {
- pointPadding: '0.2',
- borderWidth: '1',
- }},
- series: [{ name: 'Feedback',
- 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, ],
- },
- ],
- });
- tb4 = new Highcharts.Chart({
- chart: {
- renderTo: 'tb4',
- defaultSeriesType:'pie'
- },
- title: {
- text: 'Feedback Comparison',
- },
- subtitle: {
- text: 'Character Attributes vs Learned Skills',
- },
- legend: {
- layout: 'vertical',
- align: 'left',
- verticalAlign: 'top',
- x: 40,
- y: 60,
- },
- colors:[
- '#088A08',
- '#088A85'
- ], tooltip: {
- formatter: function() {
- return '' + this.y +' Points';
- }
- },
- plotOptions: {column: {
- pointPadding: '0.2',
- borderWidth: '1',
- }},
- plotOptions: {
- pie: {
- allowPointSelect: true,
- cursor: 'pointer',
- dataLabels: {}
- }
- },
- series: [{ name: 'Feedback',
- data: [['Skill',81.3611111111111, ],['Character',85.33333333333333, ],],
- },
- ],
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement