Posted by Mohammad Rahhal, Last modified by Diana Alkouni on 02 September 2020 12:13 PM


Public Function SetChartScale(chart_id As Long,win As Long, maxVal As Double, minVal As Double) As Boolean


This function is used to change where the scale begins and ends based on the max and min values. The max value must be greater than min value. 


Key Description 
chart_ID Chart identifier, 0 is the current chart ,value of type Long
Win Panel Number ,value of type Long.
maxVal Max Scale value , value of type Double.
minVal Min Scale value, value of type Double.

Return value

Returns true If the function succeeds, ,otherwise it will be false. To get the detailed error information, call GetLastError().


Public Sub main()

Dim result

result = SetChartScale(0,0,500,200)

If not Cbool(result) Then

 AlertMessage "Tthe returned value is false .To get the detailed error information, call GetLastError()."

End If 

End Sub


See Also

Back to VTL Client Script Index

(0 vote(s))
Not helpful

Comments (0)
Post a new comment
Full Name:
CAPTCHA Verification 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions