smart responsive chart