How to plot points on area chart

5 posts, 1 answers
  1. Ramoji
    Ramoji avatar
    3 posts
    Member since:
    Jul 2012

    Posted 11 Jun 2012 Link to this post

    Hi Kendo Team

    As a part of Dashboard in my project I need to show the sales value  for a given date.I am able to plot the area using the area chart but am not able to mark the value of the sale for a given day.I need to get the output as in the file attached to this thread.Do I need to use two types of chart to achieve this kind of output.If thats the case which type of charts should i use together and how to do it.

    Awaiting your response

    Thanks in Advance
    Ramoji

     
  2. Answer
    Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2622 posts

    Posted 13 Jun 2012 Link to this post

    Hi Ramoji,

    You could achieve this by setting visible: true property to the markers of Kendo UI Area chart. For example: 
    $("#chart").kendoChart({
      ...
      series: [{
         type: "area",
         data: [67.96, 68.93, 75, 74, 78],
         markers: {
            visible: true
         }
      }]
      ...
    });

    More detailed information about the Kendo UI Chart configuration options is available in our online documentation.

     

    Regards,
    Iliana Nikolova
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Ramoji
    Ramoji avatar
    3 posts
    Member since:
    Jul 2012

    Posted 13 Jun 2012 Link to this post

    Thanks a ton iliana..this solved my issue.
  4. Joshua
    Joshua avatar
    69 posts
    Member since:
    May 2012

    Posted 18 Sep 2012 Link to this post

    I have an area chart, but it only has one point.

    How do I get the area to increase from 0 at the origin?
  5. Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2622 posts

    Posted 20 Sep 2012 Link to this post

    Hello Joshua,

    I have replied to your support ticket which contained the same question, however for convenience I am pasting my reply here so the other users who are interested in the same scenario can read it: 

    I am afraid it is not possible to display a chart which has only one point (by design Kendo UI Chart demands at least two points). 

    Regards,
    Iliana Nikolova
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top