ComponentOne WebReports for ASP.NET: WebReports for ASP.NET Task-Based Help > Adding a C1WebChart Control in a Report

Adding a C1WebChart Control in a Report

To insert a ComponentOne WebChart for ASP.NET control in the Report, you will need to save the WebChart as an image and then add that image into the Designer. Complete the following steps:

1.   To save the WebChart as an image, you have the following options:

      Set the C1WebChart's ImageRenderMethod property to File.

      Set the C1WebChart's ImageFormat property to .gif, .jpeg, or .png.

      Use the C1WebChart's ImageUri property that specifies the filename and path of the image to be generated. If the ImageUri property is blank then the chart creates its own filename.

2.   Run the application. The Chart will be saved as an Image in the application directory.

3.   Use this image in WebReports for ASP.NET or ReportDesigner.


Send comments about this topic to ComponentOne.
Copyright © 1987-2010 ComponentOne LLC. All rights reserved.