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

ASP .NET MVC Line Chart Example

2 Answers 148 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Paula
Top achievements
Rank 1
Paula asked on 28 May 2015, 05:08 AM

The examples on the site are very lacking.

 

They dont show the view model or how to represent the data.

 

I want to be able to plot multiple points on a simple line graph

 

My data is 3 tables

 

Businesses

Jobs

Candidates

 

The X axis would be time

The Y axis would be the value

 

the queries would just return the count grouped by date, week or month and the total number in each

 

Then plot them all together.

 

Can anyone point me to an example that shows what the actual view model would look like.

2 Answers, 1 is accepted

Sort by
0
Paula
Top achievements
Rank 1
answered on 30 May 2015, 03:59 AM

You guys dont expect people to buy this thing do you

 

Lack of documentation, full examples

No response to questions

No community support

0
T. Tsonev
Telerik team
answered on 01 Jun 2015, 07:52 AM

Hello Paula,

The full source code of the MVC examples is included in the download package. Look for the Visual Studio project in the wrappers/aspnetmvc/examples folder in telerik.ui.for.aspnetmvc.2015.1.xxx.trial.zip

Your scenario looks rather similar to the Date axis demo. The view model should be fairly simple:

public class Point
{
    public DateTime Date { get; set; }
    public int Businesses { get; set; }
    public int Jobs { get; set; }
    ...
}

I hope this helps.

Regards,
T. Tsonev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Charts
Asked by
Paula
Top achievements
Rank 1
Answers by
Paula
Top achievements
Rank 1
T. Tsonev
Telerik team
Share this question
or