Login Page - Create Account

Support Board


Date/Time: Thu, 26 Jun 2025 13:58:34 +0000



Post From: Unable to set sc.ValueFormat

[2021-11-23 10:11:39]
User92573 - Posts: 566
Dear Support/Board

Can you provide any help with the sc.ValueFormat function.



if (sc.SetDefaults)
{
  sc.GraphName = "Study-Name";
  sc.GraphRegion = 0;
  sc.AutoLoop = 1; // auto-loop
  //sc.ValueFormat = 0; // should set to No decimal places. however, Value Format remains "inherited" until manually reset to = 1.
  sc.ValueFormat = VALUEFORMAT_1_DIGIT; // again this leaves the study Value Format "inherited" until manually reset to = 1.


}

Any help appreciated.