How to Print the PivotChart

9 Dec 20191 minute to read

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();
    
    }