|
<%@ Page Language="c#" Inherits="ZG1.graph" CodeFile="mypage.aspx.cs" %>
<%@ Register TagPrefix="zgw" Namespace="ZedGraph" Assembly="ZedGraph" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head>
<title>A Sample Page Using ZedGraph.RenderMode.ImageTag</title>
</head>
<body>
<p>
The default render mode is ImageTag, so it does not need to be
explicitly designated. The RenderMode property is included here
for clarity.<br /><br />
In this mode an IMG tag is generated in-place, and the image is
generated and saved in the specified folder (RenderedImagePath
property, default to ~/ZedGraphImages/). Two charts are included
below to demonstrate how the CodeFile can include multiple charts:
<br /><br />
<ZGW:ZEDGRAPHWEB id="ZedGraphWeb1" runat="server" RenderMode="ImageTag"
Width="300" Height="200"></ZGW:ZEDGRAPHWEB>
<ZGW:ZEDGRAPHWEB id="ZedGraphWeb2" runat="server" RenderMode="ImageTag"
Width="300" Height="200"></ZGW:ZEDGRAPHWEB>
</p>
</body>
</html>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.