How to display legend dynamically for line chart?

Problem

In my project, legend is displaying dynamically but I want to display name like(student-marks,studentannualscore,etc..) instead of the value. Here values are displaying like 0 1 2... (instead of 0 I have to show student-marks). Here I can't change my service values,in service values are 0 1 2 .. Can any one help me how to display this using kendo ui code(javascript).

Problem courtesy of: stpdevi

Solution

Hide the legend and create your own. You have more control if you build it your self. Just a suggestion.

Solution courtesy of: Rodney

Discussion

There is currently no discussion for this recipe.

This recipe can be found in it's original form on Stack Over Flow.