NodeXL Class Library Graph Legend

Jul 3, 2014 at 10:56 AM
Hi
I'm creating a graph using the NodeXL Class Library. I would know if and how I can add a legend to the graph like it's possible in the Excel Template.
Thanks

VDS
Jul 3, 2014 at 4:56 PM
VDS:

The code for doing that is built into the Excel Template; it's not part of the NodeXL Class Libraries.

Here are two options:
  1. Adapt the header and footer code from the GraphImageCompositor class in the Excel Template project. As of today, that class can be found at http://nodexl.codeplex.com/SourceControl/latest#NodeXL/ExcelTemplate/Util/GraphImageCompositor.cs .
  2. Add a header and footer yourself using WPF or GDI+ API calls.
-- Tony
Sep 9, 2014 at 1:46 PM
Thanks Tony.
I opened the suggested class but I don't understand which piece of it I should adapt and how.
Can you give me some hints?
Thanks a lot

VDS