Defines the Pivot control which provides data for the chart.
Remarks
Property specifies the Pivot control from which the data and the chart definition will be received. When chart is implemented through pivot control there is no need to create chart definition. There is no need to create any series, define any axis or other chart feature. Pivot control is selected from a list containing all pivot controls located on the current MxPart component.
Members displayed on each axis are determined with the definition of Pivot control. The same configuration created for pivot goes for the chart. Chart is automatically drawn with the selection of data in pivot. Every data selected in pivot is immediately displayed in the chart. This brings huge possibilities in creating any kind of chart from available data. Of course once the chart is created it can be exported to numerous formats such as HTML, PDf, image, excel, etc.
Example (MxSpace)
To see the defined DrillDownProvider property on a control (ChartViewer) open MxSpace solution project in Visual Studio. In Solution Explorer expand node Parts and double click WorkOrderAnalysisPart.cs. Click the chart viewer control and open Property Window. See the value pivot1 defined in DrillDownProvider property.
To define DrillDownProvider property
- In Solution Explorer open MxPart component (WorkOrderAnalysisPart) which contains control (ChartViewer) for displaying a chart.
- Select the desired control (ChartViewer) on the canvas.
- Open Property Window.
- In section Data in DrillDownProviderr property select the pivot control used to retrieve data and chart design definitions (pivot1).
MxPart
Chart