How do we know when extension functions are called? Some are fairly apparent, others not so much.
For instance, when does EasyChart.configureChart()
run? When the chart first opens?
How do we know when extension functions are called? Some are fairly apparent, others not so much.
For instance, when does EasyChart.configureChart()
run? When the chart first opens?
Does anyone have some insights on this?
How often they run is an implementation detail. Fairly often for the EasyChart, not so much for the Classic chart.
For extension functions like configureChart
, you could simply put a temporary print 'I was called'
in the script somewhere, and watch the console as you interact with the component to get a feel for what triggers it.
However, there are a few extension functions like the power table's configureCell
or the alarm status table's filterAlarm
where print statements would be inadvisable due to the quantity of times that the extension function is called.
That said, even if an experimental print statement occasionally causes you to loose 30 minutes wrestling control of the designer from a overloaded gui, at least you'll have the information you are looking for.