Choisir valeur abscisse JpGraph
Résolu/Fermé
Melooo
Messages postés
1405
Date d'inscription
vendredi 28 novembre 2008
Statut
Membre
Dernière intervention
18 mars 2013
-
16 janv. 2012 à 15:13
Melooo Messages postés 1405 Date d'inscription vendredi 28 novembre 2008 Statut Membre Dernière intervention 18 mars 2013 - 19 janv. 2012 à 10:20
Melooo Messages postés 1405 Date d'inscription vendredi 28 novembre 2008 Statut Membre Dernière intervention 18 mars 2013 - 19 janv. 2012 à 10:20
A voir également:
- Choisir valeur abscisse JpGraph
- Logiciel gratuit calcul valeur nutritionnelle - Télécharger - Santé & Bien-être
- Quel linux choisir - Guide
- Valeur ascii - Guide
- #Valeur excel somme - Guide
- Liste de valeur excel - Guide
2 réponses
pitxu
Messages postés
689
Date d'inscription
vendredi 7 septembre 2007
Statut
Membre
Dernière intervention
25 mars 2015
94
16 janv. 2012 à 19:48
16 janv. 2012 à 19:48
Bonjour,
il faut utiliser la fonction SetTextLabelInterval()
il faut utiliser la fonction SetTextLabelInterval()
pitxu
Messages postés
689
Date d'inscription
vendredi 7 septembre 2007
Statut
Membre
Dernière intervention
25 mars 2015
94
19 janv. 2012 à 09:29
19 janv. 2012 à 09:29
et as-tu essayé d'inscrire les valeurs en 'dur' dans le tableau ?
$y_labels = array('0', '0.005', '0.010', '0.015', '0.020', '0.025');
Melooo
Messages postés
1405
Date d'inscription
vendredi 28 novembre 2008
Statut
Membre
Dernière intervention
18 mars 2013
84
19 janv. 2012 à 10:20
19 janv. 2012 à 10:20
La solution a été trouvé :
Merci
$datay = array($_GET['al'],$_GET['an'],$_GET['a'],$_GET['be'],$_GET['cd'],$_GET['pb'],$_GET['hg'],$_GET['ni']); $graph = new Graph(450,400,'auto'); $valmax=max($datay); $echelle='0.005'; $graph->SetScale("textlin",0,'0.025'); $graph->SetShadow(); $graph->Set90AndMargin(70,30,90,30); $graph->xaxis->hide(); $graph->yaxis->scale->ticks->Set(0.005,0.0005); $bplot = new BarPlot($datay); $bplot->SetFillColor(array("green","red", "blue")); $bplot->SetShadow(); $bplot->SetWidth(0.5); $bplot->value->Show(); $bplot->value->SetColor("blue","darkred"); $bplot->value->SetFormat('%3f'); $graph->Add($bplot); $graph->Stroke();
Merci
17 janv. 2012 à 08:36
17 janv. 2012 à 09:57
17 janv. 2012 à 10:00
En abscisse il m'affiche seulement des 0.
Mon histogramme est horizontale !