출처 : 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>
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 830 |
|
19년 전 | 2193 | |
| 829 |
|
19년 전 | 1937 | |
| 828 |
|
19년 전 | 1820 | |
| 827 |
|
19년 전 | 1658 | |
| 826 |
|
19년 전 | 1856 | |
| 825 |
|
19년 전 | 1903 | |
| 824 |
|
19년 전 | 1959 | |
| 823 |
|
19년 전 | 2697 | |
| 822 |
|
19년 전 | 5335 | |
| 821 |
|
19년 전 | 1728 | |
| 820 |
|
19년 전 | 1586 | |
| 819 |
|
19년 전 | 1449 | |
| 818 |
|
19년 전 | 1611 | |
| 817 |
|
19년 전 | 1531 | |
| 816 |
|
19년 전 | 1451 | |
| 815 |
|
19년 전 | 1465 | |
| 814 |
|
19년 전 | 1386 | |
| 813 |
|
19년 전 | 1452 | |
| 812 | 19년 전 | 2828 | ||
| 811 |
pearly
|
19년 전 | 3846 | |
| 810 |
pearly
|
19년 전 | 5225 | |
| 809 |
|
19년 전 | 1388 | |
| 808 |
pearly
|
19년 전 | 4545 | |
| 807 | 19년 전 | 2983 | ||
| 806 |
|
19년 전 | 1508 | |
| 805 |
|
19년 전 | 2698 | |
| 804 |
|
19년 전 | 3624 | |
| 803 |
|
19년 전 | 1817 | |
| 802 |
|
19년 전 | 3794 | |
| 801 |
|
19년 전 | 1886 | |
| 800 | 19년 전 | 3773 | ||
| 799 | 19년 전 | 3443 | ||
| 798 | 19년 전 | 4211 | ||
| 797 | 19년 전 | 4082 | ||
| 796 |
|
19년 전 | 1900 | |
| 795 |
|
19년 전 | 1860 | |
| 794 | 19년 전 | 4282 | ||
| 793 | 19년 전 | 2677 | ||
| 792 | 19년 전 | 2552 | ||
| 791 | 19년 전 | 2409 | ||
| 790 | 19년 전 | 1986 | ||
| 789 | 19년 전 | 2598 | ||
| 788 | 19년 전 | 2213 | ||
| 787 | 19년 전 | 1855 | ||
| 786 | 19년 전 | 1979 | ||
| 785 | 19년 전 | 1450 | ||
| 784 |
|
19년 전 | 1700 | |
| 783 | 19년 전 | 2845 | ||
| 782 |
|
19년 전 | 1971 | |
| 781 | 19년 전 | 3257 | ||
| 780 | 19년 전 | 3166 | ||
| 779 |
|
19년 전 | 2253 | |
| 778 |
|
19년 전 | 1806 | |
| 777 | 19년 전 | 2850 | ||
| 776 | 19년 전 | 2914 | ||
| 775 | 19년 전 | 4027 | ||
| 774 |
|
19년 전 | 1997 | |
| 773 | 19년 전 | 2628 | ||
| 772 | 19년 전 | 2347 | ||
| 771 | 19년 전 | 3475 | ||
| 770 |
|
19년 전 | 1446 | |
| 769 | 19년 전 | 1509 | ||
| 768 | 19년 전 | 1782 | ||
| 767 | 19년 전 | 2206 | ||
| 766 | 19년 전 | 1838 | ||
| 765 | 19년 전 | 1698 | ||
| 764 |
|
19년 전 | 2118 | |
| 763 |
|
19년 전 | 2233 | |
| 762 |
|
19년 전 | 4965 | |
| 761 | 19년 전 | 2337 | ||
| 760 |
|
19년 전 | 3200 | |
| 759 | 19년 전 | 2647 | ||
| 758 |
|
19년 전 | 2410 | |
| 757 | 19년 전 | 4707 | ||
| 756 | 19년 전 | 2574 | ||
| 755 |
|
19년 전 | 2422 | |
| 754 |
|
19년 전 | 1971 | |
| 753 |
|
19년 전 | 1746 | |
| 752 |
pearly
|
19년 전 | 3376 | |
| 751 | 19년 전 | 2356 | ||
| 750 |
|
19년 전 | 6170 | |
| 749 | 19년 전 | 2043 | ||
| 748 |
|
19년 전 | 1913 | |
| 747 |
|
19년 전 | 2711 | |
| 746 |
|
19년 전 | 1825 | |
| 745 | 19년 전 | 2288 | ||
| 744 | 19년 전 | 2121 | ||
| 743 |
|
19년 전 | 3580 | |
| 742 | 19년 전 | 2588 | ||
| 741 | 19년 전 | 2752 | ||
| 740 |
|
19년 전 | 4378 | |
| 739 | 19년 전 | 3555 | ||
| 738 |
|
19년 전 | 2311 | |
| 737 | 19년 전 | 4321 | ||
| 736 | 19년 전 | 3282 | ||
| 735 |
홀로남은자
|
19년 전 | 4153 | |
| 734 |
홀로남은자
|
19년 전 | 2032 | |
| 733 |
홀로남은자
|
19년 전 | 2237 | |
| 732 | 19년 전 | 2148 | ||
| 731 | 19년 전 | 3362 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기