Gap between the Y-Axis and the first datapoint

2 posts, 1 answers
  1. Jannik
    Jannik avatar
    7 posts
    Member since:
    May 2016

    Posted 02 Jun 2018 Link to this post

    So, I was wondering, how you could get rid of the gap between the Y Axis and the first data point.

    Is it configurable? My first entry is 00:00 and yet there's a gap. It would look better if there would be no gap


    Basically I added two items

    - One for DateTime.Today

    - One for DateTime 23:30.

    Then I set the Minimum of the ExtDateTimeContinuousAxis to DateTime today and set MaxStep & Unit to 3 hours.


    I tried a few properties like GapLength, but no luck so far.

  2. Answer
    Didi avatar
    382 posts

    Posted 06 Jun 2018 Link to this post

    Hi Jannik,

    Thank you for the provided image.

    CategoricalAxis allows you to define how exactly the axis will be plotted on the viewport of the chart. As you want the points to be plotted over each tick and to start from the beginning you should use AxisPlotMode.OnTicks feature. 
    Please take a look at the following example in our documentation about the Categorical Axis for our Chart component:

    Hope this helps.

    Progress 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