Represents a form which can be used to create and modify chart objects within a worksheet.
Namespace: MindFusion.Spreadsheet.Wpf.StandardForms
Assembly: MindFusion.Spreadsheet.Wpf.StandardForms
C# Copy Code |
---|
public class ChartForm : Window, IComponentConnector |
Visual Basic Copy Code |
---|
Public Class ChartForm |
This form can be used to insert new or edit existing Chart objects in a Worksheet. To use the form, create an instance of the ChartForm class, by providing the related worksheet or the chart to edit, and call the ShowDialog method. The changes made through the form are automatically applied to the target chart. The following image displays the chart form:
The code below demonstrates how to display the chart form for an existing Chart object.
C# Copy Code |
---|
var form = new ChartForm(worksheet, chart); |
Visual Basic Copy Code |
---|
Dim form As New ChartForm(worksheet, chart) |
System.Object
System.Windows.Threading.DispatcherObject
System.Windows.DependencyObject
System.Windows.Media.Visual
System.Windows.UIElement
System.Windows.FrameworkElement
System.Windows.Controls.Control
System.Windows.Controls.ContentControl
System.Windows.Window
MindFusion.Spreadsheet.Wpf.StandardForms.ChartForm