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

facing a problem in syncfusion.windows.forms.chart

Thread ID:





65442 Jul 26,2007 09:20 AM UTC Jul 27,2007 01:29 PM UTC WinForms 1
Tags: Chart
Asked On July 26, 2007 09:20 AM UTC

Hi, i have a .net application in 1.1 version which is using 3.1 version of syncfusion.

Now i converted my 1.1 .net application to 2.0 and also upgraded from syncfusion 3.1 to 4.0.X.X.

In my application, I am using "syncfusion.windows.forms.chart" namespace and i have written a class which implements the "IChartAxisLabelModel" interface.

In the "IChartAxisLabelModel" interface, there is a method "GetLabelAt(int)" which returns a class type "chartaxislabel".

I am implementing the method "GetLabelAt(int)" in such a way that it returns a string instead of the class type "chartaxislabel".

Also I am trying to cast the string value that is returned by the method "GetLabelAt(int)" to a class type "chartaxislabel" but i get an error like this::

Error 1 'LabelModel' does not implement interface member 'Syncfusion.Windows.Forms.Chart.IChartAxisLabelModel.GetLabelAt(int)'. LabelModel.GetLabelAt(int)' is either static, not public, or has the wrong return type. C:\Projects\QI\Reports20\QIKeyerReport\ChartModel.cs 91 15

The reason I am returning a string is because i am retreiving a value from the database and assigning that as a value to a property.

Any help or work around in this would be highly appreciable..

thanks in advance,
venu puchakayala.

Golda Rebecal [Syncfusion]
Replied On July 27, 2007 01:29 PM UTC

Hi Venu,

Sorry for the delay in responding to you.

When you implement a method of an interface, the method implementation should have the exact same signature, parameters and method name, as defined in the interface.

Since you have changed the return type "ChartAxisLabel" to "String", the compilation error has occurred.

Could you please provide us with some more information with regard to your requirement, so that it would help us to meet your requirement exactly?

Thank you for your interest in Syncfusion products.

Best regards,


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