C
#define ChShowSeries(pCh, seriesNum) (ChSetDataSeries(pCh, seriesNum, SHOW_DATA))
Overview
This macro sets the specified data series number show flag to be set to SHOW_DATA.
Input Parameters
Input Parameters |
Description |
pCh |
Pointer to the chart object. |
seriesNum |
The data series number that will be modified. If this number is zero, all the entries' flag in the list will be set to SHOW_DATA. |
Returns
Returns the same passed number if successful otherwise -1 if unsuccesful.
Preconditions
none
Side Effects
none
Example
// from the example in ChCreate() we change the items to be shown when // GOLDraw() is called. // reset all data series to be HIDE_DATA ChHideSeries(pMyChart, 0); // set data series 1 (V1Data) to be shown ChShowSeries(pMyChart, 1); // draw the chart GOLDraw(); .....
*