All Components
Theme

Themes

    Sparklines / Basic usage

    Climate control history

    980mb
    21°C
    32%

    Temperature control

    Conditioner working time

    • MON
    • TUE
    • WED
    • THU
    • FRI
    • SAT
    • SUN

    Description

    A Sparkline is a very small chart, drawn without axes, coordinates, legend, title and other chart-specific elements. It behaves like an inline element (rendered inside a span) as opposed to the standard charts, which behave like block elements (rendered inside divs) so that it can be easily embedded in text.

    You can specify the sparkline type through the Type property: .Type(SparklineType.[Area|Bar|Bullet|Column|Line|Pie])

    ASP.NET MVC source

    Also available for:

    • index.cshtml
    • IndexController.cs

    Support & learning resources

    Sparklines for other technologies