用json测试页面

function refreshReports(){
callAjax("/classdashboard/proficiency/${currentCourse.uid}/${ccp.cpstub.contentProviderID}/${ccp.contentSubjects.uid}.JSON",function(json) {
     var json = {
"plList":[
         {"nameField":"Advanced","colorCode":"#689235"},
       {"nameField":"Proficient","colorCode":"#92d050"},
       {"nameField":"Far Below Basic","colorCode":"#C00000"},
       {"nameField":"Below Basic","colorCode":"#ff9900"},
       {"nameField":"Basic","colorCode":"#ffff00"}
],
"numGrowth":["14","2"],
"proficiencyData":[45,28,25,23,26],
"contentProviderID":1
};

drawProficiencyReport(json);
});

你可能感兴趣的:(json)