Hello Amibroker Fans & Gurus
My AB version : 6.20pro
I would like to know if it's possible and how export programmaticly to PNG/JPG file the graphic sheets generate by the wonderful XYChartSetAxis and XYChartAddPoint functions in the Exploration Tabs like it's possible for Charts windows.
EnableScript("jscript");
<%
function multiCapture(Ticker)
{
pixelh=1920;
pixelv=1080;
export_dir="C:\\temp\\";
AB = new ActiveXObject("Broker.Application");
ADS = AB.Documents;
ADS.Item(0).Name = Ticker;
ADS.Item(0).ActiveWindow.SelectedTab=0;
ADS.Item(0).ActiveWindow.ExportImage(export_dir+Ticker+"_chart0.png",pixelh,pixelv);
}
%>
script=GetScriptObject();
script.multiCapture(Name());
Thanks in advance for your help
Best regards
Didier