Support Board
Date/Time: Wed, 05 Feb 2025 07:54:47 +0000
Post From: Problem with DRAWING_PARALLEL_LINES ?
[2015-07-07 16:19:25] |
wwwingman - Posts: 185 |
Hi, I am trying to draw parallels lines with ACSIL and have a problem. I use ACSIL to draw LINES, RAYS, PARALLEL RAYS. It works fine. Using the same code for drawing PARALLEL_LINES seem to have a problem. It draws parallel rays... Am I doing something wrong ? Simple code sample I use : s_UseTool Tool; Tool.Clear(); Tool.ChartNumber = sc.ChartNumber; Tool.Region = sc.GraphRegion; Tool.LineNumber = 230495038; Tool.DrawingType = DRAWING_PARALLEL_LINES; Tool.Color = COLOR_BLUE; Tool.LineWidth = 2; Tool.BeginIndex = 0; // same results with Tool.BeginDateTime = sc.BaseDateTimeIn[0]; Tool.BeginValue = sc.High[0]; Tool.EndIndex = sc.Index; // same results with Tool.EndDateTime = sc.BaseDateTimeIn[sc.Index]; Tool.EndValue = sc.High[sc.Index]; Tool.ThirdIndex = sc.Index; // same results with // Tool.ThirdDateTime = sc.BaseDateTimeIn[sc.Index]; Tool.ThirdValue = sc.Low[sc.Index]; Tool.AddMethod = UTAM_ADD_OR_ADJUST; sc.UseTool(Tool); -- W Date Time Of Last Edit: 2015-07-07 16:30:03
|