Widget:Grafico: differenze tra le versioni

Da WikiLectio.
m update
Etichetta: Annullato
m downgrade
Etichetta: Ripristino manuale
 
Riga 1: Riga 1:
<includeonly>
<div id="chartwrap_<!--{$id}-->"
    style="width:<!--{$width|default:600}-->px;height:<!--{$height|default:380}-->px;">
  <canvas id="canvas_<!--{$id}-->"
          width="<!--{$width|default:600}-->"
          height="<!--{$height|default:380}-->"></canvas>
   <!-- Config INI dentro <pre hidden> -->
   <!-- Config INI dentro <pre hidden> -->
   <pre id="cfg_<!--{$id}-->" hidden>
   <pre id="cfg_<!--{$id}-->" hidden>
id=<!--{$id}-->
id=<!--{$id}-->
title=<!--{$title}-->
title=<!--{$title}-->
chartType=<!--{$chartType}-->
xTitle=<!--{$xTitle}-->
xTitle=<!--{$xTitle}-->
yTitle=<!--{$yTitle}-->
yTitle=<!--{$yTitle}-->
labels=<!--{$labels}-->
labels=<!--{$labels}-->


# Opzioni globali
showLegend=<!--{$showLegend}-->
responsive=<!--{$responsive}-->
yMin=<!--{$yMin}-->
yMax=<!--{$yMax}-->
xMin=<!--{$xMin}-->
xMax=<!--{$xMax}-->
# Line/Area
fill=<!--{$fill}-->
# Bar avanzate
indexAxis=<!--{$indexAxis}-->
stacked=<!--{$stacked}-->
stack=<!--{$stack}-->
# Bubble
bubbleR=<!--{$bubbleR}-->
# Serie 1..4
series1title=<!--{$series1title}-->
series1title=<!--{$series1title}-->
series1data=<!--{$series1data}-->
series1data=<!--{$series1data}-->
series1type=<!--{$series1type}-->
series1type=<!--{$series1type}-->
series1color=<!--{$series1color}-->
series1color=<!--{$series1color}-->
series1fill=<!--{$series1fill}-->


series2title=<!--{$series2title}-->
series2title=<!--{$series2title}-->
Riga 39: Riga 23:
series2type=<!--{$series2type}-->
series2type=<!--{$series2type}-->
series2color=<!--{$series2color}-->
series2color=<!--{$series2color}-->
series2fill=<!--{$series2fill}-->


series3title=<!--{$series3title}-->
series3title=<!--{$series3title}-->
Riga 45: Riga 28:
series3type=<!--{$series3type}-->
series3type=<!--{$series3type}-->
series3color=<!--{$series3color}-->
series3color=<!--{$series3color}-->
series3fill=<!--{$series3fill}-->


series4title=<!--{$series4title}-->
series4title=<!--{$series4title}-->
Riga 51: Riga 33:
series4type=<!--{$series4type}-->
series4type=<!--{$series4type}-->
series4color=<!--{$series4color}-->
series4color=<!--{$series4color}-->
series4fill=<!--{$series4fill}-->
 
eqX=<!--{$eqX}-->
eqY=<!--{$eqY}-->
showLegend=<!--{$showLegend}-->
responsive=<!--{$responsive}-->
xMin=<!--{$xMin}-->
xMax=<!--{$xMax}-->
yMin=<!--{$yMin}-->
yMax=<!--{$yMax}-->
   </pre>
   </pre>
  <!-- opzionale: area debug tenuta nascosta -->
  <pre id="debug_<!--{$id}-->" hidden></pre>
</div>
<script src="/resources/chart.umd.js" defer></script>
<script src="/resources/widget-grafico.js" defer></script>
</includeonly>

Versione attuale delle 22:36, 23 set 2025