telerik:RadialScale show incorrect tick for Logarithmic

4 posts, 0 answers
  1. yong
    yong avatar
    2 posts
    Member since:
    Dec 2010

    Posted 27 Jul 2011 Link to this post

    When i put following value , Logarithmic show correct tick
    RadialScale.min=1
    RadialScale.max=100
    RadialScale.IsLogarithmic=true
    RadialScale.LogarithmicBase=10

    But when I change the min value to 0.1, and max value to 10, it's middle value should be 1, Because the result of log 10 is: log10(0.1)=-1, Log10(1)=0,Log10(10)=1, but RadialScale didn't do that , it always show 1 on the left side,
    Also same for Min value = -0.01, max value = 100, RadialScale still show incorrect tick, looks it is a bug of RadialScale.

    Can you check that?

    Thanks!
  2. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 01 Aug 2011 Link to this post

    Hello Yong,

    The logarithmic scale works as designed. It has a different type than you describe. It stretches values of the scale near the minimum to detail small values. It represents any range as [0...log10(length of range)] instead of [log10(Min)...log10(Max)].

    Greetings,
    Andrey Murzov
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  3. DevCraft banner
  4. yong
    yong avatar
    2 posts
    Member since:
    Dec 2010

    Posted 23 Aug 2011 Link to this post

    Thanks for your reply, but I still couldn't solve the problem,can you just try following code in a gauge? 
    RadialScale.min=0.1
    RadialScale.max=10
    RadialScale.IsLogarithmic=true
    RadialScale.LogarithmicBase=10

    The minimum in the Radialscale is -1, maximum is 1, these is right in Radialscale, the center value should be 0,but it is not 0 in fact.
  5. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 26 Aug 2011 Link to this post

    Hi Yong,

    The exponential mode in RadGauge uses absolutely different approach to calculate scale value distribution. It is not the same as the one you are looking for.  

    Kind regards,
    Andrey Murzov
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Back to Top