Customizing Chart Elements > Adding Images to Chart Elements > Set the Image Layout |
Use the Layout property to specify how the image is to be displayed. You can set Layout to one of the following:
· Centered - places the image in the center of the chart element
· Fitted - resizes the image to fit as much of the chart element as possible, while maintaining the image's aspect ratio (so that the image remains in proportion)
· Stretched - resizes the image to fit the entire chart element area. For best results with stretching images, use either a Metafile or Enhanced Metafile format.
· StretchtoWidth - stretches the image horizontally to match the chart element width. For best results with stretching images, use either a Metafile or Enhanced Metafile format.
· StretchtoHeight - stretches the image vertically to match the chart element height. For best results with stretching images, use either a Metafile or Enhanced Metafile format.
· Tiled - repeats the image to fill the entire chart element
· CroppedFit - resizes the image to fit the shorter of the two chart element dimensions (either the height or the width), and crops the other dimension
These properties are located on the Control, ChartArea, PlotArea, Legend, ChartLabels, and Titles ImageTab.