Dynamic chart size logic pushed