Audiogram

6 posts, 0 answers
  1. Deven
    Deven avatar
    33 posts
    Member since:
    Apr 2009

    Posted 08 Jun 2010 Link to this post

    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

  2. Vladimir Milev
    Admin
    Vladimir Milev avatar
    1061 posts
    Member since:
    Sep 2012

    Posted 14 Jun 2010 Link to this post

    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.

  3. Download a free trial of UI for WPF
  4. Deven
    Deven avatar
    33 posts
    Member since:
    Apr 2009

    Posted 17 Jun 2010 Link to this post

    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

  5. Vladimir Milev
    Admin
    Vladimir Milev avatar
    1061 posts
    Member since:
    Sep 2012

    Posted 22 Jun 2010 Link to this post

    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

  6. Deven
    Deven avatar
    33 posts
    Member since:
    Apr 2009

    Posted 06 Jul 2010 Link to this post

    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

  7. Vladimir Milev
    Admin
    Vladimir Milev avatar
    1061 posts
    Member since:
    Sep 2012

    Posted 08 Jul 2010 Link to this post

    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

Back to Top
Download a free trial of UI for WPF