chart successfully imports 2d array values and draws chart accordingly