render chart