remove older rcharts_data function