CHARTPARAM Structure

Microchip Graphics Library

Microchip Graphics Library
CHARTPARAM Structure
C
typedef struct {
  XCHAR * pTitle;
  XCHAR * pSmplLabel;
  XCHAR * pValLabel;
  SHORT seriesCount;
  WORD smplStart;
  WORD smplEnd;
  WORD valMax;
  WORD valMin;
  WORD perMax;
  WORD perMin;
  GFX_COLOR * pColor;
  void * pTitleFont;
  void * pAxisLabelsFont;
  void * pGridLabelsFont;
} CHARTPARAM;
Overview

Defines the parameters for the CHART object.

Members
Members 
Description 
XCHAR * pTitle; 
Pointer to the Title of the chart. 
XCHAR * pSmplLabel; 
Pointer to the bar chart sample axis label. Depending 
XCHAR * pValLabel; 
Pointer to the bar chart value axis label. Depending 
SHORT seriesCount; 
Number of data series that will be displayed when chart is drawn. 
WORD smplStart; 
Start point of data sample range to be displayed (minimum/default value = 1) 
WORD smplEnd; 
End point of data sample range to be displayed. 
WORD valMax; 
Maximum value of a sample that can be displayed. 
WORD valMin; 
Minimum value of a sample that can be displayed. 
WORD perMax; 
Maximum value of the percentage range that can be displayed. 
WORD perMin; 
Minimum value of the percentage range that can be displayed. 
GFX_COLOR * pColor; 
Pointer to the color table used to draw the chart data. 
void * pTitleFont; 
Pointer to the font used for the title label of the chart. 
void * pAxisLabelsFont; 
Pointer to the font used for X and Y axis labels. 
void * pGridLabelsFont; 
Pointer to the font used for X and Y axis grid labels. 
Microchip Graphics Library Version 3.06.02 - October 15, 2012
Copyright © 2012 Microchip Technology, Inc.  All rights reserved