xyChartDemo - GDIPLUS XY graphing demonstration

Share Tips, Code Samples, etc. with the Visual Prolog community.
Post Reply
Harrison Pratt
VIP Member
Posts: 265
Joined: 5 Nov 2000 0:01

xyChartDemo - GDIPLUS XY graphing demonstration

Post by Harrison Pratt » 27 Jul 2017 22:01

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: https://drive.google.com/open?id=0B9B9r ... zU2bkdveHM

PDF Documentation: https://drive.google.com/open?id=0B9B9r ... HFzU01NNTQ
xyChart Plot and Properties compressed 50pct.jpg
Screen image of plot and property editor.
xyChart Plot and Properties compressed 50pct.jpg (118.26 KiB) Viewed 529 times
Chart_PACK.zip only
(42.84 KiB) Downloaded 53 times

Paul Cerkez
VIP Member
Posts: 382
Joined: 6 Mar 2000 0:01

Post by Paul Cerkez » 28 Jul 2017 11:47

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.
AI Rules!

Post Reply