Skip to content

Updated Content for Pivot chart #1115

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: development
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion WindowsForms/Pivot-Chart/Drill-UpDown-Level.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ documentation: ug

# Drill Operations in Windows Forms Pivot Chart

Through expanders, you can drill down to the next level of hierarchy and drill up to the previous level. The pivot chart has built-in support to drill up and down the PivotSeries population. This behavior can be achieved by enabling the `AllowDrillDown` property.
Pivot charts with expanders efficiently navigate hierarchical data through drill-down and drill-up capabilities, allowing for detailed exploration or aggregated overviews. Users can transition from broad summaries, such as annual sales, to detailed trends like quarterly, monthly, or daily data, revealing valuable insights. The drill-up function helps users return to higher summary levels for comprehensive context.

This feature is activated via the `AllowDrillDown` property in the pivot chart control. By toggling this property, developers enable intuitive navigation across PivotSeries, facilitating smooth transitions between data levels. It ensures flexible data analysis, providing access to both necessary details and summaries.

{% highlight c# %}

Expand Down
8 changes: 5 additions & 3 deletions WindowsForms/Pivot-Chart/Export.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ documentation: ug

# Exporting in Windows Forms Pivot Chart

You can export pivot data to Microsoft Excel. The exported data interaction is enabled in the Excel.
The Windows Forms Pivot Chart offers the capability to export pivot data to Microsoft Excel, facilitating an interactive data exploration experience within Excel.

To export the data, you can use the `ExcelExport` class, as demonstrated in the example below. By configuring export settings such as the Excel version and the desired chart type, the export operation can be executed seamlessly.

Below is a guide to performing the export:

{% highlight c# %}

Expand All @@ -26,5 +30,3 @@ Dim excelExport As New ExcelExport(Me.pivotChart1, Syncfusion.XlsIO.ExcelVersion
excelExport.Export(saveDialog.FileName)

{% endhighlight %}

Sample: &lt;InstalledLocation&gt;\Syncfusion\EssentialStudio\<InstalledVersion>\Windows\PivotChart.Windows\Samples\Exporting\PivotChartExport Demo\CS
10 changes: 4 additions & 6 deletions WindowsForms/Pivot-Chart/FAQ/How-to-Print-the-PivotChart.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
---
layout: post
title: How to Print the PivotChart | Windows Forms | Syncfusion
description: How to Print the PivotChart
description: How to Print in the Syncfusion Windows Forms Pivot Chart control that allows users to generate a copy of the chart.
platform: windowsforms
control: PivotChart
documentation: ug
---

# 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.

{% highlight C# %}

The pivot chart control includes built-in functionality for printing pivotal data, making it easy to create hard copies of charts. This is achieved using the Print method provided by the PrintDocument extension of the pivot chart component.

To print the pivot chart, you can follow these steps using a print dialog:

{% highlight C# %}



PrintDialog printDialog1 = new System.Windows.Forms.PrintDialog();

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: post
title: How to enable drill down in PivotChart | Windows Forms | Syncfusion
description: How to enable drill down in PivotChart
description: How to enable drill down in Syncfusion WinForms Pivot Chart to explore hierarchies by expanding and collapsing levels interactively.
platform: windowsforms
control: PivotChart
documentation: ug
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
---
layout: post
title: How to set color pallette for chart | Windows Forms | Syncfusion
description: How to set the Color Palette for a Chart
description: How to set the color palette in Syncfusion WinForms Pivot Chart using the CustomPalette property to customize chart series colors.
platform: windowsforms
control: PivotChart
documentation: ug
---

# How to set the Color Palette for a Chart

Custom color Palette can be specified in PivotChart by using the CustomPalette color collection.
Setting a custom color palette for a PivotChart allows you to tailor its visual appearance to better match your application's design or to emphasize specific data points. You can achieve this by specifying colors in the `CustomPalette` property.

Here’s how you can set a custom color palette using C#:
{% highlight C# %}


Expand All @@ -20,7 +21,7 @@ Custom color Palette can be specified in PivotChart by using the CustomPalette c
this.pivotChart1.CustomPalette = new System.Drawing.Color[] {System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(203)))), ((int)(((byte)(216))))),System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(209)))), ((int)(((byte)(248))))),System.Drawing.Color.FromArgb(((int)(((byte)(250)))), ((int)(((byte)(155)))), ((int)(((byte)(155)))))};
{% endhighlight %}


Here’s how you can set a custom color palette using VB.NET:
{% highlight vbnet %}


Expand Down
4 changes: 2 additions & 2 deletions WindowsForms/Pivot-Chart/Zooming-and-Scrolling.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ documentation: ug

# Zooming and Scrolling in Windows Forms Pivot Chart

You can zoom and scroll the pivot chart. Zooming can be enabled for single or both axes.
The pivot chart control in Windows Forms offers functionality for zooming and scrolling, which enhances the interactivity and usability of visual data presentations. Users can focus on specific data points by zooming into the chart along a single axis or both axes, enabling detailed analysis without distractions from the broader dataset.

Sample: <InstalledLocation>\ Syncfusion\EssentialStudio\<InstalledVersion>\Windows\PivotChart.Windows\Samples\Zooming and Scrolling\Zooming and Scrolling\CS
This interactivity is achieved by configuring the chart to support zoom operations. Zooming can be selectively enabled for the x-axis, y-axis, or both, depending on the type of data visualization required. This flexibility allows users to examine trends, outliers, and patterns within their data with precision.