Unlike other chart types, there is no set from property for setting columns in a parallel Coordinate Plot
Here is a script that will let you map a textarea multi select list control to a parallel Coordinate Plot
Here I have mapped my Parallel Coordinate Plot to mypllplot variable and my multiselect property control is transaction.
Also I am plotting Sum of column values , but you can edit the expression to meet your needs
from Spotfire.Dxp.Application.Visuals import *
temp= Document.Properties['transaction']
mypllplot.As[ParallelCoordinatePlot]().Columns.Clear()
for col1 in temp:
PCPColumn= ParallelCoordinatePlotColumn('Sum('+ col1 + ')')
mypllplot.As[ParallelCoordinatePlot]().Columns.Add(PCPColumn)
Comments
Post a Comment