Assign this script to an action control (like button, link or image)
from Spotfire.Dxp.Application.Visuals import BarChart
barchart1.As[BarChart]().SortedBars = not (barchart1.As[BarChart]().SortedBars )
barchart1 is mapped to the Bar Chart Visualization you would like to toggle sorting for
how can i reverse the order of sorting
ReplyDeletein a bar chart ?