Graph SpacingSlotCount category scale dinamyc

5 posts, 0 answers
  1. Benjamin
    Benjamin avatar
    8 posts
    Member since:
    Feb 2015

    Posted 10 Mar Link to this post

    Hi telerik support , I have a problem a i Want to change the width between categorys in the x axis , how can i get it ,

     

                categoryscale.SpacingSlotCount =  (I need dinamyc);            
                graphAxisCategoryScale.Scale = categoryscale;

    the porpouse it´s change the distance between points in the x axis 

     

    Hell me please =(

     

  2. Ivan Hristov
    Admin
    Ivan Hristov avatar
    85 posts

    Posted 11 Mar Link to this post

    Hi Benjamin,

    You can control the SpacingSlotCount property using Bindings on the coordinate system. Since it uses an expression to obtain its value, you can either use any of the built-in functions or write your own user function that will calculate the necessary gap according to your needs.

    Check the following articles for more information:

        How to: Use Bindings to Control the Coordinate System Properties
        How to: Change the Gap Between the Bars

    Hope it helps.

    Regards,
    Ivan Hristov
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
  3. DevCraft banner
  4. Benjamin
    Benjamin avatar
    8 posts
    Member since:
    Feb 2015

    Posted 11 Mar Link to this post

    Thank you for the answer but i put a function in bindings but i cant get the result of the image attachemnet can you helpme with a little example or steps

    thank you very much

  5. Benjamin
    Benjamin avatar
    8 posts
    Member since:
    Feb 2015

    Posted 11 Mar in reply to Ivan Hristov Link to this post

    Thank you for the answer but i put a function in bindings but i cant get the result of the image attachemnet can you helpme with a little example or steps
    thank you very much
  6. Stef
    Admin
    Stef avatar
    3047 posts

    Posted 12 Mar Link to this post

    Hi Benjamin,

    Please check my post in your forum thread on the same question - Graph logarithmyc. If you need further help, please let us continue the discussion there. Thus we can keep a better track on the exchanged information.

    Regards,
    Stef
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
Back to Top
DevCraft banner