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

Adjusting bottom padding on Y axis

Thread ID:

Created:

Updated:

Platform:

Replies:

62012 Jun 6,2007 12:19 PM UTC Jun 11,2007 05:21 AM UTC ASP.NET Web Forms (Classic) 2
loading
Tags: Chart
Nathan Dunn
Asked On June 6, 2007 12:19 PM UTC

In my attachment, how do I move all the bars down so they are sitting on top of the X axis? I've already set the PrimaryYAxis.Range.Min = 0 but this does nothing.

Thanks
Nathan

word_charts.aspx.zip

Rashidha F [Syncfusion]
Replied On June 7, 2007 04:04 AM UTC

Hi Nathan,

Thanks for using Syncfusion Products.

You can able to achieve your requirement using PrimaryYAxis.Min or PrimaryYAxis.ForeZero properties in ChartWebControl.

Please refer the following code snippet which illustrates how to set PrimaryYAxis minimum value as Zero.

//Set PrimaryYAxis Minimum Range Property.

this.ChartWebControl1.PrimaryYAxis.RangeType = ChartAxisRangeType.Set;
this.ChartWebControl1.PrimaryYAxis.Range.Min = 0;

//Set PrimaryYAxis ForeZero Property.

this.ChartWebControl1.PrimaryYAxis.ForceZero = true;

Please let me know if this helps.

Thanks and Regards,
Rashidha.

Nathan Dunn
Replied On June 11, 2007 05:21 AM UTC

Hi Rashidha

Works brilliantly, thanks for all your help.

Regards
Nathan

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.

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

;