Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Sparkline control for WPF and Silverlight
C#
branch: master

Sparkline is a custom control (rather than a user control), and added…

… LineChart to contain many sparklines.

- Cleaned up demo a bit, added ChartAdornmentBehavior instead of having it in the demo itself.
- KNOWN BUG: LineCharts with multiple sparklines do not scale uniformly.
latest commit ce45a39ef8
@jschementi authored

README.md

Sample Usage

XAML:

<schementi:Sparkline x:Name="MySparkline" />

Add values:

this.MySparkline.AddTimeValue(double);

The implementation is very basic; Sparkline.AddTimeValue constructs a point at the next time interval and adds it to a Polyline. You can control everything about the line's visuals, including adding visible points along the line and showing horizontal lines for the latest/highest/lowest values.

The source builds assemblies for both .NET 4.0 and Silverlight 4.

Something went wrong with that request. Please try again.