Login Page - Create Account

Support Board


Date/Time: Sun, 19 May 2024 04:56:16 +0000



Post From: Display drawings from another chart

[2020-02-29 12:46:05]
maxpi - Posts: 175
sc.GetUserDrawnChartDrawing(sourceChart, DRAWING_RECTANGLE_EXT_HIGHLIGHT, DrawingObject, drawingIndex)

The above code, properly formatted, never returns a drawing so it's not a matter of how the drawings are mapped. The source chart has a different symbol but when I check off "show chart drawings for different symbols" drawings still do not show up. I would not think that a differing symbol would affect the above code's ability to get a drawing from another chart. My code that places the drawings uses Tool.BeginIndex instead of Begin.DateTime, that might affect the ability to transfer drawings using chart settings but not the above line of code...