Search code examples
c#imagemicrosoft-chart-controls

Adding a logo image to a chart using Microsoft Chart Control


I have a chart that is built using Microsoft Chart Controls and would like to add our company's logo to the corner. Is this possible to do with MCC?


Solution

  • To add an image, use ImageAnnotation.

     ImageAnnotation logo = new ImageAnnotation();
     logo.X = 75;
     logo.Y = 60; 
     logo.Image = "imagePath";
     chart.Annotations.Add(logo);