Skip to content

azeier/De.TorstenMandelkow.MetroChart

Repository files navigation

Clone of "Modern UI (Metro) Charts for Windows 8, WPF, Silverlight": http://modernuicharts.codeplex.com/

###Relevant changes:

  • ChartSeries now has a BrushMember property, allowing the chart piece color to be set via data member rather than palette.

####Usage: Instead of setting a custom palette via the Palette property add a Brush member to the datapoint class used in the chart.

public class TestClass
{
    public string Category { get; set; }
    public int Number  { get; set; }
    public Brush Brush { get; set; } // <--
}

Then add that member to the ChartSeries xaml

<chart:ChartSeries
    SeriesTitle="Errors"
    DisplayMember="Category"
    ValueMember="Number"
    BrushMember="Brush" // <--
    ItemsSource="{Binding Path=Errors}" />

See Original documentation for reference.

About

Clone of "Modern UI (Metro) Charts for Windows 8, WPF, Silverlight"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages