Draw XXL documentation


public ChartDrawing(string chartName = null)

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

    void Start()
    {
        myChart = new ChartDrawing(); //execute the constructor
    }

    void Update()
    {
        //do stuff with the constructed chart:
        myChart.AddValue(myDataPointValue);
        myChart.Draw();
    }