Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding chart
Message
 
À
13/08/2006 10:13:05
Information générale
Forum:
Visual FoxPro
Catégorie:
ActiveVFP
Titre:
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01145112
Message ID:
01145219
Vues:
25
Hi Zoran
Have a look at http://www.chestysoft.com/xgraph
This is the simplest chart generator I have found although you will need to load your data into the chart as below (the second parameter being the value)
I have an example form if you would like a copy. I sent it to the publisher, but he has not loaded it to his manual. He only has Delphi and VB examples.
Regards
John

nColor1 = Rgb(255,0,128)
nColor2 = Rgb(0,255,0)
nColor3 = Rgb(0,0,255)


Thisform.Chart.ClearData
Thisform.Chart.Title = "Bar Chart Example"
Thisform.Chart.TitleX = 120
Thisform.Chart.ShowBarTotal = .T.
Thisform.Chart.AddData("Item 1", 17, nColor1)
Thisform.Chart.AddData("Item 2", 28, nColor2)
Thisform.Chart.AddData("Item 3", 10, nColor3)
Thisform.Chart.ShowPercent = .F.
Thisform.Chart.GraphType = 1
Thisform.Chart.DrawGraph
To move a mountain start with the smallest stone
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform