Login Page - Create Account

Support Board


Date/Time: Tue, 04 Mar 2025 06:46:35 +0000



Post From: Unable to set sc.ValueFormat

[2021-11-23 10:11:39]
User92573 - Posts: 547
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.