Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

How to reduce the width of the graph frame?

Colleagues,

 

By default, CWGraph has a frame between the actual charting area and the edge of the component.  Is there a way to control the width of this frame?

 

Thanks,

-Nick

0 Kudos
Message 1 of 4
(6,702 Views)

Hi Nick,

 

Are you talking about the changing the frame width itself or increasing the size of the chart area?

 

Thanks!

Chris T.
0 Kudos
Message 2 of 4
(6,686 Views)

Hi Chris,

 

Either way could work.  My program will run on a small display, so I need to jam as much chart as possible into it.  Since frames don't carry information per se, I'd like to "waste" as few pixels as possible on them.

 

- Nick

0 Kudos
Message 3 of 4
(6,650 Views)

Hi Nick,

 

I couldn't find anything in particular to changing the graph area directly, but I did notice the classic frame style has much less wasted space.

 

try...

 

CWGraph1.GraphFrameStyle = cwGraphFrameClassic where CWGraph1 is the name of the CWGraph object.

 

Hope this helps!

Chris T.
0 Kudos
Message 4 of 4
(6,638 Views)