Is some correct way to get Sparkline image?

I’ve found some way to get image of sparkline by printing one cell. I there some another way to get it?

Best regards. Alexey

@makarovalv,
Could you please elaborate bit more while sharing your template file for our analysis.