categoryAxis lables and stockchart

3 posts, 0 answers
  1. Kyaw
    Kyaw avatar
    9 posts
    Member since:
    Dec 2015

    Posted 14 Dec 2015 Link to this post

    Hi,

    When we display 365 data points (yearly data) in stockchart, candles are skipping many days. Can we display all the daily candles in any view (regardless of viewing by monthly, yearly, weekly)?

    In yearly view (365 candles), categoryAxis labels should still skip the dates to avoid the overlapping. But the candles need to display daily.

    Right now, to see all the candles, I have to select monthly or weekly view with navigator. Is there anyway to achieve this?

    Thanks so much.

    Kyaw

  2. Kyaw
    Kyaw avatar
    9 posts
    Member since:
    Dec 2015

    Posted 15 Dec 2015 in reply to Kyaw Link to this post

    Hi,

     

    If I do this, chart will display all candles, and X axis will skip 7 days.

    baseUnit: "days",
        labels: {
           rotation: "-90",
           step: 7
    }

    That looks good, but I'd like to see all labels when we zoom into weekly views using navigator.

    Thanks,
    Kyaw

  3. Kendo UI is VS 2017 Ready
  4. Kyaw
    Kyaw avatar
    9 posts
    Member since:
    Dec 2015

    Posted 15 Dec 2015 in reply to Kyaw Link to this post

    Actually, I found this http://www.telerik.com/forums/how-to-catch-the-event-of-stockchart-navigator-range-change

    I catch those events and set the labels to skip accordingly. It looks good now.

    Thanks.

     

Back to Top