Floor Members
Use the Floor object to format the space beneath series in 3-D charts. Use the Chart object’s Floor property to get a reference to this object. The Floor object has the following members:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Only 3-D charts have a Floor object. The following code applies a background picture to the floor of a 3-D 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