Chart.ImageLocation Property
Gets or sets the location where an image file is saved when ImageTag rendering is performed.
Assembly: System.Web.DataVisualization (in System.Web.DataVisualization.dll)
<BindableAttribute(True)> <PersistenceModeAttribute(PersistenceMode.Attribute)> Public Property ImageLocation As String
Property Value
Type: System.StringA string value that represents the URL where the image file is saved on the server.
This property has no effect if ImageStorageMode is set to P:System.Web.UI.DataVisualization.Charting.Chart.ImageStorageMode.UseHttpHandler.
When you render a chart image using the image tag method, a chart image is generated and then saved to disk at the server, in a format that is determined by the ChartImageType property.
The URL where the image file is saved can be either absolute or relative; the file extension that the image file has is determined by the ChartImageType property.
The image file can be hard-coded to always be one filename, or you can use the "#" sign to use either user identifiers (UIDs) or a specified number of uniquely named files, which is known as a Round Robin.
Available since 4.0