class flixel.system.debug.StatsGraph extends Sprite
Available on all platforms
This is a helper function for the stats window to draw a graph with given values.
var avgLabel:TextField
var curLabel:TextField
var graphColor:Int
var history:Array<Float>
var maxLabel:TextField
var maxValue:Float
var minLabel:TextField
var minValue:Float
function new(X:Int, Y:Int, Width:Int, Height:Int, GraphColor:Int, Unit:String, ?LabelWidth:Int = 45, ?Label:String = null):Void
function average():Float
function destroy():Void
function update(Value:Float, ?Average:Float = null):Void