출처 : 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>
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 7930 | 9년 전 | 462 | ||
| 7929 | 9년 전 | 398 | ||
| 7928 | 9년 전 | 474 | ||
| 7927 | 9년 전 | 380 | ||
| 7926 | 9년 전 | 689 | ||
| 7925 | 9년 전 | 412 | ||
| 7924 | 9년 전 | 394 | ||
| 7923 | 9년 전 | 381 | ||
| 7922 | 9년 전 | 416 | ||
| 7921 | 9년 전 | 433 | ||
| 7920 | 9년 전 | 343 | ||
| 7919 | 9년 전 | 353 | ||
| 7918 | 9년 전 | 507 | ||
| 7917 | 9년 전 | 359 | ||
| 7916 | 9년 전 | 446 | ||
| 7915 | 9년 전 | 456 | ||
| 7914 | 9년 전 | 468 | ||
| 7913 | 9년 전 | 644 | ||
| 7912 | 9년 전 | 473 | ||
| 7911 | 9년 전 | 398 | ||
| 7910 | 9년 전 | 453 | ||
| 7909 | 9년 전 | 559 | ||
| 7908 | 9년 전 | 495 | ||
| 7907 | 9년 전 | 431 | ||
| 7906 | 9년 전 | 455 | ||
| 7905 | 9년 전 | 428 | ||
| 7904 | 9년 전 | 412 | ||
| 7903 | 9년 전 | 415 | ||
| 7902 | 9년 전 | 593 | ||
| 7901 |
|
9년 전 | 767 | |
| 7900 | 9년 전 | 657 | ||
| 7899 | 9년 전 | 435 | ||
| 7898 | 9년 전 | 434 | ||
| 7897 | 9년 전 | 397 | ||
| 7896 | 9년 전 | 413 | ||
| 7895 | 9년 전 | 531 | ||
| 7894 | 9년 전 | 436 | ||
| 7893 | 9년 전 | 416 | ||
| 7892 | 9년 전 | 453 | ||
| 7891 | 9년 전 | 808 | ||
| 7890 | 9년 전 | 1232 | ||
| 7889 | 9년 전 | 767 | ||
| 7888 |
limsy1987
|
9년 전 | 578 | |
| 7887 | 9년 전 | 625 | ||
| 7886 | 9년 전 | 510 | ||
| 7885 | 9년 전 | 478 | ||
| 7884 | 9년 전 | 466 | ||
| 7883 | 9년 전 | 480 | ||
| 7882 | 9년 전 | 533 | ||
| 7881 | 9년 전 | 514 | ||
| 7880 | 9년 전 | 629 | ||
| 7879 | 9년 전 | 517 | ||
| 7878 | 9년 전 | 1287 | ||
| 7877 | 9년 전 | 814 | ||
| 7876 | 9년 전 | 558 | ||
| 7875 | 9년 전 | 626 | ||
| 7874 |
|
9년 전 | 830 | |
| 7873 | 9년 전 | 553 | ||
| 7872 | 9년 전 | 723 | ||
| 7871 | 9년 전 | 540 | ||
| 7870 | 9년 전 | 654 | ||
| 7869 | 9년 전 | 473 | ||
| 7868 | 9년 전 | 513 | ||
| 7867 | 9년 전 | 514 | ||
| 7866 | 9년 전 | 575 | ||
| 7865 | 9년 전 | 518 | ||
| 7864 | 9년 전 | 579 | ||
| 7863 | 9년 전 | 568 | ||
| 7862 | 9년 전 | 530 | ||
| 7861 | 9년 전 | 701 | ||
| 7860 | 9년 전 | 675 | ||
| 7859 | 9년 전 | 450 | ||
| 7858 | 9년 전 | 764 | ||
| 7857 | 9년 전 | 1152 | ||
| 7856 | 9년 전 | 576 | ||
| 7855 | 9년 전 | 811 | ||
| 7854 | 9년 전 | 754 | ||
| 7853 | 9년 전 | 650 | ||
| 7852 | 9년 전 | 567 | ||
| 7851 | 9년 전 | 569 | ||
| 7850 | 9년 전 | 644 | ||
| 7849 | 9년 전 | 408 | ||
| 7848 | 9년 전 | 470 | ||
| 7847 | 9년 전 | 724 | ||
| 7846 | 9년 전 | 502 | ||
| 7845 | 9년 전 | 481 | ||
| 7844 | 10년 전 | 440 | ||
| 7843 | 10년 전 | 483 | ||
| 7842 | 10년 전 | 465 | ||
| 7841 | 10년 전 | 431 | ||
| 7840 | 10년 전 | 447 | ||
| 7839 | 10년 전 | 503 | ||
| 7838 | 10년 전 | 555 | ||
| 7837 | 10년 전 | 385 | ||
| 7836 | 10년 전 | 445 | ||
| 7835 | 10년 전 | 523 | ||
| 7834 |
|
10년 전 | 1229 | |
| 7833 | 10년 전 | 496 | ||
| 7832 | 10년 전 | 464 | ||
| 7831 | 10년 전 | 627 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기