Skip to content
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
Binary file added 3DChartsInSpreadsheet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
# how_to_add_3d_charts_in_spreadsheet_control
This example demonstrates how to add 3D charts in Spreadsheet control.
# How to Add 3D Charts in WPF Spreadsheet?

KB article - [how_to_add_3d_charts_in_spreadsheet_control](https://www.syncfusion.com/kb/10876/how-to-add-3d-charts-in-sfspreadsheet-control)
This example demonstrates how to add 3D charts in [WPF Spreadsheet](https://www.syncfusion.com/wpf-controls/spreadsheet) (SfSpreadsheet).

To enable the Spreadsheet for rendering 3D charts when importing Excel sheet, register [Graphic3DChartCellRenderer](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.SpreadsheetHelper.Graphic3DChartCellRenderer.html) by using [Add3DGraphicChartCellRenderer](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.GraphicCellHelper.html#Syncfusion_UI_Xaml_Spreadsheet_GraphicCells_GraphicCellHelper_Add3DGraphicChartCellRenderer_Syncfusion_UI_Xaml_Spreadsheet_SfSpreadsheet_Syncfusion_UI_Xaml_Spreadsheet_GraphicCells_IGraphicCellRenderer_) method of spreadsheet.

``` csharp
//To render 3D charts in SfSpreadsheet control.
this.spreadsheetControl.Add3DGraphicChartCellRenderer(new Graphic3DChartCellRenderer());
```

![Image showing spreadsheet with 3D charts](3DChartsInSpreadsheet.png)

Take a moment to peruse the [WPF Spreadsheet - Getting Started](https://help.syncfusion.com/wpf/classic/spreadsheet/getting-started) documentation, where you can find about spreadsheet with code examples.