[ZedGraph] Avoir une ligne horizontale
Salut.
J'utilise la librairie ZedGraph qui permet de faire des graphiques.
Je cherche à ajouter une ligne horizontale (une sorte de limite).
J'ai trouver ce code sur le site officiel de ZedGraph :
Code:
1 2 3 4 5 6 7 8 9 10
| ' Add some text inside the above box to indicate "Peak Range"
text = New TextObj("Peak Range", 1170, 105)
text.Location.CoordinateFrame = CoordType.AxisXYScale
text.Location.AlignH = AlignH.Right
text.Location.AlignV = AlignV.Center
text.FontSpec.IsItalic = True
text.FontSpec.IsBold = False
text.FontSpec.Fill.IsVisible = False
text.FontSpec.Border.IsVisible = False
myPane.GraphObjList.Add(text) |
Mais je n'ai que l'intitulé "Peak Range" (pas de ligne).
Voici leur exemple avec une ligne comme ordonnée 105:
http://zedgraph.org/wiki/images/1/1a/Combo.png
Merci