fix bug for table chart view