How to Print the PivotChart

The PivotChart has in-built support to print the pivotal data. This can be achieved by using the Print method available in the PrintDocument extension of PivotChart component.

  • c#
  • PrintDialog printDialog1 = new System.Windows.Forms.PrintDialog();
    
     
    
    printDialog1.Document = this.pivotChart1.PrintDocument;
    
    if (printDialog1.ShowDialog() == DialogResult.OK)
    
    {
    
      this.pivotChart1.PrintDocument.Print();
    
    }