Modeling the reusability of charts