Draw XXL documentation


public PieChartDrawing(string title = null)

The constructor of pie charts. For creating own charts when the premade charts from DrawCharts are not sufficient. Use it e.g. like in this code example:
		
    PieChartDrawing myPieChart;

    void Start()
    {
        myPieChart = new PieChartDrawing(); //execute the constructor
    }

    void Update()
    {
        //do stuff with the constructed chart:
        myPieChart.AddValue("first segment", myDataPointValue1);
        myPieChart.AddValue("second segment", myDataPointValue2);
        myPieChart.Draw();
    }