ChGetPercentRange Macro

Microchip Graphics Library

Microchip Graphics Library
ChGetPercentRange Macro
C
#define ChGetPercentRange(pCh) (pCh->prm.perMax - pCh->prm.perMin)
Overview

This macro gets the percentage range for bar charts. The value returned is calculated from percentage max - min. To get the minimum use ChGetPercentMin() and to get the maximum use ChGetPercentMax().

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

Percentage range computed from max-min.

Preconditions

none

Side Effects

none.

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