We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to display the summary values of the GridGroupingControl in the Essential Chart?

Platform: WinForms |
Control: GridGroupingControl |
Published Date: April 30, 2011 |
Last Revised Date: March 5, 2015
Tags: summaries, chart

Solution

The ranges and values of the Chart control are extracted from the values of the gridgroupingcontrol. In the sample, the minimum and maximum values are taken from the values in the group. When the groups or records change, the GroupedColumn_Changed and RecordValueChanged events are handled. An additional timer is added to delay the update slightly so that the summary value is available. The drawing of the Chart is done by the SetChartData method.

 

C#

 

VB

 

SetChartData() method

In this method, the properties of the Chart are set. Based on the Summary values of the GridGroupingControl, the Chart is drawn.

 

C#

 

VB

The following screenshot displays the summary value in the Chart.

Sample Links

GGCChart-C#1445073499.zip

GGCChart-VB1929825338.zip

2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon