I also encountered the same problem with you,just did a project on morris example,I hope to help you.
<div id="myfirstchart" style="height: 250px; " >
data: @ViewBag.jss ,
labels: ['Value','This A','this B']
The data transport by Json, It should be noted that Json' Key have quotation ,you must delete it,you can use Regular Expression . this is asp.net MVC. My English is not good.Hope you can understand.