Walls Members
Use the Walls object to format the space behind and to the left of the plot area in 3-D charts. Use the Chart object’s Walls property to get a reference to this object. The Walls object has the following members:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Only 3-D charts have a Walls object. The following code applies a background picture to the walls of a chart:
Sub FloorMembers( )
Dim chrt As Chart, fr As Floor
' Get the chart.
Set chrt = ActiveChart
' Make it a 3-D chart
chrt.ChartType = xl3DArea
' Get the Floor object
Set fr = chrt.Floor
' Stretch the logo to fit.
fr.Fill.Visible = True
fr.Fill.UserPicture ThisWorkbook.Path & "\logo.bmp"
' Alternate: Tile the logo
'fr.Fill.UserTextured ThisWorkbook.Path & "\logo.bmp"
End SubSee the
ChartFillFormat
object for more information about setting fills.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access