How do I change the scale dynamically?

5 posts, 1 answers
  1. Xavier
    Xavier avatar
    29 posts
    Member since:
    Jun 2014

    Posted 23 Mar 2015 Link to this post

    I want to change the valueAxis scale between 'log' and 'numeric' dynamically.

    Is this the correct way to do it?

    http://dojo.telerik.com/ejapE/2

  2. Xavier
    Xavier avatar
    29 posts
    Member since:
    Jun 2014

    Posted 23 Mar 2015 Link to this post

    And how would I do it if there where multiple charts on one page?

  3. Xavier
    Xavier avatar
    29 posts
    Member since:
    Jun 2014

    Posted 23 Mar 2015 in reply to Xavier Link to this post

    I solved the problem to get multiple charts to work but
    I can't seem to get  this to work on charts that have aggregates.

    seriesDefaults: {
    type: "line",
    style: "smooth",
    aggregate: "sum",
    field: "value",
    categoryField: "date"
    },
    categoryAxis: {
    baseUnit: "fit",
    maxDateGroups: 15
    },

  4. Answer
    Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2622 posts

    Posted 25 Mar 2015 Link to this post

    Hi Xavier,

    I tested this scenario and everything is working as expected. Could you please take a look at this dojo and let me know if I am missing something? 

    Regards,
    Iliana Nikolova
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  5. Xavier
    Xavier avatar
    29 posts
    Member since:
    Jun 2014

    Posted 25 Mar 2015 in reply to Iliana Nikolova Link to this post

    It work fine in your example.  I even tried to add my stuff in and it still works.
    http://dojo.telerik.com/eGAje

    I will have to see what is the problem in my code.

    Thanks.
Back to Top