Quantcast
Channel: Modern UI (Metro) Charts for Windows 8, WPF, Silverlight
Viewing all articles
Browse latest Browse all 372

New Comment on "Documentation"

$
0
0
Instead we can create a ResourceDictionary Collection of colors and assign this Palette property of the chart. Ex: CREATING RESOURCE DICTIONARY ------------------------------------------ <chart:ResourceDictionaryCollection x:Key="MyColorPalette"> <ResourceDictionary> <SolidColorBrush x:Key="Brush1" Color="#FFFF2900" /> </ResourceDictionary> <ResourceDictionary> <SolidColorBrush x:Key="Brush2" Color="#FF1D97E3" /> </ResourceDictionary> </chart:ResourceDictionaryCollection> APPLYING PALETTE STYLE ------------------------------ <chart:PieChart x:Name="MyPieChart" Foreground="Black" Background="{x:Null}" Height="400" Width="500" Palette="{StaticResource MyColorPalette}"/>

Viewing all articles
Browse latest Browse all 372

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>