Combination Chart : Toggle to Stacked bars
I'm trying to change the layout of my Combination Chart to display Side-by-side bars or stacked bars as it is possible with the user interface.
Here is my script :
from Spotfire.Dxp.Application.Visuals import VisualContent
import Spotfire.Dxp.Application.Visuals.StackMode as stackMode
vc1 = visual1.As[VisualContent]()
vc1.stackMode = stackMode.Stack
And here is my Error :
Traceback (most recent call last):
File "Spotfire.Dxp.Application.ScriptSupport", line unknown, in ExecuteForDebugging
File "<string>", line 8, in <module>
AttributeError: 'CombinationChart' object has no attribute 'stackMode'
Any ideas ?