Vertical line
Posted: Fri Jun 02, 2023 1:23 am
now I want to create vertical lines ,i used CursorTool . this line is Control line
chart.xaxis is datetime .
i want cuTool.xvalue binding datatime For example cuTool.xvalue = datetime.now;
but cuTool.xvalue need double
can i use CursorTool to create vertical lines ?
If not, what can I do
Code: Select all
var cuTool =new Steema.TeeChart.Tools.CursorTool(tChart.Chart)
{
Style = CursorToolStyles.Vertical,
FollowMouse = false,
};
cuTool.Pen.Color = Color.Red;
cuTool.Pen.Visible = true;
i want cuTool.xvalue binding datatime For example cuTool.xvalue = datetime.now;
but cuTool.xvalue need double
can i use CursorTool to create vertical lines ?
If not, what can I do