Knowledgebase:
ObjectSeriesSetValue
Posted by Mohammad Rahhal, Last modified by Rawan Al Hourani on 06 July 2017 03:25 PM

Syntax

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

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,value of type Long.
SeriesName Series key ,value of type String.
recordNumber Bars number,value of type Long.
NewValue New value to set series,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