Shivaganga B Posted October 15, 2019 Share Posted October 15, 2019 Hi, 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 More sharing options...
Shandilya Peddi Posted October 15, 2019 Share Posted October 15, 2019 Have you previously converted the "visualizationBOE" to LineChart somewhere in your script Something like visualizationBOE=variableName.As[LineChart]() Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now