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.
Syncfusion Feedback

how to hide the starting (x,y) position in the chart

Thread ID:

Created:

Updated:

Platform:

Replies:

73631 May 13,2008 02:27 PM UTC May 23,2008 06:15 AM UTC Windows Forms 3
loading
Tags: Chart
Neethu Mol
Asked On May 13, 2008 02:27 PM UTC

I have the following,

this.chartControl1.PrimaryXAxis.Range = new MinMaxInfo(0, 120, 10);
this.chartControl1.PrimaryYAxis.Range = new MinMaxInfo(-100, 50, 20);

But I dont want to see the values -100(along Y axis) and 0(along X axis).Similary the end values, 50(along Y axis) and 120(along Xaxis)should not be visible.But the chart should start from the initial value(0,-100) and shold have the end value (120,50)but the value should not be visible in the graph.But all the other ranges should be visible.


Bhuvaneswari P [Syncfusion]
Replied On May 15, 2008 09:43 AM UTC

Hi Neethu,

Thank you for your interest in Syncfusion products.

If you want to hide starting and ending (x,y) position, then please use the HidePartialLabels PrimaryXaxis and PrimaryYAxis or ChartControl. By default the value is set to false.

Code Snippet:


this.chartControl1.PrimaryXAxis.HidePartialLabels = true;
this.chartControl1.PrimaryYAxis.HidePartialLabels = true;
or
this.chartControl1.HidePartialLabels = true;



Please try this and let me know if this helps you.

Best Regards,
Bhuvana



Neethu Mol
Replied On May 15, 2008 09:57 AM UTC

Thanks a lot!!!

Please find the attached chart.Here the topmost coordinate is (5,50). But i dont want to display the gridline for the 50(along Y axis) I just want the grid till 40 only.Rest should be left blank without showing the coordinate value, but the point should be plotted in the chart.


Bhuvaneswari P [Syncfusion]
Replied On May 23, 2008 06:15 AM UTC

Hi Neethu,

I couldn't find any attachment in your last post. Could you please resend it again.

Best Regards,
Bhuvana


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

;