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.
Unfortunately, activation email could not send to your email. Please try again.

Modifying the horizontal layout of a column chart

Thread ID:

Created:

Updated:

Platform:

Replies:

32853 Aug 9,2005 02:28 AM Aug 16,2005 11:46 AM Windows Forms 10
loading
Tags: Chart
Atanu Podder
Asked On August 9, 2005 02:28 AM

Hi, I would like to know is there a way to modify the horizontal layout a column chart. Modifying the horizontal layout such as: 1. modifying the gap between the Yaxis of the Chart and the First bar/point in the graph. 2. modifying the width of each of the bars/points in the graph. 3. modifying the positions of the bars/points in the Chart. Thanks, Atanu

Administrator [Syncfusion]
Replied On August 9, 2005 01:40 PM

Hi Atanu, Thank you for your interest in Essential Chart. I will describe the behavior for the questions you have asked with respect to the latest internal version of Essential Chart. I will also upload the latest assemblies so that you can test the behavior I am talking about. 1. The position of the first column: The position of the first column depends on the start value of the range and the value of the first position. In this image, the first column is drawn with one column (series 1) on the left of position 1 and one column (series 2) to the right of position 1 and the range starts at 0. 2. Width of each of the columns: The ColumnWidthMode property can be used to vary the width of each of the columns as desired. By defaut the width will be adjusted to fill the length of the x axis (with adjustments for the Spacing - see the next answer) In this image, the ColumnWidthMode is set to be second Y value for each point. 3. Space between the bars: This is specified through the ChartControl.Spacing property. 0 means no space and 100 means full space. In this image, the Spacing is set to be 0 (instead of the default 10). The sample and the assemblies are linked to below: F32853_ColumnChartSample_cs_6427.zip Thanks, Davis

Atanu Podder
Replied On August 11, 2005 02:55 AM

Hi, Davis, Thanks for the sample. But I am not able to run it in my local machine, errors I am getting 1. C:\F32853_ColumnChartSample_cs_6427\cs\licenses.licx Could not transform licenses file ''licenses.licx'' into a binary resource. (1) : error LC0003 : Unabled to resolve type ''Syncfusion.Core.Licensing.LicensedComponent, Syncfusion.Core'' 2.C:\F32853_ColumnChartSample_cs_6427\cs\FormMain.cs(108): The designer cannot process the code at line 108: this.chartControl1.Legend.ItemsTextAligment = Syncfusion.Windows.Forms.Chart.VerticalAlignment.Center; The code within the method ''InitializeComponent'' is generated by the designer and should not be manually modified. Please remove any changes and try opening the designer again. 3. C:\F32853_ColumnChartSample_cs_6427\cs\FormMain.cs(29): The type or namespace name ''ChartControl'' does not exist in the class or namespace ''Syncfusion.Windows.Forms.Chart'' (are you missing an assembly reference?) Please suggest me on that. Aslo I would like to know, whta do I need to do to use the new version of the assembly. Thanks, Atanu

Atanu Podder
Replied On August 11, 2005 03:00 AM

Hi, again, I feel that was some reference issue, some how I am able to resolve it, but the program runs but a PopUp comes up and says "Unable to grant license for DesignTime". Suggest me on that.

Atanu Podder
Replied On August 11, 2005 11:00 AM

What do I need to do, If I want to use this internal version of the Chart? Current version I m using is "2.1.0.42".

Atanu Podder
Replied On August 11, 2005 11:01 AM

Hi, Also I would like to know, when this version will be released?

Administrator [Syncfusion]
Replied On August 12, 2005 03:37 AM

Hi Atanu, Sorry for the delay in responding. The new version should be released within the next 24 hours. I will send you a note as soon as the build is available. Thanks, Davis

Atanu Podder
Replied On August 12, 2005 09:06 AM

Thanks, Davis, I will be looking forward to it.

Administrator [Syncfusion]
Replied On August 15, 2005 03:41 AM

Hi, Davis, I would like to know the status of the release that you have promised. ALSO I WOULD LIKE TO KNOW, HOW DO I MODIFY THE DISTANCE BETWEEN THE "ChartControl" BORDERS AND THE AXISES? FOR EXAMPLE , I NEED TO MODIFY THE DISTANCE BETWEEN THE LEFT BORDER OF THE "ChartControl" AND THE STARTING POINT OF THE X-AXIS AND ALSO THE DISTANCE BETWEEN THE RIGHT BORDER OF THE "ChartControl" AND THE END POINT OF THE X-AXIS. OR SIMILARLY THE DISTANCE BETWEEN THE BOTTOM BORDER OF THE "ChartControl" AND THE STARTING POINT OF THE Y-AXIS OR THE DISTANCE BETWEEN THE TOP BORDER OF THE "ChartControl" AND THE END POINT OF THE Y-AXIS. Thanks, Atanu

Administrator [Syncfusion]
Replied On August 15, 2005 06:07 PM

Hi Atanu, You can download the build from: ftp://syncpatch.syncfusion.com/essentialstudio/v3.3.0.0/syncfusionessentialstudiosetup.exe To adjust the space between the border of the control and the axis, use the ChartAreaMargins property. Thanks, Davis

Atanu Podder
Replied On August 16, 2005 11:46 AM

Hey, Davis, Thanks a lot for the help.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

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.

;