To add an image, use ImageAnnotation.
ImageAnnotation logo = new ImageAnnotation();
logo.X = 75;
logo.Y = 60;
logo.Image = "imagePath";
chart.Annotations.Add(logo);
سؤال
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?
المحلول 2
To add an image, use ImageAnnotation.
ImageAnnotation logo = new ImageAnnotation();
logo.X = 75;
logo.Y = 60;
logo.Image = "imagePath";
chart.Annotations.Add(logo);
نصائح أخرى
Is there any reason you don't want to simply put a PictureBox control near the corner of the chart? That seems like that simplest solution to me.