출처 : 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>
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 930 | 19년 전 | 3540 | ||
| 929 |
|
19년 전 | 2693 | |
| 928 |
|
19년 전 | 3447 | |
| 927 |
|
19년 전 | 3442 | |
| 926 |
|
19년 전 | 3145 | |
| 925 | 19년 전 | 5429 | ||
| 924 |
|
19년 전 | 2166 | |
| 923 |
|
19년 전 | 2212 | |
| 922 |
|
19년 전 | 2305 | |
| 921 |
|
19년 전 | 3399 | |
| 920 | 19년 전 | 3702 | ||
| 919 |
|
19년 전 | 3741 | |
| 918 |
|
19년 전 | 2347 | |
| 917 |
|
19년 전 | 2386 | |
| 916 |
|
19년 전 | 2685 | |
| 915 | 19년 전 | 3033 | ||
| 914 | 19년 전 | 2457 | ||
| 913 | 19년 전 | 2623 | ||
| 912 | 19년 전 | 2450 | ||
| 911 | 19년 전 | 2204 | ||
| 910 | 19년 전 | 3233 | ||
| 909 | 19년 전 | 3290 | ||
| 908 | 19년 전 | 3028 | ||
| 907 |
|
19년 전 | 4865 | |
| 906 |
|
19년 전 | 2695 | |
| 905 |
|
19년 전 | 3308 | |
| 904 |
|
19년 전 | 3132 | |
| 903 |
|
19년 전 | 1979 | |
| 902 |
|
19년 전 | 3120 | |
| 901 |
|
19년 전 | 1868 | |
| 900 |
|
19년 전 | 2325 | |
| 899 |
|
19년 전 | 2396 | |
| 898 |
|
19년 전 | 3980 | |
| 897 |
|
19년 전 | 3169 | |
| 896 |
|
19년 전 | 3088 | |
| 895 |
|
19년 전 | 2532 | |
| 894 |
|
19년 전 | 2002 | |
| 893 |
|
19년 전 | 1639 | |
| 892 |
|
19년 전 | 2403 | |
| 891 |
|
19년 전 | 2326 | |
| 890 |
|
19년 전 | 1813 | |
| 889 |
|
19년 전 | 1809 | |
| 888 |
|
19년 전 | 2599 | |
| 887 |
|
19년 전 | 2576 | |
| 886 |
|
19년 전 | 1872 | |
| 885 |
|
19년 전 | 2104 | |
| 884 |
|
19년 전 | 3292 | |
| 883 |
|
19년 전 | 1949 | |
| 882 |
|
19년 전 | 2489 | |
| 881 |
|
19년 전 | 2567 | |
| 880 |
|
19년 전 | 2656 | |
| 879 |
|
19년 전 | 2934 | |
| 878 |
|
19년 전 | 2556 | |
| 877 |
|
19년 전 | 2981 | |
| 876 |
|
19년 전 | 2761 | |
| 875 |
|
19년 전 | 3518 | |
| 874 | 19년 전 | 1868 | ||
| 873 | 19년 전 | 2726 | ||
| 872 |
|
19년 전 | 2365 | |
| 871 |
|
19년 전 | 2014 | |
| 870 |
|
19년 전 | 2421 | |
| 869 |
|
19년 전 | 1869 | |
| 868 |
|
19년 전 | 5436 | |
| 867 |
|
19년 전 | 2253 | |
| 866 |
|
19년 전 | 4242 | |
| 865 |
|
19년 전 | 2289 | |
| 864 | 19년 전 | 1839 | ||
| 863 | 19년 전 | 2589 | ||
| 862 | 19년 전 | 2326 | ||
| 861 | 19년 전 | 2524 | ||
| 860 | 19년 전 | 2157 | ||
| 859 | 19년 전 | 3917 | ||
| 858 | 19년 전 | 3414 | ||
| 857 | 19년 전 | 2196 | ||
| 856 |
Power
|
19년 전 | 2105 | |
| 855 | 19년 전 | 1970 | ||
| 854 | 19년 전 | 1997 | ||
| 853 |
pearly
|
19년 전 | 4378 | |
| 852 |
pearly
|
19년 전 | 3351 | |
| 851 | 19년 전 | 2773 | ||
| 850 |
pearly
|
19년 전 | 3344 | |
| 849 |
pearly
|
19년 전 | 3000 | |
| 848 |
pearly
|
19년 전 | 2839 | |
| 847 | 19년 전 | 2344 | ||
| 846 |
|
19년 전 | 2158 | |
| 845 |
pearly
|
19년 전 | 2482 | |
| 844 | 19년 전 | 3094 | ||
| 843 | 19년 전 | 2123 | ||
| 842 |
pearly
|
19년 전 | 3117 | |
| 841 |
pearly
|
19년 전 | 3240 | |
| 840 | 19년 전 | 2913 | ||
| 839 |
|
19년 전 | 1931 | |
| 838 |
|
19년 전 | 1698 | |
| 837 |
|
19년 전 | 2313 | |
| 836 |
|
19년 전 | 2253 | |
| 835 |
|
19년 전 | 1627 | |
| 834 |
|
19년 전 | 1659 | |
| 833 |
|
19년 전 | 1561 | |
| 832 |
|
19년 전 | 2064 | |
| 831 |
|
19년 전 | 1615 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기