stable
Last change
on this file 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:
699 octetos
|
Ver. | Línea | |
---|
[89c313a] | 1 | /* |
---|
| 2 | * Implementacion valores iniciales |
---|
| 3 | */ |
---|
| 4 | var webformReport = {}; |
---|
| 5 | Drupal.behaviors.webformReport = function (context) { |
---|
| 6 | build_graficos(Drupal.settings.semantico); |
---|
| 7 | } |
---|
| 8 | |
---|
| 9 | |
---|
| 10 | function build_graficos(json){ |
---|
| 11 | |
---|
| 12 | $.jqplot.config.enablePlugins = true; |
---|
| 13 | var s1 = json.s1; |
---|
| 14 | var ticks = json.ticks; |
---|
| 15 | |
---|
| 16 | plot1 = $.jqplot('grafico_barras', [s1], { |
---|
| 17 | animate: !$.jqplot.use_excanvas, |
---|
| 18 | seriesDefaults:{ |
---|
| 19 | renderer:$.jqplot.BarRenderer, |
---|
| 20 | pointLabels: { show: true } |
---|
| 21 | }, |
---|
| 22 | axes: { |
---|
| 23 | xaxis: { |
---|
| 24 | renderer: $.jqplot.CategoryAxisRenderer, |
---|
| 25 | ticks: ticks |
---|
| 26 | } |
---|
| 27 | }, |
---|
| 28 | highlighter: { show: false } |
---|
| 29 | }); |
---|
| 30 | |
---|
| 31 | } |
---|
| 32 | |
---|
Nota: Vea
TracBrowser
para ayuda de uso del navegador del repositorio.