NodeXL Class Library Graph Legend

Jul 3, 2014 at 9:56 AM
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.

Jul 3, 2014 at 3:56 PM

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 .
  2. Add a header and footer yourself using WPF or GDI+ API calls.
-- Tony
Sep 9, 2014 at 12: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