Hi Yeray,
I have one issue with canvas.textout. If I have multiline false for bottom axis I am getting a space between date and time like mm/dd/yyyy hh:mm:ss AM/PM but if I put the mutiline true I get the canvas.textout value like:mm/dd/yyyyhh:mm:ssAM/PM without any space.
Could you please help me out to fix the isue so that I always get a space between date and time.
Multiline is working fine for botton axis but not proper for the anvas.textout to display the date time value at curent mouse point.
Thanks
Ashutosh
canvas.textout space
Hi Ashutosh,
I'm not sure to understand you. I've tried the following code and it works fine for me here.
What multiline do you think that causes the problem? Please, could you send us a simple example project we can run "as-is" to reproduce the problem here?
You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
I'm not sure to understand you. I've tried the following code and it works fine for me here.
Code: Select all
Private Sub TChart1_OnAfterDraw()
TChart1.Canvas.TextOut 50, 50, Format$(Now, "mm/dd/yyyy hh:mm:ss AM/PM")
End Sub
You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |