Reset Spotfire BarChart Data limit and Axis Value Reset
from Spotfire.Dxp.Application.Visuals import AxisRange
from Spotfire.Dxp.Application.Visuals import VisualContent
vc=vis.As[VisualContent]()
vc.Data.WhereClauseExpression=”[Amounts]<>0 and ([Days]< Max([Days]))”
vc.XAxis.ZoomRange = AxisRange.DefaultRange;
vc.YAxis.ZoomRange = AxisRange.(0,200);
Note: vis is a parameter which needs to be assigned with Chart