You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Anyway, I'm tired of explaining it to you. Those who want to, will understand.
Thanks for your patience, since this is a normal phenomenon, I will know it now and take it into account when analyzing errors in my code. But I wish they would just drop an error - it's one thing when it's impossible and another thing when, let's call it a peculiarity instead of an error, that's when the peculiarity is explained by an established tradition.
Points to this code -D.PointsFill(false);
The error was due to different size of X and Y arrays - why you couldn't write about it in the log is a mystery.
Thank you for your patience, since it is a normal phenomenon, I will know it now and take it into account when analyzing errors in my code. But I wish they would just drop an error - it is one thing when it is not possible, and another thing when, let's call it a peculiarity instead of an error, so when a peculiarity is explained by an established tradition.
Just remember one thing: the _LastError contains not only the code of the real error but codes of messages on function operation as well. In the case we're discussing, it is the code that there is no object there. And it all depends on context, when object with specific name is requested. If it's for modifying the object this code will indicate the need to understand why my object is suddenly gone and if it's for creating a new object the code saying that there is no such an object - here it's just the opposite - everything is fine and you can create it.
And take it as a rule: check the return result of the function and, if it returns a real error, then analyze the error code.
In your example, you're fooling yourselves with the fact that the creation of the canvas object was successful and you think there's an error somewhere.
Just remember one thing: _LastError contains not only code of real error, but also codes of function messages. In this case, it is the code that there is no object. And it all depends on context, when object with specific name is requested. If it's for modifying the object this code will indicate the need to understand why my object is suddenly gone and if it's for creating a new object the code saying that there is no such an object - here it's just the opposite - everything is fine and you can create it.
And take it as a rule: you must check the return result of the function and if it returns a real error, then analyze the error code.
You're messing with your example by saying that there was a successful creation of a cantvas object and you think there's a mistake somewhere.
Ok, I will try to think in the way you have described when analyzing errors. Thank you.
Perhaps you can give an answer to my questions in this thread, which remained unanswered - about changing the size of the legend and prohibition to place information about the created curve in this legend?
OK, I'll try to think along the lines you described when analysing the errors. Thank you.
Maybe you can give an answer to my questions in this thread, which were left unanswered - about resizing the legend and not allowing information about the created curve in this legend?
I can't - it takes time. I'm sorry, I don't have time.
OK, I'll try to think along the lines you described when analysing the errors. Thank you.
I can't - it takes time. Alas, I don't have it, sorry.
Understood. I'll wait for someone who knows or has the time. But I understand that you can't do it with the library's regular tools.
Error inCGraphic::CreateAxes:
Should bem_y.Color() andm_x.Color() instead of selected, respectively.
Solved by inheriting from CGraphic and overriding CreateAxes (virtual, thank goodness).
The sameCGraphic::CreateAxes usesm_grid.clr_frame, which cannot be set independently:
A method must be added to set the value:
Why is the horizontal line not drawn on the graph? Why does it have coordinates of int type instead of double?