Available in the Full Version

Sparkline > Bind Collection

This sample is designed for a larger screen size.


On mobile, try rotating your screen, view full size, or email to another device.

This is an example of rendering the igSparkline using the ASP.NET MVC helper. The helper binds to a collection of objects on the server and serializes the collection to JSON objects and renders the required igSparkline HTML and JavaScript.

Code View

Copy to Clipboard