CursorTool X Value
Posted: Fri Jun 27, 2014 11:18 am
Is there a way to set the X value of a CursorTool to default to a certain value?
I have a time series chart based on Date/Time on the bottom axis. When you add a Cursor, it's X position is in the middle of the graph - I'm hoping I can get it to be at the current Date/Time.
Code I am using is fairly basic:
var cursor=new Tee.CursorTool(Chart1);
cursor.direction="vertical";
cursor.vertAxis=null;
cursor.render="full";
Chart1.tools.add(cursor);
Kind regards
Mark
I have a time series chart based on Date/Time on the bottom axis. When you add a Cursor, it's X position is in the middle of the graph - I'm hoping I can get it to be at the current Date/Time.
Code I am using is fairly basic:
var cursor=new Tee.CursorTool(Chart1);
cursor.direction="vertical";
cursor.vertAxis=null;
cursor.render="full";
Chart1.tools.add(cursor);
Kind regards
Mark