473,396 Members | 1,760 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

drawing graphs without using bitmaps


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
3 2420
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

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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: TheDD | last post by:
Hi all, i have a question: is there any librairy for drawing graphs with PHP? Not graphs like histogram or alike, but like a set of shapes linked together in a certain way (like a flow chart...
0
by: Ray Mitchell | last post by:
Hello, I need to write an application that displays multiple graphs on multiple tabbed sheets in a single window. The graphs are all simple X-Y line graphs like you'd see on an oscilloscope,...
4
by: Christina Androne | last post by:
Hi I want to allow the user to drow some locators on an image and connect the locators with lines. So I tried to put the following code in the onmousedown enevt of the picture: Graphics...
3
by: Pete Davis | last post by:
I'm having trouble dealing with bitmaps larger than about 10,000 pixels in either direction. I've tried using DrawImage and DrawImageUnscaled, but both give me out of memory errors. In my...
13
by: Metallicraft | last post by:
I have a vb6 application. On the main form is a picture box with one or two images and several pieces of text displayed in it. These are created on the fly using gdi32 routines that are all in a...
2
by: Mike | last post by:
Hello everybody. I am drawing a country map that consists of 149 municipality bitmaps, each around 25 Kb. I draw it onto the in-memory bitmap, then draw it on the picture box. I use C++, but...
14
by: marko | last post by:
Hi everyone, I'm an artist and I'm looking for a way to draw a line that will zig-zag its way thru an image randomly, crisscrossing itself many times, based on random numbers. To give you an...
5
by: Macias | last post by:
Hi, Please help me, how I can make a line drawing on PictureBox similar to MS paint. I thinking about this: click and hold button, move mouse and relase button. I'm trying useing this...
2
by: Nathan Sokalski | last post by:
I am attempting to create icons for controls I have created using VB.NET by using the System.Drawing.ToolboxBitmap attribute. I have managed to do this in C# by specifying the path to the *.ico...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.