CHART_EVENT_OBJECT_DELETE

 

Hi, everyone!

I have a problem and I don't know if it's a bug.

If I put this:

ChartSetInteger(ChartID(),CHART_EVENT_OBJECT_DELETE,true); 

in  init() it freezes my platform!

it doesn't happen with

ChartSetInteger(ChartID(),CHART_EVENT_OBJECT_CREATE,true);


 
Check your OnChartEvent() code.
 

Thaks! I've found the problem, but it's weird...

I do have some ObjectDelete fuctions in OnChartEvent() and that's why it freezes, but i also have ObjectCreate functions and the

ChartSetInteger(ChartID(),CHART_EVENT_OBJECT_CREATE,true); has no problem with those.