Login Page - Create Account

Support Board


Date/Time: Sun, 19 May 2024 00:28:45 +0000



Post From: Float value truncated / simplified.

[2020-08-25 13:49:33]
User92573 - Posts: 491
I had considered using strings as that would have enabled me to truncate; switch; if/then; a series of statements to get the desired outcome. So, the information you provided was excellent and will be of great value as I move forwards.

The issue/failure I'm having with:

sc.ValueFormat = 2;
Is that even with:

Subgraph_ATR.DrawStyle = DRAWSTYLE_IGNORE;
Subgraph_ATR.DrawStyle = DRAWSTYLE_HIDDEN;
and

sc.ScaleRangeType = SCALE_INDEPENDENT;// or SCALE_AUTO;
I can only set

sc.ValueFormat = 2; // in
sc.GraphRegion = 1; // or that is, any region except 0 which given its hidden/ignored is where I wanted it.

Ideally, I didn't want another region below the main graph that needed to be closed down.

If you have any thoughts I'd be really interested.

PS I should add that although ACSIL will not allow me to set Region = 0 if I want to use "sc.ValueFormat = 2", I can manually select Graph Region 1 in settings after the study has been applied.
Just not via ACSIL.


Many thanks.
Date Time Of Last Edit: 2020-08-25 14:02:30