ChSetPercentRange Function

Microchip Graphics Library

Microchip Graphics Library
ChSetPercentRange Function
C
void ChSetPercentRange(
    CHART * pCh, 
    WORD min, 
    WORD max
);
Overview

This function sets the minimum and maximum range of percentage that the bar chart will show. The criteria is that min <= max. This affects bar charts only and CH_PERCENTAGE bit state is set.

Input Parameters
Input Parameters 
Description 
CHART * pCh 
Pointer to the chart object. 
WORD min 
Minimum percentage value that will be displayed in the bar chart. 
WORD max 
Maximum percentage value that will be displayed in the bar chart. 
Returns

none.

Preconditions

none

Side Effects

none.

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