Sub Surface Transparency
In the previous example of Setting up a Basic Subchart (chart within a chart), notice how bands and grid-lines of main chart are still visible under the sub-surface on the basic example.
Let's add a Renderable Series to the main surface of the previous example to demonstrate how sub-surface stacks with it:
This results in the following output:
IMAGE
The example shows that the Line Series will be visible underneath the sub-surface as well. This behavior could be changed using I2DSubSurfaceOptions.isTransparent option passed to SciChartSurface.addSubChart or via the SciChartSubSurface.isTransparent property.
For example, we could update our code as following:
Which will result into the line series and grid-lines being hidden by the sub-surface.
See Also