add chart for detail