Jump to content

I am facing this error : AttributeError: 'LineChart' object has no attribute 'As'

Shivaganga B

Recommended Posts


I was assigning a line chart to a variable in IPython script. The code is

Visual = visualizationBOE.As[Visualization]()


But its showing following error. Pls help me clear this error.


Traceback (most recent call last):

File "Spotfire.Dxp.Application.IronPython20", line unknown, in ExecuteForDebugging

File "", line 256, in

AttributeError: 'LineChart' object has no attribute 'As'

System.MissingMemberException: 'LineChart' object has no attribute 'As'

at _stub_$337##337(Closure , CallSite , Object , CodeContext )

at Microsoft.Scripting.Actions.MatchCaller.Call2[T0,T1,TRet](Func`4 target, CallSite site, Object[] args)

at Microsoft.Scripting.Actions.CallSite`1.UpdateAndExecute(Object[] args)

at Microsoft.Scripting.Actions.UpdateDelegates.Update2[T,T0,T1,TRet](CallSite site, T0 arg0, T1 arg1)

at $318##318(Closure , Scope , LanguageContext )

at Microsoft.Scripting.SourceUnit.Execute(Scope scope, ErrorSink errorSink)

at Spotfire.Dxp.Application.IronPython20.IronPythonScriptEngine.ExecuteForDebugging(String scriptCode, Dictionary`2 scope, Stream outputStream)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...