Pie chart

<< Click to Display Table of Contents >>

Navigation:  Delphi HTML Report Library > Charts >

Pie chart

 

To generate pie chart set series type to “pie”.

Pie chart example:

 

<CHART width="800" height="400">
 <SERIES>
  <S type="pie" x="name" y="area">
 </SERIES>
 <SQL>
  select first 10 * from (
   select  * from country order by area desc
  )
 </SQL>
</CHART>

 

Result:

 

DELPHI~1_img10

 

Pie series may have an additional parameter donut - radius of the inner circle.

DELPHI~1_img11