special type of graph

  • Thread starter Dominique Vandensteen
  • Start date
D

Dominique Vandensteen

I need a 2D graph that is in fact the merge between a stacked column and a
clustered column type.
Can I make such a graph with owc-10?

Dominique
 
A

Alvin Bruney

What do you mean by a merge? Do you have a sketch of what you want it to
look like that you can post?
 
A

Alvin Bruney

You won't get that kind of functionality out of the OWC box. You would need
to build a customized library to pull this off mostly because your request
is a special request.

You'd have to use GDI+ which is a graphics engine borrowed from windows XP.
It's a set of managed classes which allows access to windows drawing
resources. Here is a bare bones example

//draw a rectangle on screen
Graphics g = Graphics.FromImage(new Bitmap(100,100))
g.DrawRectangle(new Pen(Color.Red)),0,0,20,20);
g.FillRectangle(new SolidBrush(Color.Green);,2,2,15,15);

You have a couple of issues here to be concerned with. Asp.Net file
permission adjustments for writing the image to disk. Resource deallocation.
These are windows unmanaged resources, you will need to correctly dispose of
them to eliminate memory leaks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top