@xmanhattan,
You can pass the desired variables to $points
as key value pairs to create an associative array as shown below –
$points = array( "label" => $seqnum, "x" => $seqnum, "y" => $daysdiff, "currdate" => $currdate, "prevdate" => $prevdate, "freq" => $freq );
The same variables would be available within the chart and can be accessed through the chart options –
chart.options.data[0].dataPoints[0].freq
___________
Indranil Singh Deo
Team CanvasJS