Products Downloads


French version


 

**

Declaration

NUM_BIN_4

NbSlices

/* Number of Pie slices

NUM_E(15,4)

ArrValues(10)

/* Value array

ALPHA(250)

ArrLegends(10)

/* Legend array

 

Program

* Context: a graphic list GRAPH_LST

* with 2 columns:

* - Name (ZZ_COL_NAME)

* - Number (ZZ_COL_NBR)

* Context: PIE object PIE_01

NbSlices = 0

read_lst GRAPH_LST:LIST

NbSlices = NbSlices + 1

ArrValues(NbSlices) = ZZ_COL_NBR

ArrLegends(NbSlices) = ZZ_COL_NAME

end_read_lst

call_method PIE_01 draw_data NbSlices ArrValues ArrLegends

 

Back

 

↑ Top of page

  • Aucune étiquette