출처 : http://www.phpschool.com/gnuboard4/bbs/board.php?bo_table=tipntech&wr_id=29645&sca=&sfl=wr_subject%7C%7Cwr_content&stx=%C2%F7%C6%AE&sop=and
▶ 파나챠트
다운로드 및 설치 사이트
http://www.panacode.com/panachart/
스크린샷
http://www.panacode.com/panachart/index.php?SEC=screenshots
다운로드
http://www.panacode.com/panachart/index.php?SEC=download
▶ JpGraph
http://www.aditus.nu/jpgraph/
다운로드
http://www.aditus.nu/jpgraph/jpdownload.php
=====================
=====수정할부분 =====
=====================
한굴출력 방법은 아래와 같습니다.
우선 panachart.php 를 열고 아래부분을 찾아서
// plot title
if($this->m_title){
imagestring ($this->m_image,
$this->m_font,
($this->m_width-strlen($this->m_title)*$this->m_fontWidth)/2,
$margin,
$this->m_title,
$this->m_textColor);
}
imagestring 부분을 imagettftext 함수로 변경만 하면 끝입니다.
imagettftext(
$this->m_image,
$this->m_font,
0,
($this->m_width-strlen($this->m_title)*$this->m_fontWidth)/2,
$margin+10,
$this->m_textColor, \"[투루타입이 있는 글꼴 PATH]\", iconv(\"cp949\",\"UTF-8\",$this->m_title));
ps : $margin 값이 약간 차이가 나서 임의로 10을 더 plus 시켰더니 안짤리고 잘 나오더군여
====================================================================================
지금 panachart v0.9.2 를 사용중인데.. 최대값과 최소값이 같을때 버그가 있더군요..
function addSeries(...) 에 보시면 다음과 같은 구문이 있을겁니다.
if($minValue < $this->m_minValue) $this->m_minValue = $minValue;
if($maxValue > $this->m_maxValue) $this->m_maxValue = $maxValue;
바로 이 다음줄에 다음과 같이 추가해주세요
if ($this->m_minValue == $this->m_maxValue) $this->m_maxValue++;
그럼 에러나는 문제 해결 됩니다..
참고하시길..<div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 17:12:10 PHP & HTML에서 이동 됨]</div>
▶ 파나챠트
다운로드 및 설치 사이트
http://www.panacode.com/panachart/
스크린샷
http://www.panacode.com/panachart/index.php?SEC=screenshots
다운로드
http://www.panacode.com/panachart/index.php?SEC=download
▶ JpGraph
http://www.aditus.nu/jpgraph/
다운로드
http://www.aditus.nu/jpgraph/jpdownload.php
=====================
=====수정할부분 =====
=====================
한굴출력 방법은 아래와 같습니다.
우선 panachart.php 를 열고 아래부분을 찾아서
// plot title
if($this->m_title){
imagestring ($this->m_image,
$this->m_font,
($this->m_width-strlen($this->m_title)*$this->m_fontWidth)/2,
$margin,
$this->m_title,
$this->m_textColor);
}
imagestring 부분을 imagettftext 함수로 변경만 하면 끝입니다.
imagettftext(
$this->m_image,
$this->m_font,
0,
($this->m_width-strlen($this->m_title)*$this->m_fontWidth)/2,
$margin+10,
$this->m_textColor, \"[투루타입이 있는 글꼴 PATH]\", iconv(\"cp949\",\"UTF-8\",$this->m_title));
ps : $margin 값이 약간 차이가 나서 임의로 10을 더 plus 시켰더니 안짤리고 잘 나오더군여
====================================================================================
지금 panachart v0.9.2 를 사용중인데.. 최대값과 최소값이 같을때 버그가 있더군요..
function addSeries(...) 에 보시면 다음과 같은 구문이 있을겁니다.
if($minValue < $this->m_minValue) $this->m_minValue = $minValue;
if($maxValue > $this->m_maxValue) $this->m_maxValue = $maxValue;
바로 이 다음줄에 다음과 같이 추가해주세요
if ($this->m_minValue == $this->m_maxValue) $this->m_maxValue++;
그럼 에러나는 문제 해결 됩니다..
참고하시길..<div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 17:12:10 PHP & HTML에서 이동 됨]</div>
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 1330 | 18년 전 | 1488 | ||
| 1329 | 18년 전 | 1718 | ||
| 1328 | 18년 전 | 1001 | ||
| 1327 | 18년 전 | 1422 | ||
| 1326 | 18년 전 | 2258 | ||
| 1325 | 18년 전 | 1142 | ||
| 1324 | 18년 전 | 1304 | ||
| 1323 | 18년 전 | 1567 | ||
| 1322 | 18년 전 | 1179 | ||
| 1321 | 18년 전 | 971 | ||
| 1320 | 18년 전 | 1195 | ||
| 1319 | 18년 전 | 1523 | ||
| 1318 | 18년 전 | 1649 | ||
| 1317 | 18년 전 | 1600 | ||
| 1316 | 18년 전 | 1211 | ||
| 1315 |
|
18년 전 | 8603 | |
| 1314 | 18년 전 | 1909 | ||
| 1313 | 18년 전 | 1495 | ||
| 1312 | 18년 전 | 1488 | ||
| 1311 | 18년 전 | 1782 | ||
| 1310 | 18년 전 | 1837 | ||
| 1309 | 18년 전 | 1226 | ||
| 1308 | 18년 전 | 985 | ||
| 1307 | 18년 전 | 2759 | ||
| 1306 | 18년 전 | 3110 | ||
| 1305 | 18년 전 | 2172 | ||
| 1304 | 18년 전 | 1557 | ||
| 1303 | 18년 전 | 1423 | ||
| 1302 | 18년 전 | 893 | ||
| 1301 | 18년 전 | 1780 | ||
| 1300 | 18년 전 | 5139 | ||
| 1299 | 18년 전 | 2857 | ||
| 1298 |
mixdesign
|
18년 전 | 2110 | |
| 1297 | 18년 전 | 3080 | ||
| 1296 | 18년 전 | 2548 | ||
| 1295 | 18년 전 | 2240 | ||
| 1294 |
onweb
|
18년 전 | 4560 | |
| 1293 |
onweb
|
18년 전 | 3491 | |
| 1292 | 18년 전 | 3456 | ||
| 1291 | 18년 전 | 4042 | ||
| 1290 | 18년 전 | 1905 | ||
| 1289 | 18년 전 | 1760 | ||
| 1288 | 18년 전 | 1731 | ||
| 1287 | 18년 전 | 1429 | ||
| 1286 | 18년 전 | 1265 | ||
| 1285 | 18년 전 | 1158 | ||
| 1284 | 18년 전 | 1159 | ||
| 1283 | 18년 전 | 1514 | ||
| 1282 | 18년 전 | 915 | ||
| 1281 | 18년 전 | 1271 | ||
| 1280 | 18년 전 | 1129 | ||
| 1279 | 18년 전 | 1147 | ||
| 1278 | 18년 전 | 3026 | ||
| 1277 | 18년 전 | 948 | ||
| 1276 | 18년 전 | 1157 | ||
| 1275 | 18년 전 | 2096 | ||
| 1274 | 18년 전 | 2225 | ||
| 1273 | 18년 전 | 1321 | ||
| 1272 | 18년 전 | 1914 | ||
| 1271 | 18년 전 | 1164 | ||
| 1270 | 18년 전 | 2497 | ||
| 1269 | 18년 전 | 6597 | ||
| 1268 |
페이지팩트
|
18년 전 | 3821 | |
| 1267 |
페이지팩트
|
18년 전 | 2229 | |
| 1266 |
|
18년 전 | 6294 | |
| 1265 | 18년 전 | 2586 | ||
| 1264 | 18년 전 | 2621 | ||
| 1263 | 18년 전 | 2122 | ||
| 1262 | 18년 전 | 2118 | ||
| 1261 |
페이지팩트
|
18년 전 | 2124 | |
| 1260 | 18년 전 | 3888 | ||
| 1259 |
|
18년 전 | 3935 | |
| 1258 |
|
18년 전 | 5039 | |
| 1257 | 18년 전 | 4138 | ||
| 1256 | 18년 전 | 2576 | ||
| 1255 | 18년 전 | 1811 | ||
| 1254 | 18년 전 | 2782 | ||
| 1253 | 18년 전 | 2717 | ||
| 1252 | 18년 전 | 2239 | ||
| 1251 | 18년 전 | 5417 | ||
| 1250 |
jbsstyle
|
18년 전 | 4763 | |
| 1249 |
|
18년 전 | 3773 | |
| 1248 | 18년 전 | 3454 | ||
| 1247 | 18년 전 | 2140 | ||
| 1246 | 18년 전 | 2136 | ||
| 1245 | 18년 전 | 3641 | ||
| 1244 |
|
18년 전 | 2283 | |
| 1243 |
|
18년 전 | 2494 | |
| 1242 | 18년 전 | 1769 | ||
| 1241 | 18년 전 | 4464 | ||
| 1240 | 18년 전 | 2154 | ||
| 1239 | 18년 전 | 2304 | ||
| 1238 | 18년 전 | 4042 | ||
| 1237 |
hwatta
|
18년 전 | 3893 | |
| 1236 | 18년 전 | 2117 | ||
| 1235 | 18년 전 | 2768 | ||
| 1234 | 18년 전 | 5145 | ||
| 1233 | 18년 전 | 2413 | ||
| 1232 |
|
18년 전 | 2953 | |
| 1231 | 18년 전 | 8504 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기