Hiding the Chart Legend

To programatically hide the chart legend you can do the following:

Add name to the legend in xaml and then you can change its visibility in code: legend.Visibility = ...

<c1chart:C1Chart x:Name="chart" >

    <c1chart:C1ChartLegend x:Name="legend"  />

    ...

 </c1chart:C1Chart>


Send us comments about this topic.
Copyright © GrapeCity, inc. All rights reserved.