Hello,
I want to use axisY2 with jQuery. I am loading the data via ajax. Here is my code:
function drawChart(divId, compId, range, type) {
$.ajax({
url: "/",
type: "get",
'cache' : false,
data: "ServiceName=GetHistoryDataJson&deviceId="+compId+"&range="+range+"&"+Math.floor((Math.random()*100)+1),
success: function(data) {
var items = JSON.parse(data);
divId.chart({
gallery:cfx.G