ChSetSampleLabel Macro

Microchip Graphics Library

Microchip Graphics Library
ChSetSampleLabel Macro
C
#define ChSetSampleLabel(pCh, pNewXLabel) (((CHART *)pCh)->prm.pSmplLabel = pNewXLabel)
Overview

This macro sets the address of the current text string used for the sample axis label of the bar chart.

Input Parameters
Input Parameters 
Description 
pCh 
Pointer to the object. 
pNewXLabel 
pointer to the string to be used as an sample axis label of the bar chart. 
Returns

none.

Preconditions

none

Side Effects

none

Example

See ChCreate() example.

Microchip Graphics Library Version 3.06.02 - October 15, 2012
Copyright © 2012 Microchip Technology, Inc.  All rights reserved