Hi,
I have been working through the documentation, tutorials, and demos for the past day and I am running into problems with setting up a pie chart. I have databound the chart, and want the Legend labels to match the column name that I specified with the DataLabels property. After looking through the Product Line Sales example code, I discovered that this could be done by setting the LegendDisplayMode to ItemLabels on the Series Appearance properties window.
When I set LegendDisplayMode to ItemLabels, the designer appears to update like I expect - the Series name is replaced with a list (Item 1, Item 2, etc. see image 1 that I have attached). However, when I preview the report, the legend has reverted back to showing the Series name. Why is this happening? In addition, if I close the report and re-open, the designer displays the series name again (see image 2).
I have looked at the designer-generated code in the code-behind, and the LegendDisplayMode is still set to ItemLabels (image 3). What is happening? Am I overlooking a property? This should be very simple, and it appears to work perfectly in the Product Line Sales example!
Thanks,
Rob
I have been working through the documentation, tutorials, and demos for the past day and I am running into problems with setting up a pie chart. I have databound the chart, and want the Legend labels to match the column name that I specified with the DataLabels property. After looking through the Product Line Sales example code, I discovered that this could be done by setting the LegendDisplayMode to ItemLabels on the Series Appearance properties window.
When I set LegendDisplayMode to ItemLabels, the designer appears to update like I expect - the Series name is replaced with a list (Item 1, Item 2, etc. see image 1 that I have attached). However, when I preview the report, the legend has reverted back to showing the Series name. Why is this happening? In addition, if I close the report and re-open, the designer displays the series name again (see image 2).
I have looked at the designer-generated code in the code-behind, and the LegendDisplayMode is still set to ItemLabels (image 3). What is happening? Am I overlooking a property? This should be very simple, and it appears to work perfectly in the Product Line Sales example!
Thanks,
Rob