Gets or sets a value indicating whether the generated image is saved as a file in the TempDirectory folder or streamed directly to the browser.
[Visual Basic]
Public Property UseFile As Boolean
[C#]
public bool UseFile {get; set;}
[JScript]
public function get,set UseFile : boolean
.netCHARTING supports streaming images in addition to returning a reference
to a generated file. There are differences in the way the control can be used between these two
image return methods. When using a file reference, you are free to treat the page as you normally
would, including HTML and any other web content on the page.
If you are streaming the image back, only the control call should exist on the page because no other
HTML will render. This is not a limitation of .netCHARTING but rather specific to the HTTP
implementation which serves each request separately (as such a request to a web site with 3 images
is actually 4 unique requests and the browser does the job of assembling those 4 items into the web
page you see.
Becauase streaming images does not allow HTML, setting url and tooltip properties of elements
on the chart will have no effect.
[C#]
Chart.UseFile = true; |
[Visual Basic]
Chart.UseFile = true |
2002 - 2004 Webavail Productions Inc. & Corporate Web Solutions Ltd.. All Rights Reserved.