Refactored to use high charts for graphs