ChSetColorTable Macro

Microchip Graphics Library

Microchip Graphics Library
ChSetColorTable Macro
C
#define ChSetColorTable(pCh, pNewTable) ((((CHART *)pCh)->prm.pColor) = pNewTable)
Overview

This macro sets the color table used to draw the data in pie and bar charts.

Input Parameters
Input Parameters 
Description 
pCh 
Pointer to the object. 
pNewTable 
Pointer to the color table that will be used. 
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