Hello
How can I put in a variable, the actual scale in use in the chart
Martin
Actual time scale: How to get the value
- TJ
- Posts: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
Re: Actual time scale: How to get the value
can you explain a bit more?Hello
How can I put in a variable, the actual scale in use in the chart
Martin
Resolve: Actual time scale: How to get the value
I created a new function called ScaleValue_Calc. It return the scale value in secondsHello
How can I put in a variable, the actual scale in use in the chart
Martin
Code: Select all
Input: Scalevalue (Numeric);
Var: TemPScaleValue (0);
Switch (bartype_ex) begin
Case = 2: //Minutes
TemPScaleValue = Scalevalue *60;
Case = 3://Hours
TemPScaleValue = Scalevalue *3600;
Case = 4://Days
TemPScaleValue = Scalevalue *86400;
Case = 5: //Week
TemPScaleValue = Scalevalue *604800;
Case = 9: //Seconds
TemPScaleValue = Scalevalue *1;
end; //Switch (bartype_ex) begin
ScaleValue_Calc = TemPScaleValue ;
Martin
Re: Actual time scale: How to get the value
See my following post. I need the value in second of the scale use in the displayed chartcan you explain a bit more?Hello
How can I put in a variable, the actual scale in use in the chart
Martin
Martin
- TJ
- Posts: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
Re: Actual time scale: How to get the value
Do you mean just to "write" the text on the chart?See my following post. I need the value in second of the scale use in the displayed chartcan you explain a bit more?Hello
How can I put in a variable, the actual scale in use in the chart
Martin
Martin