DATASERIES Structure

Microchip Graphics Library

Microchip Graphics Library
DATASERIES Structure
C
typedef struct {
  XCHAR * pSData;
  WORD samples;
  BYTE show;
  WORD * pData;
  void * pNextData;
} DATASERIES;
Overview

Defines a variable for the CHART object. It specifies the number of samples, pointer to the array of samples for the data series and pointer to the next data series. A member of this structure (show) is used as a flag to determine if the series is to be drawn or not. Together with the smplStart and smplEnd it will determine what kind of chart will be drawn.

Members
Members 
Description 
XCHAR * pSData; 
Pointer to the data series name. 
WORD samples; 
Indicates the number of data samples (or data points) contained in the array specified by pData. 
BYTE show; 
The flag to indicate if the data series will be shown or not. If this flag is set to SHOW_DATA, the data series will be shown. If HIDE_DATA, the data series will not be shown. 
WORD * pData; 
Pointer to the array of data samples. 
void * pNextData; 
Pointer to the next data series. NULL if no other data series follows. 
Microchip Graphics Library Version 3.06.02 - October 15, 2012
Copyright © 2012 Microchip Technology, Inc.  All rights reserved