source: sipes/0.3-modules/views_semantic/js/graficobarra.js @ 89c313a

stable
Last change on this file since 89c313a was 89c313a, checked in by Sipes Apn <root@…>, 7 años ago

se agrego el modulo views_semantic

  • Propiedad mode establecida a 100755
File size: 1.3 KB
Línea 
1var webformReport = {};
2Drupal.behaviors.webformReport = function (context) {
3        $('#container').highcharts({
4            chart: {
5                type: 'column'
6            },
7            title: {
8                text: 'Monthly Average Rainfall'
9            },
10            subtitle: {
11                text: 'Frecuencias'
12            },
13            xAxis: {
14                categories: ['Africa']
15            },
16            yAxis: {
17                min: 0,
18                title: {
19                    text: 'Rainfall (mm)'
20                }
21            },
22            tooltip: {
23                headerFormat: '<span style="font-size:10px">{point.key}</span><table>',
24                pointFormat: '<tr><td style="color:{series.color};padding:0">{series.name}: </td>' +
25                    '<td style="padding:0"><b>{point.y:.1f} mm</b></td></tr>',
26                footerFormat: '</table>',
27                shared: true,
28                useHTML: true
29            },
30            plotOptions: {
31                column: {
32                    pointPadding: 0.2,
33                    borderWidth: 0
34                }
35            },
36            series: [{
37                name: 'Distribución de Frecuencia',
38                data: [973, 914, 4054, 732, 34]
39   
40            }]
41        });
42   
43}
Nota: Vea TracBrowser para ayuda de uso del navegador del repositorio.