|119228||May 26,2015 10:17 AM UTC||May 27,2015 08:24 AM UTC||Windows Forms||1|
Hi Fernando Atienza,
We have analyzed your query.
You can able to customize chart size by ChartAxisLayout. ChartAxisLayout is used to add multiple axes collection .Each axis depends on one or more series.
You can achieve your requirements by applying following code snippet
Code Snippet [WF]:
· Create ChartAxisLayout
ChartAxisLayout layout1 = new ChartAxisLayout();
ChartAxisLayout layout2 = new ChartAxisLayout();
Layout1 for SecondaryAxis (yaxis)
Layout2 for PrimaryYAxis
· Add axes to the ChartAxisLayout
· Set size of the layout as follows
layout1.Height =new System.Web.UI.WebControls.Unit("66%");
layout2.Height = new System.Web.UI.WebControls.Unit("34%");
· After completing above steps added these two layouts into chartControl.The chartControl has chart components.
We have prepared a sample based on your requirements ,you can download it from below sample link
Please let us know if you have any concern.
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.