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

Graph SpacingSlotCount category scale dinamyc

4 Answers 74 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Benjamin
Top achievements
Rank 1
Benjamin asked on 10 Mar 2016, 07:37 PM

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 =(

 

4 Answers, 1 is accepted

Sort by
0
Ivan Hristov
Telerik team
answered on 11 Mar 2016, 09:27 AM
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
0
Benjamin
Top achievements
Rank 1
answered on 11 Mar 2016, 05:49 PM

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

0
Benjamin
Top achievements
Rank 1
answered on 11 Mar 2016, 05:57 PM
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
0
Stef
Telerik team
answered on 12 Mar 2016, 03:50 PM
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
Tags
General Discussions
Asked by
Benjamin
Top achievements
Rank 1
Answers by
Ivan Hristov
Telerik team
Benjamin
Top achievements
Rank 1
Stef
Telerik team
Share this question
or