ChFreeDataSeries Function

Microchip Graphics Library

Microchip Graphics Library
ChFreeDataSeries Function
C
void ChFreeDataSeries(
    void * pObj
);
Overview

This function removes DATASERIES object from the list of DATASERIES objects and frees the memory used of that removed object.

Input Parameters
Input Parameters 
Description 
pCh 
Pointer to the chart object. 
Returns

none.

Preconditions

none

Side Effects

none.

Example
void ClearChartData(CHART *pCh) {
    if(pCh->pChData != NULL)
        // remove the all data series
        ChFreeDataSeries(pCh;
}
Microchip Graphics Library Version 3.06.02 - October 15, 2012
Copyright © 2012 Microchip Technology, Inc.  All rights reserved