update NVD3Chart class