<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Grafico radar]]></title><description><![CDATA[<p dir="auto">Ciao a tutti<br />
Sto realizzando un grafico tipo radar.<br />
Ecco il codice</p>
<pre><code class="language-html">// Create the basic rtadar graph
$graph = new RadarGraph(500,500,"auto");
// Set background color and shadow
$graph-&gt;SetColor("white");
$graph-&gt;SetShadow();
// Position the graph
$graph-&gt;SetCenter(0.4,0.55);
// Setup the axis formatting  
$graph-&gt;axis-&gt;SetFont(FF_FONT1,FS_BOLD);
$graph-&gt;axis-&gt;SetWeight(2);
// Setup the grid lines
$graph-&gt;grid-&gt;SetLineStyle("longdashed");
$graph-&gt;grid-&gt;SetColor("navy");
$graph-&gt;grid-&gt;Show();
$graph-&gt;HideTickMarks();
 
// Setup graph titles
$graph-&gt;title-&gt;Set("Quality result");
$graph-&gt;title-&gt;SetFont(FF_FONT1,FS_BOLD);
$graph-&gt;SetTitles(array("9","10","11","12","13","14","15","16","17","18","19","20","21"));
// Create the first radar plot  
$plot = new RadarPlot($ydata);
$plot-&gt;SetLegend("Goal");
$plot-&gt;SetColor("red","lightred");
$plot-&gt;SetFill(false);
$plot-&gt;SetLineWeight(2);
// Create the second radar plot
$plot2 = new RadarPlot($ydata2);
$plot2-&gt;SetLegend("Actual");
$plot2-&gt;SetColor("blue","lightred");
// Add the plots to the graph
$graph-&gt;Add($plot2);
// And output the graph
$graph-&gt;Stroke();
</code></pre>
<p dir="auto">Il risultato<img src="http://www.excelling.it/bookshop/8882334031/8882334031_3.gif" alt="" class="img-markdown  img-fluid" /> deve essere tipo il seguente,ma con solo due scale..<br />
Un primo valore riesco ad ottenerlo e farlo disgnare ed aggiornare mentre se provo ad inserirne un secondo ecco quello che mi dice..</p>
<p dir="auto">Errore<br />
ogni diagramma del radar deve avere lo stesso numero di punti di riferimento</p>
<p dir="auto">con $ydata faccio disegnare il numero di pezzi lavorati per ogni ora, mentre con $ydata2 l'atteso per ora<br />
Sapete autarmi<img src="https://dev.connect.gt/assets/plugins/nodebb-plugin-emoji/emoji/android/1f622.png?v=12b9555a9a1" class="not-responsive emoji emoji-android emoji--cry" style="height:1.4em;width:auto;vertical-align:middle" title=":cry:" alt="😢" /></p>
]]></description><link>https://dev.connect.gt/topic/30570/grafico-radar</link><generator>RSS for Node</generator><lastBuildDate>Thu, 26 Nov 2026 14:38:18 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/30570.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 16 Mar 2007 16:23:50 GMT</pubDate><ttl>60</ttl></channel></rss>