This is a migrated thread and some comments may be shown as answers.

Audiogram

5 Answers 101 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Deven
Top achievements
Rank 1
Deven asked on 08 Jun 2010, 12:51 PM
Hi,

I am trying to draw audiogram using charts. There are two specific requirements:
1 - The Y axis has range from -10 to 130 and it should show in reverse order i.e. -10 on top and 130 at the bottom.
2 - The X axis has fixed labels starting from 125, 250, 500, 750, 1000, 2000, 4000 ... upto 13000.
3 - If a ValuePoint is on 130 a different pointer needs to be displayed.

Can you please tell me how can I achieve this? I am attaching a snap shot of audiogram for your reference.

Thanks
Deven

5 Answers, 1 is accepted

Sort by
0
Vladimir Milev
Telerik team
answered on 14 Jun 2010, 08:51 AM
Hi Deven,

Unfortunately I believe it will be quite difficult to achieve this sort of very custom chart with RadChart out of the box. We sincerely apologize for the inconvenience.

Kind regards,
Vladimir Milev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Deven
Top achievements
Rank 1
answered on 17 Jun 2010, 03:11 PM
Is it possible to bind labels to a different field in the object, so that the chart is plotted using XValue and YValue but the axis labels are drawn from XLabel and YLabel of an object. Object here will be a custom class, with four fields, XValue, YValue, XLabel and YLabel.

I am trying to bind the chart to values starting from 1 to 15, but label the values as 1 = 130, 2 = 120... 14= 0 and 15 = -10.

Alos how can I plot a chart with fixed range, I want to keep my axis fixed from 1 to 15 with step of 1, irrespective to what values are returned.

Thanks
Deven
0
Vladimir Milev
Telerik team
answered on 22 Jun 2010, 08:17 AM
Hi Deven,

Yes it is possible to do both. You need to databind DataPoint.Label property using DataPointMemeber.Label. This will override the automatically generated label text.

Also you can specify an axis range via - AxisX.AutoRange=false, and then set Min, Max, Step values.

Sincerely yours,
Vladimir Milev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Deven
Top achievements
Rank 1
answered on 06 Jul 2010, 11:12 AM
Thanks for you reply.

Sorry if I confused you. But I would like to change the Axis label rather than data point member label. Is it possible to bind both xaxis and yaxis label to different field in the class? 

Thanks
Deven
0
Vladimir Milev
Telerik team
answered on 08 Jul 2010, 09:59 AM
Hello Deven,

The YAxis is strictly a numeric axis. Its items are determined by its range, which is usually automatically calculated based on your YValues. The XAxis can behave just like the YAxis - numerically or it can be a categorical axis. Check this help article for more info.

Kind regards,
Vladimir Milev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Chart
Asked by
Deven
Top achievements
Rank 1
Answers by
Vladimir Milev
Telerik team
Deven
Top achievements
Rank 1
Share this question
or