ScaleWidthHeight
is a property of the Scale Class.
Example 1
'Set Y-scale width to 400 twips; set
X-scale height to 530 twips
XYChartCtrl.YScale(1).ScaleWidthHeight = 400
XYChartCtrl.XScale(1).ScaleWidthHeight = 530
XYChartCtrl.Refresh
'Refresh
required to update chart with changes made
Example 2
'Set Y-scale width to 1500 twips; set
X-scale height to 1000 twips
XYChartCtrl.YScale(1).ScaleWidthHeight = 1500
XYChartCtrl.XScale(1).ScaleWidthHeight = 1000
XYChartCtrl.Refresh
'Refresh
required to update chart with changes made
See
Also