Refactored graphs so that the model is part of separate class.
Refactored graphs so that the model is part of separate class.

jenkinsci/warnings-plugin,jenkinsci/warnings-plugin,jenkinsci/warnings-plugin