or
Me.SalesUnitChart.Printing.PrintDocument.DefaultPageSettings.Landscape = True
Me.SalesUnitChart.Printing.PrintChart(Telerik.WinControls.UI.ChartPrintOptions.ShowPrintPreviewDialog)
Me.SalesUnitChart.Printing.PrintDocument.Dispose()
Me.SalesUnitChart.Printing.Dispose()
This code works fine. However, if the user regenerates the chart with different data, it allways displays the 1st rendering of the chart, even if the datasource for the chart has changed. The chart appears correct on the screen, but the view in Print Preview is allways the first chart.
Is there a method that I need to call to clear the first rendered graphic, and get a new one?
Thanks.