I've included code and an image below. Now for the questions. Notice that the rectangle for the legend is displaying, but not the labels. Can you see the problem in my code? My tired eyes can't. Also, the first datapoint for the line chart is NULL, but I don't want it to plot as a zero value. I tried to define the LineChart.NullHandling as "DontPlot" but that did not work. Any ideas on this one? Thanks again!
make sure you set the Label property of each series, otherwise there will be nothing to display in the legend.
also, since this is a composite chart, you need to set the NullHandling property like this:
((LineChartAppearance)lineLayer.ChartTypeAppearance).NullHandling = DontPlot
I set the Label property of the three series, but the legend only displays the labels for the two column series, not the line series. The line series is on a separate layer, if that matters. See the image below. Can the series labels be disabled from displaying under each of the columns?
When I try setting the NullHandling property as you suggested, I get the following error message: Error 1 The name 'DontPlot' does not exist in the current context
Could I be missing a reference someplace?