I want to make a smooth and nice graph with no legend as it explains itself (the graph that is).
How can I hide it? I’ve tried the same approach as to making the plotarea transparent:
<charting:Chart.PlotAreaStyle>
<Style TargetType="Grid">
<Setter Property="Background" Value="Transparent" />
</Style>
</charting:Chart.PlotAreaStyle>
How can I hide the legend, in the same manner some way?
I found that I could hide the chart legend by setting the chart’s
LegendStyleto aStylesuch as the following:Oddly enough, setting the
VisibilitytoCollapseddoesn’t work – the legend still appears at runtime.