added basechartdata abstract class for charts js