그누보드 활성도통계 그래프 이미지가 엑박뜨는거 해결하신분계신가요? 채택완료
그누보드 오래써왔는데 잘 되다가 어느순간부터 엑박으로 되어있네요

위에것처럼 뜨던게 최근아래처럼 뜨네요

#구글 api 이미지 주소 만들기
$chart_img = "https://chart.googleapis.com/chart?chs={$graph_width}x100&chd=t:{$chd}&cht=lc&chco=".str_replace("#","",$graph_color)."&chf=bg,s,".str_replace("#","",$graph_backcolor);
if($view_grid=='true') $chart_img .="&chg=".(100/$how_day*7).",50";
if($line_blank=='true') $chart_img .= "&chls=".$line_thickness.",".($line_thickness*2).",".$line_thickness;
else $chart_img .= "&chls=".$line_thickness.",".($line_thickness*2).",0";
if($graph_fillcolor) $chart_img .="&chm=B,".str_replace("#","",$graph_fillcolor).",0,0,0";
if($view_marker=='true') {
if(!$graph_fillcolor) $chart_img .="&chm=";
else $chart_img .="|";
$chart_img .="c,6C57E2,0,$high_diff.0,10.0|x,E25757,0,$low_diff.0,10.0";
}
if($graph_fillcolor || $view_marker=='true') $chart_overimg = $chart_img."|";
else $chart_overimg = $chart_img."&chm=";
$target .= "</map><img src='$chart_img' name='d_chart' usemap='#draco_counter_map' border='0'>";
소스는 이부분같은데 이미지주소? 이런게 변경된건가요?
답변 3개
chart.googleapis.com 주소를 수정해주세요
$chart_img = //"https://chart.googleapis.com/chart?chs={$graph_width}x100&chd=t:{$chd}&cht=lc&chco=".str_replace("#","",$graph_color)."&chf=bg,s,".str_replace("#","",$graph_backcolor);
변경
$chart_img = "https://image-charts.com/chart?chs={$graph_width}x100&chd=t:{$chd}&cht=lc&chco=".str_replace("#","",$graph_color)."&chf=bg,s,".str_replace("#","",$graph_backcolor);
이렇게 하면 나오네요
답변에 대한 댓글 1개
댓글을 작성하려면 로그인이 필요합니다.
댓글을 작성하려면 로그인이 필요합니다.
구글의 chart.googleapis.com/chart API는 더 이상 유지보수가 되지 않으므로
대체 API를 사용하시는걸 추천드립니다.
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인