ObjectSeriesSetValue
Posted by Mohammad Rahhal, Last modified by Diana Alkouni on 07 September 2020 12:54 PM

Syntax

Public Function ObjectSeriesSetValue(chart_ID As Long, SeriesName As String, recordNumber As Long, NewValue As Double)As Boolean

Description

This function is used to set the value for specific series in the chart.

Parameters

Key Description 
chart_ID Chart identifier, 0 mean the current chart, the value of type Long.
SeriesName The series key, the value of type String.
recordNumber Bars number, the value of type Long.
NewValue The new value to set series, the value of type Double.


Return value

Returns true if successful, otherwise, it returns false. To read more about the error call GetLastError() function.

Sample

 Public Sub main ()  

 AlertMessage ObjectSeriesSetValue (0,"SeriesName", Bars (0), 20)
 
End sub

See Also


Back to VTL Client Script Index

(1 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
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