refactoring
refactoring service
detail chart view