GraphPlugin – My first plugin for MapWindow GIS
September 29, 2008
Posted by on
A few months ago, I tweaked a plugin called DocLauncher in MapWindow that lets you open external File or Url based on the input value on the field. Quite simple actually and useful too especially if DocLauncher is enabled and you only like to click the shape file but not to open the contents in FileOrUrl field, this plugin lets you toggle the execution of the process.
And now, I’m into MapWindow again, developing a product related to Political Election Campaign, I’ve decided to test and create a simple plugin called GraphPlugin that let me view the tabular data on the GIS into a nice looking Bar Graph using the open source library ZedGraph. Right now, the only available graphing option is the horizontal bar graph but later on my next revisions, will surely add the option to select the type of graph the user want to produce. ZedGraph is a very powerful charting library and allows you to export the generated graph into a file, very cool feature! And did I say that the library is FREE?
How the GraphPlugin works is very simple. Just download the library files (GraphPlugin.dll and ZedGraph.dll) via SVN of MapWindow here. And create a new folder named Graph Tool under \MapWindow\Plugins, copy the 2 DLLs and you can open MapWindow UI to enable the plugin via the Plugins menu. Once plugin is enabled, you can see a graph icon on the toolbar.
Some Screenshot as follows:
The plugin was developed using C#, Visual Studio 2008 SP1 (.NET 3.5 Framework) and MapWindow 4.7.909 Beta. This plugin is open-source and can be downloaded via SVN access from MapWindow site.