MetaGuru
MetaGuru

Reputation: 43863

Is there a way to draw lines (x,y)-(x2,y2) in ASP.NET pages?

Not animated of course, but good for displaying data visually such as Gantt chart etc.

Upvotes: 1

Views: 1642

Answers (5)

spoulson
spoulson

Reputation: 21591

The Walter Zorn javascript library may be your answer.

Upvotes: 0

Artem Koshelev
Artem Koshelev

Reputation: 10606

There is a new Chart control in ASP.NET 3.5 with a bunch of features and options, maybe you'll like it. You can read a quick review here.

Upvotes: 0

alexn
alexn

Reputation: 58992

I'm not sure if i understand your question but if you want to draw images dynamically you can use GDI+ and the System.Drawing namespace. Look here for an example.

Edit: Sorry i did not see the gannt tag. Check out the following control.

Upvotes: 3

mkoryak
mkoryak

Reputation: 57968

why not use a javascript graphs library to draw your graphs and charts?

check out these flot examples - maybe flot is what you need

Upvotes: 3

CodeMonkey1313
CodeMonkey1313

Reputation: 16031

You could create the image using the Graphics class, then output the file to the filesystem, and link an Image control of some sort to that image.

Upvotes: 1

Related Questions