Support Board
Date/Time: Thu, 16 Jan 2025 00:58:35 +0000
Post From: custom text per bar
[2017-09-16 13:43:46] |
dtl-saw - Posts: 79 |
I'm trying to create custom text that will be placed above or below chart bars. I think the perfect way to do that is use sc.Subgraph array since it has persistent data built in and is highly optimized for speed by SC. If I use DRAWSTYLE_TEXT for the DrawStyle then the whole array uses the same text, but what I'd like to do is place custom (different) text under or over different bars on the chart. I've looked at all the other DRAWSTYLEs available and don't see one where you can do this. I've also looked at your scsf_BarNumbering study and you are accomplishing something like what I'm trying to do using s_UseTool DRAWING_TEXT which come with a lot of baggage for working with and maintenance and likely 100's times slower than sc.Subgraph arrays. So, is there a way to use sc.Subgraph array to do what I'm trying to do? If not, then can you suggest the best approach and if it's same as scsf_BarNumbering then I'll use that. Thanks |