출처 : 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>
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 7530 | 10년 전 | 821 | ||
| 7529 |
파랑새1597
|
10년 전 | 1247 | |
| 7528 |
파랑새1597
|
10년 전 | 1335 | |
| 7527 |
integrity7
|
10년 전 | 1417 | |
| 7526 | 10년 전 | 2442 | ||
| 7525 |
다빈치코드777
|
10년 전 | 1124 | |
| 7524 | 10년 전 | 1591 | ||
| 7523 | 10년 전 | 980 | ||
| 7522 |
|
10년 전 | 1008 | |
| 7521 |
blackkil
|
10년 전 | 1896 | |
| 7520 | 10년 전 | 1313 | ||
| 7519 |
Gaumi
|
10년 전 | 1094 | |
| 7518 | 10년 전 | 1504 | ||
| 7517 | 10년 전 | 843 | ||
| 7516 | 10년 전 | 1311 | ||
| 7515 | 10년 전 | 1429 | ||
| 7514 |
|
10년 전 | 4500 | |
| 7513 |
멋진남자임
|
10년 전 | 1140 | |
| 7512 |
다빈치코드777
|
10년 전 | 891 | |
| 7511 |
|
10년 전 | 3417 | |
| 7510 | 10년 전 | 1382 | ||
| 7509 | 10년 전 | 1162 | ||
| 7508 | 10년 전 | 729 | ||
| 7507 |
senseme
|
10년 전 | 772 | |
| 7506 |
멋진남자임
|
10년 전 | 1666 | |
| 7505 | 10년 전 | 4043 | ||
| 7504 | 10년 전 | 2172 | ||
| 7503 | 10년 전 | 1010 | ||
| 7502 | 10년 전 | 534 | ||
| 7501 | 10년 전 | 1463 | ||
| 7500 | 10년 전 | 1508 | ||
| 7499 | 10년 전 | 3412 | ||
| 7498 | 10년 전 | 1259 | ||
| 7497 |
dethos79
|
10년 전 | 2979 | |
| 7496 | 10년 전 | 2195 | ||
| 7495 | 10년 전 | 919 | ||
| 7494 |
CHAVO
|
10년 전 | 1157 | |
| 7493 | 10년 전 | 2670 | ||
| 7492 | 10년 전 | 1303 | ||
| 7491 | 10년 전 | 1512 | ||
| 7490 | 10년 전 | 2364 | ||
| 7489 | 10년 전 | 2133 | ||
| 7488 |
toptopon
|
10년 전 | 918 | |
| 7487 |
|
10년 전 | 1061 | |
| 7486 | 10년 전 | 3376 | ||
| 7485 | 10년 전 | 1331 | ||
| 7484 | 10년 전 | 1386 | ||
| 7483 | 10년 전 | 1044 | ||
| 7482 | 10년 전 | 677 | ||
| 7481 | 10년 전 | 868 | ||
| 7480 | 10년 전 | 1250 | ||
| 7479 | 10년 전 | 2622 | ||
| 7478 | 10년 전 | 1186 | ||
| 7477 |
멋진남자임
|
10년 전 | 1535 | |
| 7476 |
zeppeto
|
10년 전 | 1151 | |
| 7475 |
200점아빠
|
10년 전 | 932 | |
| 7474 | 10년 전 | 4020 | ||
| 7473 | 10년 전 | 1008 | ||
| 7472 |
나르시스1
|
10년 전 | 1257 | |
| 7471 | 10년 전 | 889 | ||
| 7470 | 10년 전 | 1307 | ||
| 7469 |
플라이SINJI
|
10년 전 | 1018 | |
| 7468 |
|
10년 전 | 578 | |
| 7467 |
|
10년 전 | 696 | |
| 7466 | 10년 전 | 1151 | ||
| 7465 | 10년 전 | 1202 | ||
| 7464 |
|
10년 전 | 1216 | |
| 7463 | 10년 전 | 1278 | ||
| 7462 |
진짜별사탕
|
10년 전 | 881 | |
| 7461 | 10년 전 | 968 | ||
| 7460 | 10년 전 | 3761 | ||
| 7459 |
멋진남자임
|
10년 전 | 1578 | |
| 7458 |
멋진남자임
|
10년 전 | 505 | |
| 7457 | 10년 전 | 934 | ||
| 7456 | 10년 전 | 783 | ||
| 7455 | 10년 전 | 2194 | ||
| 7454 | 10년 전 | 645 | ||
| 7453 | 10년 전 | 853 | ||
| 7452 |
중국어사이트제작
|
10년 전 | 516 | |
| 7451 | 10년 전 | 924 | ||
| 7450 | 10년 전 | 648 | ||
| 7449 |
울라라라우
|
10년 전 | 967 | |
| 7448 | 10년 전 | 1642 | ||
| 7447 |
멋진남자임
|
10년 전 | 526 | |
| 7446 | 10년 전 | 569 | ||
| 7445 |
네이비칼라
|
10년 전 | 1706 | |
| 7444 |
senseme
|
10년 전 | 1424 | |
| 7443 | 11년 전 | 1353 | ||
| 7442 | 11년 전 | 746 | ||
| 7441 |
멋진남자임
|
11년 전 | 1457 | |
| 7440 | 11년 전 | 932 | ||
| 7439 |
|
11년 전 | 787 | |
| 7438 |
|
11년 전 | 956 | |
| 7437 |
basement
|
11년 전 | 1051 | |
| 7436 |
잘살아보자
|
11년 전 | 1147 | |
| 7435 | 11년 전 | 1105 | ||
| 7434 | 11년 전 | 3801 | ||
| 7433 |
|
11년 전 | 2771 | |
| 7432 |
alexkim
|
11년 전 | 876 | |
| 7431 |
이웃집초보
|
11년 전 | 1326 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기