Axis with variable step size

2 posts, 0 answers
  1. daniel
    daniel avatar
    1 posts
    Member since:
    Nov 2015

    Posted 29 May 2017 Link to this post


    I need to create a chart with an horizontal categorical axis, but with a variable distance between the labels (something similar to the attached file).

    In the categorical axis I didn't find anything that could help me. 

    Do you have any idea how to obtain this kind of chart?


  2. Dinko
    Dinko avatar
    1109 posts

    Posted 01 Jun 2017 Link to this post

    Hello Daniel,

    Thank you for contacting us.

    The control doesn't provide functionality to set the width of each category slot separately. When working with categorical data the chart creates categories for each distinct category value in the source collection of the series. Each category slot on the axis has an equal width with the other slots. So, for example, if the whole plot area have size 200 pixels and there are 2 categories in the data, the chart will create two categorical slots with 100 pixels width each. If there are 5 categories each slot will be 40 pixels wide. 

    As a side note, you mark the product of this thread to RadChart which is our old charting component. From your question, we are assuming that you are talking for the new RadChartView so we changing the product of this ticket to RadChartView for WPF.

    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top