public function reset()
    {
        $this->values = array();
        $this->xlabel = null;
        $this->ylabel = null;
        $this->labels = array();
        $this->titles = array();
        $this->xrange = null;
        $this->yrange = null;
        $this->title = null;
    }