Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MSChart 3D width

Status
Not open for further replies.

Dashley

Programmer
Dec 5, 2002
925
US
Im having a problem with MsChart. In a 2d bar graph when Ichange the width "MSChart1.width=900" the width changes. When I do the same with a 3dbar the whole graph moves to the right but the width dosent change. I can't seem tofind uot the right call.
Thanks


Dan
 
The problem is that, in 2dbar, the width of the actual graph is tied to the width of the chart background. The 3dbar's x axis is not tied to the chart's width, so when you change mschart.width, it adjusts the chart's background width and just moves the 3dbar graph to the new center. I did see that if you change the Chart's height, that it will make the 3dbar graph larger though.
The best solution would be to change each row's width without altering the size of the graph backgound at all, but I don't see a property for that either.
 
jasen

I think I've got it now.I found a "MSChart1.Plot.WidthToHeightRatio" = 1 that seems to help when using the mschartheight or width call

dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top