MPLAB® Harmony Graphics Suite
|
Structure: laPieChartWidget_t
A chart widget draws a chart of the specified origin and radius inside the widget bounds. All coordinates are expressed in local widget space.
The color of the chart is determined by the widget scheme's 'foreground' color.
typedef struct laPieChartWidget_t { laWidget widget; uint32_t startAngle; int32_t centerAngle; laArray pieArray; laBool labelsVisible; uint32_t labelsOffset; GFXU_StringTableAsset * stringTable; uint32_t labelsStringID; laPieChartWidget_PressedEvent pressedCallback; } laPieChartWidget;
Members |
Description |
laWidget widget; |
base widget header |
uint32_t startAngle; |
the start angle of the chart |
int32_t centerAngle; |
the center angle of the chart |
laArray pieArray; |
list of pie/data |
laBool labelsVisible; |
are labels visible |
uint32_t labelsOffset; |
offset of labels from center of pie |
GFXU_StringTableAsset * stringTable; |
string table |
uint32_t labelsStringID; |
ID of Superset string containing numbers |
None.
MPLAB® Harmony Graphics Suite
|