dimanche 1 novembre 2015

How to show value labels in MS Chart

I have written code for MS chart in View of my MVC . My code goes like:

    var filePathName = Model.UniqueName;
    var myChart = new Chart(width: 600, height: 400)

     .AddTitle("OAP Percetage")
     .DataBindTable(Model.Charting, "Month")
     .Save(path: filePathName);`

Now I want to know the method by which I can display value labels. I have 4 y values per X value. I don't want the code for controller. I want to code only in this view for the chart.

Aucun commentaire:

Enregistrer un commentaire