Posts
247
Comments
67
Trackbacks
4
Web-Diagramme mit .NET erstellen

Ich war auf der Suche nach eine Möglichkeit online ansprechende Diagamme zu erstellen.

Neben etlichen kommerziellen Lösungen habe ich bei http://intex.ath.cx/TimeDataPlot.aspx ein kostenloses Control gefunden. Damit lässt sich z.B. folgende Grafik erstellen:

Der Quellcode hierzu ist einfach:

Control einbinden:

<%@ Register TagPrefix="intex" TagName="TimeDataPlot" Src="TimeDataPlot.ascx" %>

Die Daten weren als DataSet übergeben:

myDataSet.Tables.Add(myDataTable);
DataView myDataView = myDataSet.Tables[0].DefaultView;

ExamplePlot.PlotTitle = " Beispiel-Grafik";
ExamplePlot.ImageAlt = "Plot Example";
ExamplePlot.DataSource = myDataView;
ExamplePlot.TimeColumnName = "time";
ExamplePlot.ValueColumnName = "value";
ExamplePlot.PlotPaddingLeft = 60;
ExamplePlot.DataBind();

ExamplePlot ist die ID des neuen Controls:

<head>
<title>TimeDataPlot Example</title>
</head>

<body>
   <intex:TimeDataPlot id="ExamplePlot" runat="server" />
</body>

posted on Sunday, April 02, 2006 4:01 PM Print
Comments
Gravatar
# 
lutz
5/1/2006 4:01 PM
hi,
der link funzt nicht mehr.
w&#252;rde dennoch gern dieses chart-tool testen.
h&#228;ttest du noch die daten dazu verf&#252;gbar ?
und weisst du ob es kommerziell umsonst nutzbar ist ?

besten dank schonmal.
Gravatar
# 
Marco
8/22/2006 10:45 AM
W&#252;rde das Tool auch gerne ausprobieren. Kannst du es mailen oder hast du eine Ahnung wo ich es sonst bekomme?

Auch schonmal danke

Post Comment

Title *
Name *
Email
Url
Comment *  
Please add 4 and 1 and type the answer here: