25 void addVariable(std::string variableLabel,
float variableValue);
39 float getTotalValue(std::vector<float> vector);
40 void mouseMoved(
int x,
int y);
41 void arrangeOnCursor(
int index);
42 void showInfoOnCursor();
44 void arrangePieGraph();
45 void calculateLabelPositions();
47 std::vector<std::string> variablelabels;
48 std::vector<float> variablevalues;
49 std::vector<gColor> variablecolors;
51 std::vector<float> valuesdegree;
52 std::vector<float> valuespercentage;
53 std::vector<int> valuessides;
54 std::vector<int> othersindex;
55 std::vector<std::string> labelstr;
56 std::vector<int> labelx, labely;
57 std::vector<int> predictedoutputs;
58 std::vector<std::string> valuefortext;
59 std::vector<std::string> percentagefortext;
61 float radius, cursordegree, radiusreduction, oncursorcolorreduction, rotationforothers;
62 bool isFilled, isshown;
63 int numberofsidesratio, sideofothers, cursorx, cursory, infotextshift, showinfoindex, fontsize;
65 gColor outlinecolor, otherscolor, infotextcolor;
66 gFont fontforinfotext;
67 float additionallabely;
68 int widthhalf, heighthalf;
69 bool setPredictedOutputNameRequested;
void set(gBaseApp *root, gBaseGUIObject *topParentGUIObject, gBaseGUIObject *parentGUIObject, int parentSlotLineNo, int parentSlotColumnNo, int x, int y, int w, int h)