WPF Modern UI Chart Xaml Chart Title style

1

I have the chart below and I would like to change the font size for the ChartTitle property, if possible by xaml.

In the chart class I can change the font size of the series through the chart.FontSize property, but I did not find a method to change the ChartTitle.

<chart:ClusteredColumnChart
    x:Name="chtComparativaAtual"
    Style="{StaticResource MinimalChartStyle}"
    ChartTitle="Evolução Comparativa (Atual)"  
    Background="White"
    Foreground="#444444"
    Grid.Row="1"    
    Grid.Column="1"
    Width="auto"
    Height="400"
    Palette="{StaticResource Cores}" 
    ChartSubTitle="" 
    ScrollViewer.HorizontalScrollBarVisibility="Visible"
    >
    <chart:ClusteredColumnChart.Resources>
        <Style TargetType="chart:ColumnPiece">
            <Setter 
            Property="Margin" 
            Value="4,0"
            />
        </Style>
    </chart:ClusteredColumnChart.Resources>

    <chart:ClusteredColumnChart.Series>
        <chart:ChartSeries
            x:Name="dcComparativaAtual"              
            DisplayMember="Categoria"
            ValueMember="Valor"
            Foreground="White"
            SeriesTitle="Pendências"
            Width="auto"
            />
    </chart:ClusteredColumnChart.Series>

</chart:ClusteredColumnChart>

ChartTitle properties:

chtComparativaAtual.ChartTitle
chtComparativaAtual.ChartTitleStyle

ChartTitle: string ChartTitleStyle: System.Windows.Style ChartBase.ChartTitleStyle

    
asked by anonymous 14.02.2017 / 19:45

0 answers