Functions | |
D4D_BOOL | D4D_GraphAddTraceData (D4D_OBJECT_PTR pObj, D4D_INDEX trace_ix, D4D_GRAPH_VALUE value) |
The function add new data to one trace. More... | |
void | D4D_GraphAddTracesData (D4D_OBJECT_PTR pObj, D4D_GRAPH_VALUE *pValues) |
The function add new data to all traces. More... | |
void | D4D_GraphClearAll (D4D_OBJECT_PTR pObj) |
The function clears all internal data of graph object. More... | |
LWord | D4D_GraphGetSampleIndex (D4D_OBJECT_PTR pObj) |
The function returns the current data sample index. More... | |
D4D_COOR | D4D_GraphGetSizeX (D4D_OBJECT_PTR pObj) |
The function returns the size of graph traces in axis X. More... | |
D4D_BOOL | D4D_GraphSetScaleX (D4D_OBJECT_PTR pObj, Byte mul, Byte div) |
Function sets the new scale of axis X of the graph. More... | |
D4D_BOOL | D4D_GraphSetDataWidth (D4D_OBJECT_PTR pObj, D4D_INDEX samples) |
Function sets the new scale of the axis X of the graph. More... | |
This section specifies the exact usage for each API function.
D4D_BOOL D4D_GraphAddTraceData | ( | D4D_OBJECT_PTR | pObj, |
D4D_INDEX | trace_ix, | ||
D4D_GRAPH_VALUE | value | ||
) |
The function add new data to one trace.
pObj | - pointer to graph object |
trace_ix | - index of trace to add data |
value | - new data to trace |
Definition at line 592 of file d4d_graph.c.
void D4D_GraphAddTracesData | ( | D4D_OBJECT_PTR | pObj, |
D4D_GRAPH_VALUE * | pValues | ||
) |
The function add new data to all traces.
pObj | - pointer to graph object |
pValues | - array of new data for all traces (it should has same lenght as is traces count) |
Definition at line 655 of file d4d_graph.c.
void D4D_GraphClearAll | ( | D4D_OBJECT_PTR | pObj | ) |
The function clears all internal data of graph object.
pObj | - pointer to graph object |
Definition at line 694 of file d4d_graph.c.
LWord D4D_GraphGetSampleIndex | ( | D4D_OBJECT_PTR | pObj | ) |
The function returns the current data sample index.
pObj | - pointer to graph object |
Definition at line 711 of file d4d_graph.c.
D4D_COOR D4D_GraphGetSizeX | ( | D4D_OBJECT_PTR | pObj | ) |
The function returns the size of graph traces in axis X.
pObj | - pointer to graph object |
Definition at line 722 of file d4d_graph.c.
D4D_BOOL D4D_GraphSetDataWidth | ( | D4D_OBJECT_PTR | pObj, |
D4D_INDEX | samples | ||
) |
Function sets the new scale of the axis X of the graph.
pObj | - pointer to graph object |
samples | - a count of samples shown on the graph |
Definition at line 764 of file d4d_graph.c.
D4D_BOOL D4D_GraphSetScaleX | ( | D4D_OBJECT_PTR | pObj, |
Byte | mul, | ||
Byte | div | ||
) |
Function sets the new scale of axis X of the graph.
pObj | - pointer to graph object |
mul | - multiplier of the scale of axis X |
div | - divider of the scale of axis X |
Definition at line 738 of file d4d_graph.c.