Login Page - Create Account

Support Board


Date/Time: Fri, 19 Apr 2024 15:27:45 +0000



can't get spaces in front of SCSubgraph's short name

View Count: 738

[2018-03-29 09:54:52]
MD236 - Posts: 28
Hi,

I'm not able to place space charaters into the subgraphs shortname to get a little space between a indicator line and the name
My code looks like this
SCSubgraphRef ibhigh = sc.Subgraph[0];
ibhigh.Name="IB-High";
ibhigh.ShortName=" IB-High";
It looks like the space characters are deleted after compiling.
If I do the same within the chart study configuration it works, how can I achive this in programming?

Thanks
Mario
[2018-03-29 18:27:18]
Sierra Chart Engineering - Posts: 104368
Not sure why this is a problem. Those spaces are not being trimmed from what we can tell.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2018-04-02 14:37:08]
MD236 - Posts: 28
Hi,

sorry, but the problem was on my side, I used the wrong cpp-file

Thanks
Mario

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account