DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Mon, 20 Aug 2007 20:33:03 -0000,    posted on: microsoft.public.dotnet.framework.drawing        back       

Thread Index
  1    unknown
          2    Michael C
                 3    Michael C
          4    unknown
          5    Bob Powell [MVP]
                 6    Bob Powell [MVP]
                 7    Bob Powell [MVP]
                 8    Michael C
          9    unknown
          10    unknown
          11    unknown
          12    unknown


Can GDI+ create such a graph?   
Hi,

I am new to GDI+, our client is interested in have their web-based
project management generate some roadmaps that look like the one
below:

http://farm2.static.flickr.com/1226/1185331048_5d0b41e7f8_o.png

The duration of each project is from the database.

As I cannot find any API that does this, I am thinking of doing this
using GDI+.  Can GDI+ handle this pretty easily?  If yes, I will give
it a shot.

Thanks.
Date:Mon, 20 Aug 2007 20:33:03 -0000   Author:  

Re: Can GDI+ create such a graph?   
wrote in message 
news:1187641983.327705.303030@w3g2000hsg.googlegroups.com...

> Hi,
>
> I am new to GDI+, our client is interested in have their web-based
> project management generate some roadmaps that look like the one
> below:
>
> http://farm2.static.flickr.com/1226/1185331048_5d0b41e7f8_o.png
>
> The duration of each project is from the database.
>
> As I cannot find any API that does this, I am thinking of doing this
> using GDI+.  Can GDI+ handle this pretty easily?  If yes, I will give
> it a shot.


Yes, very easily.
1) Create a bitmap
2) Create a graphics object (using Grapics.FromImage)
3) Using drawing commands of graphics object to draw to bitmap
4) Dispose graphics object
5) Send bitmap to webpage (save bitmap to memory stream or something 
similar)
6) Dispose bitmap.

Michael
Date:Tue, 21 Aug 2007 10:45:16 +1000   Author:  

Re: Can GDI+ create such a graph?   
On Aug 20, 8:45 pm, "Michael C"  wrote:

>  wrote in message
>
> news:1187641983.327705.303030@w3g2000hsg.googlegroups.com...
>
> > Hi,
>
> > I am new to GDI+, our client is interested in have their web-based
> > project management generate some roadmaps that look like the one
> > below:
>
> >http://farm2.static.flickr.com/1226/1185331048_5d0b41e7f8_o.png
>
> > The duration of each project is from the database.
>
> > As I cannot find any API that does this, I am thinking of doing this
> > using GDI+.  Can GDI+ handle this pretty easily?  If yes, I will give
> > it a shot.
>
> Yes, very easily.
> 1) Create a bitmap
> 2) Create a graphics object (using Grapics.FromImage)
> 3) Using drawing commands of graphics object to draw to bitmap
> 4) Dispose graphics object
> 5) Send bitmap to webpage (save bitmap to memory stream or something
> similar)
> 6) Dispose bitmap.
>
> Michael


Thanks a lot.  By bitmap, do you really mean bmp image?  I think only
Internet Explorer can display bmp images by default.  I suppose we can
create JPEG or PNG images with GDI+?

Thanks.
Date:Tue, 21 Aug 2007 03:57:30 -0000   Author:  

Re: Can GDI+ create such a graph?   
wrote in message 
news:1187668650.218631.119600@22g2000hsm.googlegroups.com...

> Thanks a lot.  By bitmap, do you really mean bmp image?  I think only
> Internet Explorer can display bmp images by default.  I suppose we can
> create JPEG or PNG images with GDI+?


Bitmap does not mean bmp necessarily. Bitmap is really just a block of 
memory (ie ram, not HDD etc) that stores the raw pixel data. When you save 
you decide what format you want to save it as.

Michael
Date:Tue, 21 Aug 2007 14:11:08 +1000   Author:  

Re: Can GDI+ create such a graph?   
If your question is "Does GDI+ have a graph drawing API?" The answer is no.

You'll need to do it in code or use a third-party tool.


-- 
-- 
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.


 wrote in message 
news:1187641983.327705.303030@w3g2000hsg.googlegroups.com...

> Hi,
>
> I am new to GDI+, our client is interested in have their web-based
> project management generate some roadmaps that look like the one
> below:
>
> http://farm2.static.flickr.com/1226/1185331048_5d0b41e7f8_o.png
>
> The duration of each project is from the database.
>
> As I cannot find any API that does this, I am thinking of doing this
> using GDI+.  Can GDI+ handle this pretty easily?  If yes, I will give
> it a shot.
>
> Thanks.
> 
Date:Tue, 21 Aug 2007 11:15:41 +0200   Author:  

Re: Can GDI+ create such a graph?   
On Aug 21, 12:11 am, "Michael C"  wrote:

>  wrote in message
>
> news:1187668650.218631.119600@22g2000hsm.googlegroups.com...
>
> > Thanks a lot.  By bitmap, do you really mean bmp image?  I think only
> > Internet Explorer can display bmp images by default.  I suppose we can
> > create JPEG or PNG images withGDI+?
>
> Bitmap does not mean bmp necessarily. Bitmap is really just a block of
> memory (ie ram, not HDD etc) that stores the raw pixel data. When you save
> you decide what format you want to save it as.
>
> Michael


O, thx.  I was suspecting too, since bmp images are big and have
limited browser support.
Date:Tue, 21 Aug 2007 14:30:48 -0000   Author:  

Re: Can GDI+ create such a graph?   
On Aug 21, 5:15 am, "Bob Powell [MVP]" 
wrote:

> If your question is "DoesGDI+have a graph drawing API?" The answer is no.
>
> You'll need to do it in code or use a third-party tool.
>
> --
> --
> Bob Powell [MVP]
> Visual C#, System.Drawing
>
> Ramuseco Limited .NET consultinghttp://www.ramuseco.com
>
> Find great Windows Forms articles in Windows Forms Tips and Trickshttp://www.bobpowell.net/tipstricks.htm
>
> Answer thoseGDI+questions with theGDI+FAQhttp://www.bobpowell.net/faqmain.htm
>
> All new articles provide code in C# and VB.NET.
> Subscribe to the RSS feeds provided and never miss a new article.
>
>  wrote in message
>
> news:1187641983.327705.303030@w3g2000hsg.googlegroups.com...
>
> > Hi,
>
> > I am new toGDI+, our client is interested in have their web-based
> > project management generate some roadmaps that look like the one
> > below:
>
> >http://farm2.static.flickr.com/1226/1185331048_5d0b41e7f8_o.png
>
> > The duration of each project is from the database.
>
> > As I cannot find any API that does this, I am thinking of doing this
> > usingGDI+.  CanGDI+handle this pretty easily?  If yes, I will give
> > it a shot.
>
> > Thanks.


O, is that right.  So, could you recommend any 3rd-party (better open
source) API that works with GDI+ and that lets me create such a
roadmap graph?  Thanks a lot.
Date:Tue, 21 Aug 2007 14:32:13 -0000   Author:  

Re: Can GDI+ create such a graph?   
Well, it's not a C# tool as such gut GraphViz is actually pretty good at all 
kinds of graphs and does have a .NET wrapper.

GraphViz.org.

-- 
-- 
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.


 wrote in message 
news:1187706733.818571.114640@a39g2000hsc.googlegroups.com...

> On Aug 21, 5:15 am, "Bob Powell [MVP]" 
> wrote:
>> If your question is "DoesGDI+have a graph drawing API?" The answer is no.
>>
>> You'll need to do it in code or use a third-party tool.
>>
>> --
>> --
>> Bob Powell [MVP]
>> Visual C#, System.Drawing
>>
>> Ramuseco Limited .NET consultinghttp://www.ramuseco.com
>>
>> Find great Windows Forms articles in Windows Forms Tips and 
>> Trickshttp://www.bobpowell.net/tipstricks.htm
>>
>> Answer thoseGDI+questions with 
>> theGDI+FAQhttp://www.bobpowell.net/faqmain.htm
>>
>> All new articles provide code in C# and VB.NET.
>> Subscribe to the RSS feeds provided and never miss a new article.
>>
>>  wrote in message
>>
>> news:1187641983.327705.303030@w3g2000hsg.googlegroups.com...
>>
>> > Hi,
>>
>> > I am new toGDI+, our client is interested in have their web-based
>> > project management generate some roadmaps that look like the one
>> > below:
>>
>> >http://farm2.static.flickr.com/1226/1185331048_5d0b41e7f8_o.png
>>
>> > The duration of each project is from the database.
>>
>> > As I cannot find any API that does this, I am thinking of doing this
>> > usingGDI+.  CanGDI+handle this pretty easily?  If yes, I will give
>> > it a shot.
>>
>> > Thanks.
>
> O, is that right.  So, could you recommend any 3rd-party (better open
> source) API that works with GDI+ and that lets me create such a
> roadmap graph?  Thanks a lot.
> 
Date:Tue, 21 Aug 2007 19:39:02 +0200   Author:  

Re: Can GDI+ create such a graph?   
hmm, maybe GraphViz won't do that..

Try XCeed chart for .NET. I don't know (or care) about free or opensource 
because I think programmers deserve to be paid for their efforts.

-- 
-- 
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.


 wrote in message 
news:1187706733.818571.114640@a39g2000hsc.googlegroups.com...

> On Aug 21, 5:15 am, "Bob Powell [MVP]" 
> wrote:
>> If your question is "DoesGDI+have a graph drawing API?" The answer is no.
>>
>> You'll need to do it in code or use a third-party tool.
>>
>> --
>> --
>> Bob Powell [MVP]
>> Visual C#, System.Drawing
>>
>> Ramuseco Limited .NET consultinghttp://www.ramuseco.com
>>
>> Find great Windows Forms articles in Windows Forms Tips and 
>> Trickshttp://www.bobpowell.net/tipstricks.htm
>>
>> Answer thoseGDI+questions with 
>> theGDI+FAQhttp://www.bobpowell.net/faqmain.htm
>>
>> All new articles provide code in C# and VB.NET.
>> Subscribe to the RSS feeds provided and never miss a new article.
>>
>>  wrote in message
>>
>> news:1187641983.327705.303030@w3g2000hsg.googlegroups.com...
>>
>> > Hi,
>>
>> > I am new toGDI+, our client is interested in have their web-based
>> > project management generate some roadmaps that look like the one
>> > below:
>>
>> >http://farm2.static.flickr.com/1226/1185331048_5d0b41e7f8_o.png
>>
>> > The duration of each project is from the database.
>>
>> > As I cannot find any API that does this, I am thinking of doing this
>> > usingGDI+.  CanGDI+handle this pretty easily?  If yes, I will give
>> > it a shot.
>>
>> > Thanks.
>
> O, is that right.  So, could you recommend any 3rd-party (better open
> source) API that works with GDI+ and that lets me create such a
> roadmap graph?  Thanks a lot.
> 
Date:Tue, 21 Aug 2007 19:42:06 +0200   Author:  

Re: Can GDI+ create such a graph?   
On Aug 21, 1:42 pm, "Bob Powell [MVP]" 
wrote:

> hmm, maybe GraphViz won't do that..
>
> Try XCeed chart for .NET. I don't know (or care) about free or opensource
> because I think programmers deserve to be paid for their efforts.
>
> --
> --
> Bob Powell [MVP]
> Visual C#, System.Drawing
>
> Ramuseco Limited .NET consultinghttp://www.ramuseco.com
>
> Find great Windows Forms articles in Windows Forms Tips and Trickshttp://www.bobpowell.net/tipstricks.htm
>
> Answer those GDI+ questions with the GDI+ FAQhttp://www.bobpowell.net/faqmain.htm
>
> All new articles provide code in C# and VB.NET.
> Subscribe to the RSS feeds provided and never miss a new article.
>
>  wrote in message
>
> news:1187706733.818571.114640@a39g2000hsc.googlegroups.com...
>
> > On Aug 21, 5:15 am, "Bob Powell [MVP]" 
> > wrote:
> >> If your question is "DoesGDI+have a graph drawing API?" The answer is no.
>
> >> You'll need to do it in code or use a third-party tool.
>
> >> --
> >> --
> >> Bob Powell [MVP]
> >> Visual C#, System.Drawing
>
> >> Ramuseco Limited .NET consultinghttp://www.ramuseco.com
>
> >> Find great Windows Forms articles in Windows Forms Tips and
> >> Trickshttp://www.bobpowell.net/tipstricks.htm
>
> >> Answer thoseGDI+questions with
> >> theGDI+FAQhttp://www.bobpowell.net/faqmain.htm
>
> >> All new articles provide code in C# and VB.NET.
> >> Subscribe to the RSS feeds provided and never miss a new article.
>
> >>  wrote in message
>
> >>news:1187641983.327705.303030@w3g2000hsg.googlegroups.com...
>
> >> > Hi,
>
> >> > I am new toGDI+, our client is interested in have their web-based
> >> > project management generate some roadmaps that look like the one
> >> > below:
>
> >> >http://farm2.static.flickr.com/1226/1185331048_5d0b41e7f8_o.png
>
> >> > The duration of each project is from the database.
>
> >> > As I cannot find any API that does this, I am thinking of doing this
> >> > usingGDI+.  CanGDI+handle this pretty easily?  If yes, I will give
> >> > it a shot.
>
> >> > Thanks.
>
> > O, is that right.  So, could you recommend any 3rd-party (better open
> > source) API that works with GDI+ and that lets me create such a
> > roadmap graph?  Thanks a lot.


Thank you very much. I took a look at the sample galleries of both.  I
am not sure if they can do this.  This roadmap needs to place text
messages into particular cells of the table as you see from the screen
shot.  Xceed developers (who doesn't?) probably sought or are using
open source packages in their products.  But, that's not our concern.
Date:Tue, 21 Aug 2007 19:42:46 -0000   Author:  

Re: Can GDI+ create such a graph?   
wrote in message 
news:1187725366.070291.27790@o80g2000hse.googlegroups.com...

> Thank you very much. I took a look at the sample galleries of both.  I
> am not sure if they can do this.  This roadmap needs to place text
> messages into particular cells of the table as you see from the screen
> shot.  Xceed developers (who doesn't?) probably sought or are using
> open source packages in their products.  But, that's not our concern.


You don't need a third party tool to do what you want, just draw it yourself 
using the GDI+ commands.

Michael
Date:Wed, 22 Aug 2007 09:08:30 +1000   Author:  

Re: Can GDI+ create such a graph?   
On Aug 21, 7:08 pm, "Michael C"  wrote:

>  wrote in message
>
> news:1187725366.070291.27790@o80g2000hse.googlegroups.com...
>
> > Thank you very much. I took a look at the sample galleries of both.  I
> > am not sure if they can do this.  This roadmap needs to place text
> > messages into particular cells of the table as you see from the screen
> > shot.  Xceed developers (who doesn't?) probably sought or are using
> > open source packages in their products.  But, that's not our concern.
>
> You don't need a third party tool to do what you want, just draw it yourself
> using the GDI+ commands.
>
> Michael


Sounds great.  I will look things which GDI+ can provide.  Thanks a
lot.
Date:Wed, 22 Aug 2007 13:21:46 -0000   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us