Hi,I am trying to add the printing functionality into XamDataChart control. Based on the article http://blogs.infragistics.com/wpf/articles/printing-the-xamdatagrid-with-infragistics-reports.aspx I can get the chart visuals in the print preview dialog. However it does not include the Legends nor it displays the x-Axis labels i.e. it does not attempt to fit the chart visuals.
Above is the actual chart while below is the print preview.
Thanks for your reply.I shall make the legend appear within the chart area and confirm if all works for me.What about the xAxis and its values please? Not sure if it relates to the legend position. Is there a way to enforce the Reporting component not to clip out anything.
Many Thanks
which container are you trying to print? Remember the chart legend is not inside the chart, so you will have to pass to the container of the chart + legend. You may also want to pick a fixed width for the legend or you may have to jump through some hoops to make sure everything is done adjusting its size before you send it to print.