Hello,
I was going through (download chart as JPEG or PDF) for exporting my dhtmlx chart to excel.
my code snippet:
that.mychart = graphattachLayout.cells(“b”).attachChart({
view : “bar”,
value : “#Distance#”,
/////// (rest of chart properties, chart is displayed properly on my layout)
});
on this chart element I am calling:
that.mychart.getCanvas().canvas;
I am getting exception:
that.mychart.getCanvas is not a function
Please help at the earliest