sergeiz Posted March 17, 2010 Report Share Posted March 17, 2010 Hi, I have LegendBox at the bottom of my chart. I am trying to add the logo to the left of the legend box. However, it would not get positioned there as if that white space is reserved by legend box. Any way it could be done? Thanks! Quote Link to comment Share on other sites More sharing options...
RandyJ Posted March 18, 2010 Report Share Posted March 18, 2010 Hi, How are you placing the logo in the chart control? Are you adding it as an annotation object? Could you please post a sample of the code you are using? Regards, Randy Jimenez Quote Link to comment Share on other sites More sharing options...
sergeiz Posted March 19, 2010 Author Report Share Posted March 19, 2010 Chart20.Extensions.Clear(); Annotations annots = new Annotations(); Chart20.Extensions.Add(annots); AnnotationPicture logo = new AnnotationPicture(); logo.Picture = System.Drawing.Image.FromFile(Path.Combine(Request.PhysicalApplicationPath, "images/misc/smalllogo.jpg")); annots.List.Add(logo); logo.Height = 40; logo.Width = 74; logo.Top = 292; logo.Left = 0; logo.PlotAreaOnly = false; logo.Border.Color = Color.Transparent; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.