Page 1 of 1

Query on Cursor and ScrollPager Tools

Posted: Fri Apr 01, 2016 10:59 am
by 17573882
Hi,
Just purchasing and testing the Pro Tools and I have a query on using the Cursor and ScrollPager Tools.

With the Cursor Tool, I have a vertical cursor set. I want the annotation callout to show the X-Axis value, which is a Date. The Series is built from an ADO SQL datasource. The main X-Axis shows the retrieved Date values correctly, but the Annotation on the Cursor never shows the X-Axis Value - it always starts at 30/12/1899 for the left most mark and increments by 1 day for each mark. The attached screenshot shows an example - you will see the X-Axis ranges from 15/05/2015 to 19/05/2015, but the Annotation shows 04/01/1900. How can I get the annotation to show the X-Axis date value?

With the ScrollPager, is there a simple way to prevent the ScrollPager from being Copied/Printed/Saved when using the TeeCommander buttons? I only want the ScrollPager to be seen on the terminal display and not saved, printed etc. Is there a way to to this?

Thanks
Clive

Re: Query on Cursor and ScrollPager Tools

Posted: Mon Apr 04, 2016 10:21 am
by yeray
Hello Clive,

Please, try to open different threads to report different issues from now on.

- Cursor Tool:
I've created a new TChart with a TLineSeries with pointer active and some datetime sample values; I've added a TCursorTool to the chart and activated its Annotation.
It seems to work fine for me here:
datetime_cursor.png
datetime_cursor.png (18.09 KiB) Viewed 8268 times
- ScrollPager Tool:
Have you tried to disable the ScrollPager Tool before copying the chart? Ie:

Code: Select all

procedure TForm1.Button1Click(Sender: TObject);
begin
  ChartTool1.Active:=false;
  Chart1.CopyToClipboardBitmap;
  ChartTool1.Active:=true;
end;

Re: Query on Cursor and ScrollPager Tools

Posted: Wed Apr 06, 2016 10:47 am
by 17573882
Hi, thanks for the replies.

I still cannot get the Cursor tool to correctly display the Annotation as the Date value from the X-Axis.

Would it be possible for you to send me a copy of your sample project that you used to create the above image and hopefully I can figure out what is different in my chart setup.

Regards
Clive

Re: Query on Cursor and ScrollPager Tools

Posted: Wed Apr 06, 2016 11:43 am
by yeray
Hi Clive,
CVP99 wrote:Would it be possible for you to send me a copy of your sample project that you used to create the above image and hopefully I can figure out what is different in my chart setup.
Of course. Here it is:
testDateTimeCursor.zip
(1.75 KiB) Downloaded 686 times

Re: Query on Cursor and ScrollPager Tools

Posted: Wed Apr 06, 2016 1:50 pm
by 17573882
Hi,

Thanks for the prompt reply.

I was setting XLabelsSource instead of XLabelsValues!

Thanks
Clive