Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MSChart pie, how to 'explode' slice programmatically
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01386478
Message ID:
01388580
Views:
46
Hi Cesar,
Just for public record here: the new files and making the pie chart plain made the solution run much faster.
Thank you very much for your help and for your wonderful foxCharts class.

>hi Max,
>
>Thanks a lot for the files.
>I hope to test them by tomorrow.
>
>Anyway, would setting the property PieDetachAnimationSteps to the value 1 help you ?
>
>From the help file:
>
>
>The quantity of steps that a slice of a pie or doughnut will take till full detachment
>This is to be used for animation purposes.
>The recommended and default setting for this property is 3 steps. That means that when you detach a slice of doughnut or pie interactively, the slice detached will appear in 3 different positions till it reaches the final definitive position.
>Notice that the whole chart image will be redrawn on each step. So, if you increase too much this value, it may take a long and undesirable time till the slice is completely detached.
>

>
>
>Anyway, I'll make some tests with the samples you provided.
>
>Thanks !
>
>Cesar
>
>
>>Cesar
>>
>>I just sent an email message from my hotmail account, it contains a zip file with samples and data and an explanation where I'm seeing problems.
>>
>>TIA
>>
>>Max
>>
>>>>Hi All
>>>>
>>>>I'm developing an small app for a customer and I'm using MSChart to create pie graphics.
>>>>(I do have it solved with the VFPx FoxChars, very nice, but too slow rendering..., so back to the old OCXs).
>>>>
>>>>I have tried today (until now) to programatically 'explode' a pie slice without success.
>>>>this should work:
>>>>
>>>>formtestchart.oChart.Plot.SeriesCollection(1).DataPoints(-1).offset = 90
>>>>
>>>>but it doesn't...
>>>>
>>>>I'm able to drag one or more slices from the pie chart when formtestchart.oChart.AllowSelections = .t., so the chart is able to do slice exploding or offset, how to do it programatically?
>>>>
>>>>TIA
>>>>
>>>>Max
>>>
>>>Hi Max,
>>>
>>>Can you better explain about the slow rendering of foxCharts ?
>>>Pie or doughnut charts take from 0.15 to 0.35 seconds, when the image is really very big.
>>>
>>>Or were you having worse results than the above ?
>>>
>>>Hope to hear from you soon !
>>>
>>>Cesar

...Y soy feliz, bien feliz, asi lo grito;
Mira, que el mundo sepa, que se sepa:
Soy feliz....                       

...And I'm happy, quite happy, so do I yell it;
Look, so the world knows it, so be known:
I'm happy...
 

Ismael Rivera "Oye cosita linda"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform