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

Help formatting xaxis and displaying data

1 Answer 97 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Brian
Top achievements
Rank 1
Brian asked on 03 Jan 2012, 06:00 AM
I'm having trouble display the labels in the xaxis and drawing the lines (yes, the most basic parts of charting :). I've got a jsfiddle project (http://jsfiddle.net/XUmFR/50/) that has the data I'm using and the code I've tried so far. 

Right now, I'm having two basic problems with it. 

  1. Can't get the value in the template for the xaxis label. I want to format the date using the commented out template (uses Sugar.js), but the value is undefined.
  2. The Counts aren't showing up (though I haven't spent much time on this problem yet). The lines are flat even though the counts have values in them.

Basically I'm building a sample application to evaluate Kendo UI. The application shows charts of errors through a specified time period (the errors are logged by Elmah). I want to show one line in the chart for each application that we manage.

Any help is appreciated. Thanks.

1 Answer, 1 is accepted

Sort by
0
Brian
Top achievements
Rank 1
answered on 07 Jan 2012, 02:56 AM
I took a fresh look at this today and was able to figure it out fairly quickly. Here's my new jsfiddle project with it working the way I want. http://jsfiddle.net/472Xr/1/ 
Tags
Charts
Asked by
Brian
Top achievements
Rank 1
Answers by
Brian
Top achievements
Rank 1
Share this question
or