ChGetValueRange Macro

Microchip Graphics Library

Microchip Graphics Library
ChGetValueRange Macro
C
#define ChGetValueRange(pCh) (pCh->prm.valMax - pCh->prm.valMin)
Overview

This macro gets the current range for bar charts. The value returned is calculated from the current (valMax - valMin) set. To get the minimum use ChGetValueMin() and to get the maximum use ChGetValueMax().

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

Value range computed from valMax-valMin.

Preconditions

none

Side Effects

none.

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