Fork of Modern UI (Metro) Charts WPF https://modernuicharts.codeplex.com/ with various bug fixes/enhancments
Bug fixes:
- You can now set 0 as starting percentage in
RadialGaugeChart - You can now safely set percentages to fractional values in
RadialGaugeChart - Fixed layout positioning of
PiePiecelabels
Enhancements
- Added
RadialPieceStyletoRadialGaugeChartalong with additionalPercentageFontSizeandPercentageSmallFontSizeproperties onRadialGaugePieceto make it more customizable. Sample usage:
<charts:RadialGaugeChart>
<charts:RadialGaugeChart.RadialPieceStyle>
<Style TargetType="charts:RadialGaugePiece" BasedOn="{StaticResource {x:Type charts:RadialGaugePiece}}">
<Setter Property="ClientHeight" Value="100" />
<Setter Property="ClientWidth" Value="100" />
<Setter Property="PercentageFontSize" Value="18" />
<Setter Property="PercentageSmallFontSize" Value="12" />
</Style>
</charts:RadialGaugeChart.RadialPieceStyle>
<charts:RadialGaugeChart>- Added
PiePieceStyletoPieChartalong with additionalValueFormatStringproperties onPiePieceto make it's labels more customizable. Sample usage:
<charts:PieChart>
<charts:RadialGaugeChart.PiePieceStyle>
<Style TargetType="charts:PiePiece" BasedOn="{StaticResource {x:Type charts:PiePiece}}">
<Setter Property="ValueFormatString" Value="n2" />
</Style>
</charts:PieChart.PiePieceStyle>
<charts:PieChart>- You can now customize
ItemsPanelTemplateonRadialGaugeChart. Sample usage:
<ResourceDictionary Source="pack://application:,,,/De.TorstenMandelkow.MetroChart;component/Themes/Generic.xaml"/><charts:RadialGaugeChart>
<charts:RadialGaugeChart.PlotterAreaStyle>
<Style TargetType="charts:PlotterArea" BasedOn="{StaticResource RadialGaugeChartPlotterAreaStyle}">
<Setter Property="DataPointItemsPanel">
<Setter.Value>
<ItemsPanelTemplate>
<UniformGrid Rows="1" />
</ItemsPanelTemplate>
</Setter.Value>
</Setter>
</Style>
</charts:RadialGaugeChart.PlotterAreaStyle>
</charts:RadialGaugeChart>