
This example demonstrates the basic steps in creating pyramid charts.
- Create a PyramidChart object using PyramidChart.PyramidChart.
- Specify the center and radius of the pie using PyramidChart.setPyramidSize.
- Specify the data used to draw the pie using PyramidChart.setData.
- Add labels at the center of the pyramid layers using PyramidChart.setCenterLabel
- Generate the chart using BaseChart.makeChart.
- Pass the chart to the CChartViewer for display using CChartViewer.setChart (MFC version) or QChartViewer.setChart (Qt version), or generate the chart as an image file using BaseChart.makeChart (Command Line version).
- Generate tool tips for the chart using BaseChart.getHTMLImageMap (MFC/Qt version)