GraphDealer: refactor
GraphDealer: refactor

* move the "margin" calculations into `attachProfileData`, where it
  makes more sense
* use lodash helper to simplify the overall range calculation

refs Programming:#742 (.25)

NProfileAnalysisComputationalTool/npact,victor-lin/npact,NProfileAnalysisComputationalTool/npact,victor-lin/npact,victor-lin/npact,NProfileAnalysisComputationalTool/npact,NProfileAnalysisComputationalTool/npact,NProfileAnalysisComputationalTool/npact,victor-lin/npact,victor-lin/npact