Gallery
<%@ Page Language="C#" 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 earthChart = new dotnetCHARTING.Chart();
Chart.Size = "800x600";
Chart.Title = " Earth false color composite image layer";
Chart.TempDirectory = "temp";
Chart.TitleBox.Background.Color = Color.LightSkyBlue;
// Demonstrates loading the earth.ecw file.
Chart.Type = ChartType.Map;
Chart.Mapping.MapLayerCollection.Add("../../../Images/MapFiles/earth.ecw");
Controls.Add(earthChart);*/
}
</script>
</head>
<body>
<div style="text-align:center">
<img alt="Earth Map" src="temp/earthmap.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 earthChart As Chart = New Chart()
'earthChart.Size = "800x600"
'earthChart.Title = " Earth false color composite image layer"
'earthChart.TempDirectory = "temp"
'earthChart.TitleBox.Background.Color = Color.LightSkyBlue
'' Demonstrates loading the earth.ecw file.
'earthChart.Type = ChartType.Map
'earthChart.Mapping.MapLayerCollection.Add("../../../Images/MapFiles/earth.ecw")
End Sub
</script>
</head>
<body>
<div style="text-align:center">
<img alt="Earth Map" src="temp/earthmap.png"/>
</div>
</body>
</html>
- Sample FilenameGallery/j01.aspx
- Version4.0
- Uses DatabaseNo