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.

Start drawing at xAxis

Thread ID:

Created:

Updated:

Platform:

Replies:

71163 Jan 18,2008 06:23 AM Jan 24,2008 04:10 AM Windows Forms 1
loading
Tags: Chart
Johnny
Asked On January 18, 2008 06:23 AM

Dear Support,

How can I fix line chart to starting drawing at start of the XAxis and end at the end of XAxis point?

Is it possible?

Regards,
Jonnny


Vishnu Kumar [Syncfusion]
Replied On January 24, 2008 04:10 AM

Hi Johnny,

I regret for the delayed response.

How can I fix line chart to starting drawing at start of the XAxis and end at the end of XAxis point?

You can draw the chat at start of the XAxis and end at the end of the XAxis point by setting the range of chart. Please refer the below code snippet which illustrates this:


[c#]
this.ChartWebControl1.PrimaryXAxis.RangeType = ChartAxisRangeType.Set;
this.ChartWebControl1.PrimaryXAxis.Range =new MinMaxInfo(0, 100, 20);

this.ChartWebControl1.PrimaryYAxis.RangeType = ChartAxisRangeType.Set;
this.ChartWebControl1.PrimaryYAxis.Range = new MinMaxInfo(0, 250, 50);


Please refer the sample in the below link which illustrates the above:

http://websamples.syncfusion.com//samples/Chart.Web/6.1.0.34/71163/main.htm

Please try running the above sample and let me know if this helps.

Regards,
Vishnu.



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.

;