[]
        
(Showing Draft Content)

FarPoint.Web.Chart.FileImageRender

FileImageRender Class

The FileImageRender renders a chart image to the local temporary files and returns the image Url.

Inheritance
FileImageRender
Namespace: FarPoint.Web.Chart
Assembly: FarPoint.Web.Chart.dll
Syntax
[TypeConverter(typeof(ImageRenderConverter))]
public class FileImageRender : ImageRender
<TypeConverter(GetType(ImageRenderConverter))>
Public Class FileImageRender
    Inherits ImageRender
Remarks

Repeated requests for the same chart use the same file to reduce load on the server. New requests create new files as needed. Files are not cleaned up automatically.

FileImageRender is recommended when charts are complex (expensive to generate) or when you expect a large number of requests for a relatively small number of different charts.

Constructors

Name Description
FileImageRender()

Initializes a new instance of the FileImageRender class.

FileImageRender(string)

Initializes a new instance of the FileImageRender class.

Properties

Name Description
ImageUrl

Gets or sets the path and filename of the image file to be generated.

Methods

Name Description
GetImageUrl(FpChart)

Gets the image Url.

TransferImage(FpChart)

Renders chart image and returns the image Url.