ASP .NET MVC Line Chart Example

3 posts, 0 answers
  1. Paula
    Paula avatar
    3 posts
    Member since:
    May 2015

    Posted 28 May 2015 Link to this post

    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. Paula
    Paula avatar
    3 posts
    Member since:
    May 2015

    Posted 29 May 2015 in reply to Paula Link to this post

    You guys dont expect people to buy this thing do you

     

    Lack of documentation, full examples

    No response to questions

    No community support

  3. T. Tsonev
    Admin
    T. Tsonev avatar
    2817 posts

    Posted 01 Jun 2015 Link to this post

    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!
     
Back to Top