Adding a footer to a Microsoft Chart Controls chart
Is there a possibility to add a footer line into a chart created with Microsoft Chart Controls for .net 4. I would like to place a logo (png-image) on the left side and a text on the right side of this line.
As a possibility, it came into my mind to add the footer to the resulting image after rendering the chart or setting a background image, but maybe there is an in开发者_运维百科tegrated and better possibility that I have missed?
The chart samples have a section on using PrePaint and PostPaint events to customize the graphs. Adding a handler to the PrePaint could help you with customizing the graph canvas.
Chart Features > Customization and Events > PrePaint and PostPaint Events.
The samples are here btw: http://archive.msdn.microsoft.com/mschart
精彩评论