PC Review


Reply
Thread Tools Rate Thread

Drawing shapes in a chart

 
 
=?Utf-8?B?Q2hhZFRhcmdldA==?=
Guest
Posts: n/a
 
      21st Sep 2006
I'm not sure how I would go about this. But I am creating Quadrant graphs.
They are scatter plots and the graph is divided into 4 sections (2 yellow, 1
green, and 1 red) I made the plot area yellow, but now I need to know if its
possible to write a macro to draw Red and Green boxes on the graph and their
size set by points on the graph? For instance, there is a median point so
the red box would go from (0,0) in the lower left to (medianx,mediany) on the
upper right. And the green box would have (medianx,mediany) on the lower
left and the (axisxmax,axisymax) on the upper right. Is it possible to draw
shapes with values from a graph? If so could someone fill me in on how to do
it!

Thanks - it would save soo much time!!
 
Reply With Quote
 
 
 
 
Andy Pope
Guest
Posts: n/a
 
      21st Sep 2006
Hi,

Rather than draw shapes you can use extra data series plotted as
different chart types.
See here for explanation,
http://peltiertech.com/Excel/Charts/...ackground.html

Cheers
Andy

ChadTarget wrote:
> I'm not sure how I would go about this. But I am creating Quadrant graphs.
> They are scatter plots and the graph is divided into 4 sections (2 yellow, 1
> green, and 1 red) I made the plot area yellow, but now I need to know if its
> possible to write a macro to draw Red and Green boxes on the graph and their
> size set by points on the graph? For instance, there is a median point so
> the red box would go from (0,0) in the lower left to (medianx,mediany) on the
> upper right. And the green box would have (medianx,mediany) on the lower
> left and the (axisxmax,axisymax) on the upper right. Is it possible to draw
> shapes with values from a graph? If so could someone fill me in on how to do
> it!
>
> Thanks - it would save soo much time!!


--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Drawing shapes in visio using c# weird0 Microsoft C# .NET 1 6th Nov 2007 08:50 PM
When drawing shapes in excel the shapes keep disappearing =?Utf-8?B?VGFwZQ==?= Microsoft Excel Misc 1 6th Oct 2006 05:23 PM
Drawing Shapes =?Utf-8?B?TEdGTg==?= Microsoft Powerpoint 3 9th May 2006 09:01 PM
Drawing shapes on Userform mangesh_yadav Microsoft Excel Programming 9 16th Sep 2004 03:42 PM
Drawing Shapes on Forms ? Dave Ruhl Microsoft Access 3 3rd Jun 2004 11:23 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:38 PM.