我正在尝试运行代码:
var graph_data = [["2018-10-23 0:0",61.5],["2018-10-24 0:0",344.5],["2018-10-25 0:0",290.25],["2018-10-26 0:0",153.25],["2018-10-27 0:0",174.25],["2018-10-28 0:0",199.5],["2018-10-29 0:0",220],["2018-10-30 0:0",93]];
var myChart = $.jqplot('chart', [graph_data], {
title:"title",
seriesDefaults:{
renderer:$.jqplot.BarRenderer,
pointLabels: { show: true },
rendererOptions: {
barDirection: 'vertical',
barWidth: 30
}
},
axes:{
xaxis:{
min: "2018-10-22 00:00:00",
max: "2018-10-31 00:00:00",
renderer: $.jqplot.DateAxisRenderer,
tickOptions:{
formatString: '%d/%m/%y'
},
tickInterval: '1 day'
}
}
});
只有,我在AWS S3上有json文件。我有URL,但是如果将URL代替“文件名”,则会得到conn = GoogleAnalyticsQueryV4(secrets = <filename.json>)
。
有没有办法做到这一点?
我正在使用FileNotFoundError