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

Regarding Line Chart

Thread ID:





74904 Jul 3,2008 08:16 AM UTC Jul 4,2008 07:47 AM UTC WinForms 2
Tags: Chart
Administrator [Syncfusion]
Asked On July 3, 2008 08:16 AM UTC


Is Anyone tell me How will i configure the difference between the Ticks on the x axis let say my axis start from 0 i want that in my all ticks on x axis must be 3.5 for eg. 0,3.5,7,10.5 and so on

one thing more that how it is possible that my X axis or Y axis configure according to date ,time,Percentage etc.what ever user select from the ListBox (See attached image)
for eg: if user select Percentage for Axis then it is shown on axis in percentage.
Please tell me Is it is Possible

I shall be thankful for you

Manohari [Syncfusion]
Replied On July 3, 2008 08:10 PM UTC

Hi Pankaj,

It is possible to Specify the axis values to start with 0 with Interval 3.5 using the ChartAxis.Range as given below.

Sample code:

this.chart.PrimaryXAxis.RangeType = ChartAxisRangeType.Set;
this.chart.PrimaryXAxis.Range = new MinMaxInfo(0, 28, 3.5);


this.chart.PrimaryXAxis.Range.Min = 0;
this.chart.PrimaryXAxis.Range.Max = 28;
this.chart.PrimaryXAxis.Range.Interval = 3.5;

I have attached the sample illustrating the same in this link below.


Please let us knwo if this meets your requirement.

Regarding your second query:

I am unable find the attachment in your previous update. Could you please reattach your Screenshot? SO that it will be more helpful for us to analyze and provide you with better solution at the earliest.

Thanks for your patience.


Administrator [Syncfusion]
Replied On July 4, 2008 07:47 AM UTC

hi pankaj regarding ur second query...

you can set ur axes to custom or datetime using the following property.

this.chartControl1.PrimaryXAxis.ValueType = ChartValueType.DateTime;

Thanks for using syncfusion product.


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.

Please sign in to access our forum

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

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