Skip to main content
.NET Framework 4.6.2+
  • The page you are viewing does not exist in the .NET 8.0+ platform documentation. This link will take you to the parent topic of the current section.

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ASPxPivotGridListEditor.ChartControlContainer Property

Gets the container of the ASPxPivotGridListEditor.ChartControl

Namespace: DevExpress.ExpressApp.PivotGrid.Web

Assembly: DevExpress.ExpressApp.PivotGrid.Web.v24.2.dll

NuGet Package: DevExpress.ExpressApp.PivotGrid.Web

#Declaration

public ResizableControlContainer ChartControlContainer { get; }

#Property Value

Type Description
DevExpress.ExpressApp.Web.Controls.ResizableControlContainer

A ResizableControlContainer object that specifies the container of the ASPxPivotGridListEditor.ChartControl.

#Remarks

Use this property to manage the size of the chart control displayed with the pivot grid. For instance, the following Controller customizes the minimal height that the chart control may occupy.

using DevExpress.ExpressApp;
using DevExpress.ExpressApp.PivotGrid.Web;
// ...
public class CustomizePivotChartMinHeightController : ViewController {
    public CustomizePivotChartMinHeightController() {
        TargetViewType = ViewType.ListView;
    }
    protected override void OnActivated() {
        base.OnActivated();
        ASPxPivotGridListEditor editor = ((ListView)View).Editor as ASPxPivotGridListEditor;
        if (editor != null) {
            editor.ControlsCreated += editor_ControlsCreated;
        }
    }
    void editor_ControlsCreated(object sender, EventArgs e) {
        ((ASPxPivotGridListEditor)sender).ChartControlContainer.MinHeight = 800;
    }
}
See Also