Spotfire: “limit data using markings” by python script

爱⌒轻易说出口 提交于 2019-12-12 03:38:53

问题


Is there a way to check or uncheck certain markings in "limit data using markings" in a visualization through a python script?


回答1:


The answer from https://community.tibco.com/questions/limit-data-using-markings-python-script

from Spotfire.Dxp import Data
from Spotfire.Dxp.Application.Visuals import *

vis.As[VisualContent]().Data.Filterings.Add(Document.Data.Markings["Marking"])

They "hide" the Markings in the Filters.



来源:https://stackoverflow.com/questions/38224691/spotfire-limit-data-using-markings-by-python-script

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!