Is this possible to apply default template for my EA?
because when my EA applies text are invisible while background colour are same. so i would like to apply default template when EA applied.
Please suggest me to solve this issue?
'ChartApplyTemplate' - function is not defined
What you have posted compiles without error on Build 996.
Alternatively, you can control the chart colors directly:
And many others - see Chart Properties.
Yes, I confirm that it works on build 966
I have used the function a few times recently and it has always worked on recent builds
If the template that you are changing to doesn't have the EA attached, then the EA will be removed when you apply the template.
Probably better to do as Honest knave suggests and change the chart properties or add the text colour as an input for the EA
or change the template before attaching the EA
Yes. Thanks. I changed the template before EA attached
before i coded EA works and at end of the coding i appled template. so EA stopped.