I make the chart walls zero width and transparent so that I have the outline of the chart bounds visible but the walls don’t get in the way when I rotate the view to look at the data from different angles. Unfortunately, the chart walls sometimes arbitrarily appear not transparent (I can’t find a pattern to it). It doesn’t matter how many times I set it for that chart, it won’t become transparent (while for other charts I create using the same code, it may be), despite the .FillEffect.Color property showing that it is Color.Transparent. Generally one or more ChartWalls will be transparent, and one or more will be opaque, but it’s not at all predictable.
I don’t reference ChartWalls anywhere else in my code, just in the chart creation process (I tried resetting it constantly when the user clicked a button, to no avail):
Dim wX As ChartWall, wY As ChartWall, wZ As ChartWall
wX = CType(Walls(ChartWallType.Floor), ChartWall)
wY = CType(Walls(ChartWallType.Left), ChartWall)
wZ = CType(Walls(ChartWallType.Back), ChartWall)
With wX
.Width = 0
.FillEffect.Color = Color.Transparent
End With
With wY
.Width = 0
.FillEffect.Color = Color.Transparent
End With
With wZ
.Width = 0
.FillEffect.Color = Color.Transparent
End With
Imported from legacy forums. Posted by Paul (had 982 views)