MultiGraphAddTag

 

The 'MultiGraphAddTag' function adds the specified tag to Multi-graph object.

 

void @MultiGraphAddTag(string class_name, string tag, long color, int value_type, int point_type, int line_thick, int axis_pos, int level_from, int level_to, int tag_disp_size, int reverse_y);

 

Parameters

string class_name : class name of Multi-graph object

string tag : tag (AI or DI)

long color : color of the graph (Use the 'RGB' function)

int value_type : value type of the graph (0 = average value, 1 = minimum value, 2 = maximum value, 3 = Integration Value, 4 = differentials value, 5 = Instantaneous Value)

int point_type : point type of the graph (0 = none, 1 = square, 2 = circle, 3 = triangle, 4 = rhombus, 5 = X mark, 6 = + mark, 7 = * mark)

int line_thick : line thickness of the graph

int axis_pos : gradation location (0 = none, 1 = left Y-axis, 2 = right Y-axis)

int level_from : gradation start-position in X-axis (%)

int level_to : gradation end-position in X-axis (%)

int tag_disp_size : tag character-length

int reverse_y : gradation direction (0 = from bottom to top, 1 = from top to bottom)

 

Return Value

none

 

Example

@MultiGraphClear("MultiGraph1");

@MultiGraphAddTag("MultiGraph1","TAG1", @RGB(255,0,0), 0, 0, 1, 1, 0, 100, 20, 0);

@MultiGraphAddTag("MultiGraph1","TAG2", @RGB(0,255,0), 0, 0, 1, 2, 0, 100, 20, 0);

@MultiGraphReLoad("MultiGraph1");

Description : All tag of 'MultiGraph1' is deleted. After 'TAG1' and 'TAG2' is added to 'MultiGraph1', the graph of 'MultiGraph1' is reloaded.

 

Reference

@MultiGraphClear()

@MultiGraphGetCursorData()

@MultiGraphGetDataSize()

@MultiGraphSetBackColor()

@MultiGraphSetBasicLevel()

@MultiGraphSetDataSize()