1
Vote

"WpfSimpleChart" legend label is displayed

description

Hi guys,

I can't hide the 'WpfSimpleChart' legend in the StackedColumnChart with or without the CHartLegentVisibility property.

I added the following nuget package in my project : https://www.nuget.org/packages/ModernUICharts/

Here's my code in case I do something wrong :

<chart:StackedColumnChart Name="columnSupplier"
                Style="{StaticResource MinimalChartStyle}"
                ChartTitle="Tendance Fournisseur GBNC"
                ChartSubTitle="Sur 12 mois"
                __ChartLegendVisibility="Hidden"__
                Background="White" Foreground="Black"
                Margin="20,0,0,0">
            <chart:StackedColumnChart.Series>
                <chart:ChartSeries DisplayMember="DateReleve" ValueMember="Percentage"
                                   ItemsSource="{Binding Path=AnalyticsSupplierEvolutionData}" />
            </chart:StackedColumnChart.Series>
        </chart:StackedColumnChart>
Thanks for the help

comments

julien_chable wrote Feb 23, 2016 at 12:31 AM

The "ChartLegendVisibility='Hidden" was to make it bold ... but it doesn't work ! Consider it without the leading and trailing '__'.