[]
        
(Showing Draft Content)

C1.WPF.Pivot.FlexPivotChart

FlexPivotChart Class

Custom chart control for visualizing FlexPivot data.

Inheritance
FlexPivotChart
Namespace: C1.WPF.Pivot
Assembly: C1.WPF.Pivot.dll
Syntax
[TemplatePart(Name = "Root", Type = typeof(Grid))]
[TemplatePart(Name = "Chart", Type = typeof(FlexChart))]
[TemplatePart(Name = "Title", Type = typeof(TextBlock))]
public class FlexPivotChart : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IDisposable

Constructors

Name Description
FlexPivotChart()

Initializes a new instance of the FlexPivotChart class.

Fields

Name Description
ChartTotalsProperty

Identifies the ChartTotals dependency property.

ChartTypeProperty

Identifies the ChartType dependency property.

DataSourceProperty

Identifies the DataSource dependency property.

MaxPointsProperty

Identifies the MaxPoints dependency property.

MaxSeriesProperty

Identifies the MaxSeries dependency property.

PaletteProperty

Identifies the Palette dependency property.

ScrollPointsProperty

Identifies the ScrollPoints dependency property.

ShowGridLinesProperty

Identifies the ShowGridLines dependency property.

ShowLegendProperty

Identifies the ShowLegend dependency property.

ShowTitleProperty

Identifies the ShowTitle dependency property.

StackedProperty

Identifies the Stacked dependency property.

Properties

Name Description
ChartControl

Gets a reference to the inner C1Chart control.

ChartTitle

Gets or sets the title of the FlexPivotChart.

ChartTotals

Gets or sets whether the chart should include only totals.

ChartType

Gets or sets the type of chart to create.

DataSource

Gets or sets the FlexPivotPanel that provides the data for this FlexPivotChart.

IsDisposed

Gets whether this instance is disposed.

MaxPoints

Gets or sets the maximum number of points that will be shown in each series.

MaxSeries

Gets or sets the maximum number of data series that will be shown in the chart.

Palette

Gets or sets the C1.Chart.Palette that defines the colors used for the chart series.

ScrollPoints

Gets or sets whether the chart should display an axis scroll bar when the number of data points is greater than MaxPoints.

ShowGridLines

Gets or sets whether the chart should include gridlines along the X axis.

ShowLegend

Gets or sets whether the chart should include a legend.

ShowTitle

Gets or sets whether the chart should include a title.

Stacked

Gets or sets a value that determines whether the series should be stacked or placed side-by-side.

Methods

Name Description
ChartToCanvas(FlexPivotChart, Rect)
Dispose()
Dispose(bool)
Finalize()

Finalizes this instance of the FlexPivotChart class.

OnApplyTemplate()
ReadXml(string)

Reads the control settings from a file.

ReadXml(XmlReader)

Reads the control settings from an System.Xml.XmlReader.

UpdateChart()

Regenerates the chart using the current data.

WriteXml(string)

Saves the control settings into an Xml file.

WriteXml(XmlWriter)

Saves the control settings into an System.Xml.XmlWriter.