Page 1 of 1

ViewSmith get value after zoom for GetChartDiameterAndCenter

Posted: Wed Apr 26, 2017 1:06 pm
by lokesh
Hi,

I am handling zoom in smith chart using Zoomed event. Now, when I do zoom in or zoom out, the values that I get from chart.ViewSmith.GetChartDiameterAndCenter and also from chart.ViewSmith.Axis.ValueToCoord are the values of the chart before the zoom action. Is there a way to get the updated values?

Thanks.

Lokesh

Re: ViewSmith get value after zoom for GetChartDiameterAndCe

Posted: Thu Apr 27, 2017 2:05 pm
by ArctionKestutis
Hi Lokesh,

Then Zoomed event fired probably only _chart.ViewSmith.ZoomScale is correct. Please subscribe to _chart.AfterRendering event to read updated information of _chart.ViewSmith.ZoomCenter or _chart.ViewSmith.GetChartDiameterAndCenter().

All the best,
Kestutis