We don't have a recipe that would support this out of the box.
But you can search npm/github for a library that can do this and wire it to the jsreport in a custom jsreport script