Gallery
<%@ Page Language="C#" Debug="true" Description="dotnetCHARTING Component" %>
<%@ Register TagPrefix="dotnet" Namespace="dotnetCHARTING" Assembly="dotnetCHARTING"%>
<%@ Import Namespace="System.Drawing" %>
<%@ Import Namespace="dotnetCHARTING.Mapping" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>.netCHARTING Sample</title>
<script runat="server">
void Page_Load(Object sender,EventArgs e)
{
// This sample uses a pre-generated image. To run the sample live,
// please uncomment the code below,
// download ecw.zip form https://dotnetcharting.com/ecw.zip and copy the ecw dlls in your application's bin directoy.
/*dotnetCHARTING.Chart worldChart = new dotnetCHARTING.Chart();
worldChart.Size = "800x600";
worldChart.Title = "Composite Satellite Image World Map";
worldChart.TempDirectory = "temp";
worldChart.Debug = true;
// Demonstrates loading the worldmap file.
worldChart.Type = ChartType.Map;
worldChart.Mapping.MapLayerCollection.Add("../../../Images/MapFiles/worldmap.ecw");
Controls.Add(worldChart);*/
}
</script>
</head>
<body>
<div style="text-align:center">
<img alt="World Map" src="temp/worldmap.png"/>
</div>
</body>
</html>
<%@ Page Language="vb" Description="dotnetCHARTING Component" %>
<%@ Register TagPrefix="dotnet" Namespace="dotnetCHARTING" Assembly="dotnetCHARTING"%>
<%@ Import Namespace="System.Drawing" %>
<%@ Import Namespace="dotnetCHARTING.Mapping" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>.netCHARTING Sample</title>
<script runat="server">
Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
' This sample uses a pre-generated image. To run the sample live,
' please uncomment the code below,
' download ecw.zip form https://dotnetcharting.com/ecw.zip And copy the ecw dlls in your application's bin directoy.
'Dim worldChart As Chart = New Chart()
'worldChart.Size = "800x600"
'worldChart.Title = "Composite Satellite Image World Map"
'worldChart.TempDirectory = "temp"
'' Demonstrates loading the worldmap file.
'worldChart.Type = ChartType.Map
'worldChart.Mapping.MapLayerCollection.Add("../../../Images/MapFiles/worldmap.ecw")
End Sub
</script>
</head>
<body>
<div style="text-align:center">
<img alt="World Map" src="temp/worldmap.png"/>
</div>
</body>
</html>
- Sample FilenameGallery/j02.aspx
- Version4.0
- Uses DatabaseNo