I have a problem displaying data on a ShieldUI JavaScript Chart. The values I want to show are entered by the user in some text fields. I made sure that the function is actually being called. Here is my code:
var Participants = new Array();
Participants [0]=document.getElementById("ParticipantA").value;
Participants [1]=document.getElementById("ParticipantB").value;
Participants [2]=document.getElementById("ParticipantC").value;
and that I do put the data on the chart:
dataSeries: [
{
seriesType: 'line',
collectionAlias: 'chart',
data: [Participants [0], Participants [1], Participants [2]]
}