By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,769 Members | 1,589 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,769 IT Pros & Developers. It's quick & easy.

drawing graphs without using bitmaps

P: n/a

I am trying to draw a chart similar to GANTT chart in
asp.net.

Right now, I am drawing the rectangles on bitmap...but I dont
want to use bitmap

. Coz loading bitmap takes time...Is there any other way to draw
graphics / charts / rectangles without using bitmap or any other image
as a background ?

Thanks....
....
Pradnya

Apr 4 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Pradnya,

You could try doing something with tables that are sized and positioned
a certain way, but quite honestly, it's not really feasible.

You might want to try SVG, scalable vector graphics, but I think you
have to have a plugin for rendering those graphics.

The bitmap is really your best bet which will reach the most amount of
people.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

<pr************@gmail.com> wrote in message
news:11**********************@t31g2000cwb.googlegr oups.com...

I am trying to draw a chart similar to GANTT chart in
asp.net.

Right now, I am drawing the rectangles on bitmap...but I dont
want to use bitmap

. Coz loading bitmap takes time...Is there any other way to draw
graphics / charts / rectangles without using bitmap or any other image
as a background ?

Thanks....
....
Pradnya

Apr 4 '06 #2

P: n/a

pr************@gmail.com wrote:
I am trying to draw a chart similar to GANTT chart in
asp.net.

Right now, I am drawing the rectangles on bitmap...but I dont
want to use bitmap

. Coz loading bitmap takes time...Is there any other way to draw
graphics / charts / rectangles without using bitmap or any other image
as a background ?


So I'm guessing you're creating these bitmaps on the server, saving
them, then incorporating them in <img> tags you send to the browser?
(If this isn't what you're doing then please ignore this post :)

If you're doing this with .BMP files, then yes they are going to be
slow. However, just because you're working with Bitmap objects, doesn't
mean you have to save them as .BMP files. You can save them as .GIF
files, which are compressed (in a way that's good for charts) and which
will therefore be delivered much more quickly over the wire.

--
Larry Lard
Replies to group please

Apr 4 '06 #3

P: n/a
why don't you use a third party component to spit the chart out? there are
lots of free packages out there

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
-------------------------------------------------------

<pr************@gmail.com> wrote in message
news:11**********************@t31g2000cwb.googlegr oups.com...

I am trying to draw a chart similar to GANTT chart in
asp.net.

Right now, I am drawing the rectangles on bitmap...but I dont
want to use bitmap

. Coz loading bitmap takes time...Is there any other way to draw
graphics / charts / rectangles without using bitmap or any other image
as a background ?

Thanks....
....
Pradnya

Apr 5 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.