This is a migrated thread and some comments may be shown as answers.

How to plot points on area chart

4 Answers 63 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Ramoji
Top achievements
Rank 1
Ramoji asked on 11 Jun 2012, 10:45 AM
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

 

4 Answers, 1 is accepted

Sort by
0
Accepted
Iliana Nikolova
Telerik team
answered on 13 Jun 2012, 12:39 PM
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!
0
Ramoji
Top achievements
Rank 1
answered on 13 Jun 2012, 12:47 PM
Thanks a ton iliana..this solved my issue.
0
Joshua
Top achievements
Rank 1
Veteran
Iron
answered on 18 Sep 2012, 11:03 PM
I have an area chart, but it only has one point.

How do I get the area to increase from 0 at the origin?
0
Iliana Nikolova
Telerik team
answered on 20 Sep 2012, 03:45 PM
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!
Tags
Charts
Asked by
Ramoji
Top achievements
Rank 1
Answers by
Iliana Nikolova
Telerik team
Ramoji
Top achievements
Rank 1
Joshua
Top achievements
Rank 1
Veteran
Iron
Share this question
or