Customizing Chart Elements > Adding Images to Chart Elements > Using Images as Labels |
Use the HasMinimumSize property to use an image as a label. When HasMinimumSize is enabled the text area in which the image appears will be sized according to the image dimensions, so when a text area is empty, the image itself will appear as the label. When HasMinimumSize is disabled, the text area will be sized according to the text. If HasMinimumSize is enabled and the text is larger than the image, then the text determines the size. HasMinimumSize applies to Titles and ChartLabels, and can be found on their respective ImageTabs.
Notes
· Enhanced Metafiles are only supported under Windows 95/98 and Windows NT.
· If the background image type is either a Metafile (.WMF) or Enhanced Metafile (.EMF) format, the image will not draw when the chart is either copied to the clipboard or copied to a file when using the Metafile format. To get around this limitation, it is recommended that you set the drawing format to a Bitmap format when you want to copy your chart to the printer, clipboard or file.
· When text areas containing background images are rotated, the image is not rotated with the text area.
· The background image is not clipped to the circular PlotArea when rendering to a Metafile for Polar and Radar chart types.