Archive for the ‘Technical tips’ Category

Use the library with Windows Forms

Monday, November 30th, 2009

Let me remind you that the graphic library was specially designed for WPF applications, but we can do a little trick to use it with Windows Forms applications or even in ASP webpages.

For using it in a Windows Forms project, for starters we need to do the same basic steps as in the previous post How to integrate the library.

(more…)

How to save a picture from the canvas for viewing it later?

Monday, November 16th, 2009

Just use the GlobalTools class from our package and call the ExportToPng function. Supposing you have drawn the desired graph in the Canvas, all you need to do now in order to save it locally as a .png picture will be to use this line of code:

' save the image
SoftwareGFX_Library.GlobalTools.ExportToPng("chart_sample.png", Canvas1)

How to integrate the library

Wednesday, October 28th, 2009

The integration and use of the SoftwareGFX chart library it’s a doddle.

All you need is Visual Studio 2008 (C# or VB.NET), no matter the edition. If you are interested in downloading the Express editions (that are free of charge) you can find them available here. If you are interested in the Professional editions you can download the trial versions from here.

Now that we are all set, all we need to do is open a normal VB.NET or C# project with .NET 3.5 framework selected and add a reference to the SoftwareGFX charts library.

(more…)