modify chart and add setting-box