Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Anyone using RMChart in VFP?
Message
De
04/06/2007 11:31:36
Mike Sue-Ping
Cambridge, Ontario, Canada
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01230217
Message ID:
01230253
Vues:
24
Thanks for replying Enmanuel.

I'd figured it out since posting here. My problem is that I didn't set the LableAxis.LabelString property (something that the 'quick start' part of the help does not say!)

Mike


>I recently did some tests with it. The following code worked fine for me:
>
>
>    With Thisform.RMChartX1
>        .Reset
>      *  .RMCBackColor = Default
>        .RMCStyle     = RMC_CTRLSTYLEFLAT
>        .RMCWidth     = 600
>        .RMCHeight    = 450
>        .RMCBgImage   = ""
>        .Font         = "Tahoma"
>       * '************** Add Region 1 *****************************
>        .AddRegion
>        With .Region(1)
>            .Left   = 5
>            .Top    = 5
>            .Width  = -5
>            .Height = -5
>            .Footer = ""
>        *    '************** Add Series 1 to region 1 *******************************
>            .AddGridlessSeries
>            With .GridLessSeries
>                .SeriesStyle       = RMC_PIE_3D
>                .Alignment       = RMC_FULL
>              * .Explodemode        = RMC_EXPLODE_BIGGEST
>                .Lucent           = .f.
>                .ValueLabelOn       = RMC_VLABEL_TWIN
>                .HatchMode  = RMC_HATCHBRUSH_OFF
>                .StartAngle = 0
>         *       '****** Set data values ******
>                sTemp = "100*67*38*44"
>                .DataString = sTemp
>            EndWith
>        EndWith
>        nRetVal = .Draw(.t.)
>    EndWith
>
>
>
>I just used the designer and exported the code to VB6, then made the necessary changes to make it work in VFP9.
>
>HTH,
>
>Enmanuel
>
>>Has anyone tried to use the free charting package RMChart in VFP? Specifically the OCX.
>>
>>I've managed to put the control on a form and set a few properties but I can't get the actual data to display correctly. I'm trying to test a simple barchart but could only see one data point out of 3 when the form is displayed.
>>
>>Regards,
>>
>>Mike
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform