PieChart::setSlices() is only used within TouchGFX.
 
Symbols
loading...
Files
loading...

PieChart::setSlices() method

@fn void PieChart::setSlices(int newShares[NUM_ITEMS]); Sets the sizes of the slices. Set the sizes of the slices that make up the pie chart. Each value in the array should be >0. Each slice is sized relative to the other values in the pie chart.

Syntax

void setSlices(int newShares[NUM_ITEMS]);
Implemented in PieChart.cpp:50

Arguments

newShares

The new shares.

Notes

The PieChart is not redrawn.

References

LocationText
PieChart.cpp:50
void PieChart::setSlices(int newShares[NUM_ITEMS])
PieChart.hpp:80
void setSlices(int newShares[NUM_ITEMS]);

Data Use

Data read by PieChart::setSlices()
Data written by PieChart::setSlices()
PieChart::setSlices()::i
all items filtered out
PieChart::setSlices()
PieChart::setSlices()::i
all items filtered out