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

PrimaryXAxis Labels

Thread ID:

Created:

Updated:

Platform:

Replies:

53703 Dec 19,2006 10:43 AM UTC Dec 19,2006 03:11 PM UTC ASP.NET Web Forms (Classic) 2
loading
Tags: Chart
Lucie
Asked On December 19, 2006 10:43 AM UTC

Hello

I try to use the "Labels" property for my X axis, but I can't do it.

I have these points for example :
(0, 10)
(1, 20)
(2, 30)

I do :

Me.Graph.PrimaryXAxis.Labels.Clear()
label = New ChartAxisLabel("toto")
Me.Graph.PrimaryXAxis.Labels.Add(label)
label = New ChartAxisLabel("tata")
Me.Graph.PrimaryXAxis.Labels.Add(label)
label = New ChartAxisLabel("tutu")
Me.Graph.PrimaryXAxis.Labels.Add(label)

and it doesn't work, I get "0", "1", "2" on my axis. Any idea ?

Thanks for your help.

Lucie
Replied On December 19, 2006 10:55 AM UTC

Sorry, I've found : I've to set the "ValueType" property with "ChartValueType.Custom".

Administrator [Syncfusion]
Replied On December 19, 2006 03:11 PM UTC

Hi Lucie,

We are glad to hear that the issue is resolved by you.

Please open new forums if you have any further questions.

Thanks for choosing Syncfusion products.

Best Regards,
Sureshbabu

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

;