Class PieChart01

java.lang.Object
org.knowm.xchart.demo.charts.pie.PieChart01
All Implemented Interfaces:
ExampleChart<PieChart>

public class PieChart01 extends Object implements ExampleChart<PieChart>
Pie Chart with 4 Slices

Demonstrates the following:

  • Pie Chart
  • ChartBuilderPie
  • Setting Non-circular to match container aspect ratio
  • Legend outside south, with Horizontal Legend Layout