Velocity chart - How to get status in the sprint

Hello,

I need to create a velocity chart in my jira plugin, but I don’t know how to mount it.
I’m trying to get by change-log, but it’s not similar to jira report.