Page 1 of 1

xyChartDemo - GDIPLUS XY graphing demonstration

Posted: 27 Jul 2017 22:01
by Harrison Pratt
I decided it was time to learn to use GDIPLUS by writing a useful demonstration application.

This demo application (xyChartDemo) uses GDIPLUS to draw an XY graph with multiple data series and dynamically modifiable display properties in a resizeable window. Once I worked through translating MSDN C# code and hints to VIP, and evolved a workable code model, it became relatively smooth going.

The working code is in the Chart_PACK package and should be able to be added to a new or existing package without complication. I plan to add more capability beyond simple XY graphing.

I expect I'll get suggestions for improvement on this from the VIP community -- they are welcome!

Feel free to use and modify Chart_PACK as you wish.

You can download the full ZIPped project here: ... zU2bkdveHM

PDF Documentation: ... HFzU01NNTQ

Posted: 28 Jul 2017 11:47
by Paul Cerkez
Great job. I've been wanting to do more work in GDIPlus inside of VIP since I presented my paper at the VIP ALC back in 2006. I've done some minor tinkering but too many issues/demands in my day job to devote much time to it unfortunately. Glad to see this.

Re: xyChartDemo - GDIPLUS XY graphing demonstration

Posted: 9 Nov 2018 20:38
by Harrison Pratt
The original version of xyChartDemo was developed with Vip7 and is not plug-and-play compatible with Vip8 due to some minor changes in the version 8 PFC Graphics class. I have made the necessary changes (mostly in, added a few trivial features (e.g., save and recall named graph display properties) and improved the documentation. The Chart_PACK package can be used directly in your applications.

The download link to the new Zip file for xyChartDemo_Vip8 is here: ... 6MOjJlkHO6

Right-click the link and Save As ... to download the project Zip file.