Login Page - Create Account

Support Board


Date/Time: Thu, 16 Jan 2025 00:17:57 +0000



sc.ValueFormat = 40???

View Count: 1008

[2017-09-30 15:22:35]
@sstfrederik - Posts: 405
HI,

I have a custom study with sc.GraphRegion = 0; in the defaults block. The sc.ValueFormat should than be inherited from the chart settings.

When I use sc.ValueFormat later to format a string I find that sc.Valueformat equals 40 while I expect 5.

Any pointers to what I might have missed?

Frederik

edit:
used sc.BaseGraphValueFormat instead. All fine for my use case.
Date Time Of Last Edit: 2017-09-30 15:57:22
[2017-09-30 22:49:12]
Sierra Chart Engineering - Posts: 104368
This is from SCConstants.h:
VALUEFORMAT_INHERITED = 40
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

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

Login

Login Page - Create Account