출처 : 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>
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 230 | 20년 전 | 2087 | ||
| 229 | 20년 전 | 3146 | ||
| 228 | 20년 전 | 3339 | ||
| 227 | 20년 전 | 2416 | ||
| 226 | 20년 전 | 5496 | ||
| 225 | 20년 전 | 2534 | ||
| 224 | 20년 전 | 2980 | ||
| 223 | 20년 전 | 4212 | ||
| 222 | 20년 전 | 2612 | ||
| 221 | 20년 전 | 2302 | ||
| 220 | 20년 전 | 3690 | ||
| 219 | 20년 전 | 2083 | ||
| 218 | 20년 전 | 3584 | ||
| 217 | 20년 전 | 2494 | ||
| 216 | 20년 전 | 2932 | ||
| 215 | 20년 전 | 2241 | ||
| 214 | 20년 전 | 3348 | ||
| 213 | 20년 전 | 2928 | ||
| 212 | 20년 전 | 3069 | ||
| 211 | 20년 전 | 2156 | ||
| 210 | 20년 전 | 1927 | ||
| 209 | 20년 전 | 2373 | ||
| 208 | 20년 전 | 2000 | ||
| 207 | 20년 전 | 1690 | ||
| 206 | 20년 전 | 1865 | ||
| 205 | 20년 전 | 3958 | ||
| 204 | 20년 전 | 1683 | ||
| 203 | 20년 전 | 2022 | ||
| 202 | 20년 전 | 2364 | ||
| 201 | 20년 전 | 1839 | ||
| 200 | 20년 전 | 2969 | ||
| 199 | 20년 전 | 2012 | ||
| 198 | 20년 전 | 2096 | ||
| 197 | 20년 전 | 3667 | ||
| 196 | 20년 전 | 3006 | ||
| 195 | 20년 전 | 2116 | ||
| 194 | 20년 전 | 10266 | ||
| 193 | 20년 전 | 2262 | ||
| 192 | 20년 전 | 1615 | ||
| 191 | 20년 전 | 2678 | ||
| 190 | 20년 전 | 2299 | ||
| 189 | 20년 전 | 1700 | ||
| 188 | 20년 전 | 1502 | ||
| 187 | 20년 전 | 1922 | ||
| 186 | 20년 전 | 1747 | ||
| 185 | 20년 전 | 1792 | ||
| 184 | 20년 전 | 2378 | ||
| 183 | 20년 전 | 1587 | ||
| 182 | 20년 전 | 1496 | ||
| 181 | 20년 전 | 1637 | ||
| 180 | 20년 전 | 2736 | ||
| 179 | 20년 전 | 1822 | ||
| 178 | 20년 전 | 1871 | ||
| 177 | 20년 전 | 2002 | ||
| 176 | 20년 전 | 1811 | ||
| 175 | 20년 전 | 1878 | ||
| 174 | 20년 전 | 1707 | ||
| 173 | 20년 전 | 2067 | ||
| 172 | 20년 전 | 1793 | ||
| 171 | 20년 전 | 2574 | ||
| 170 | 20년 전 | 2294 | ||
| 169 | 20년 전 | 2571 | ||
| 168 | 20년 전 | 1505 | ||
| 167 | 20년 전 | 1597 | ||
| 166 | 20년 전 | 2169 | ||
| 165 | 20년 전 | 1651 | ||
| 164 | 20년 전 | 3787 | ||
| 163 | 20년 전 | 2686 | ||
| 162 | 20년 전 | 2104 | ||
| 161 | 20년 전 | 2814 | ||
| 160 | 20년 전 | 1751 | ||
| 159 | 20년 전 | 1630 | ||
| 158 | 20년 전 | 2580 | ||
| 157 | 20년 전 | 1506 | ||
| 156 | 20년 전 | 1765 | ||
| 155 | 20년 전 | 3243 | ||
| 154 | 20년 전 | 1918 | ||
| 153 | 20년 전 | 1636 | ||
| 152 | 20년 전 | 4973 | ||
| 151 | 20년 전 | 4591 | ||
| 150 | 20년 전 | 3532 | ||
| 149 | 20년 전 | 3816 | ||
| 148 | 20년 전 | 7097 | ||
| 147 | 20년 전 | 3568 | ||
| 146 | 20년 전 | 2644 | ||
| 145 | 20년 전 | 2635 | ||
| 144 | 20년 전 | 7177 | ||
| 143 | 20년 전 | 4622 | ||
| 142 | 20년 전 | 1909 | ||
| 141 | 20년 전 | 3257 | ||
| 140 | 20년 전 | 1978 | ||
| 139 | 20년 전 | 1611 | ||
| 138 | 20년 전 | 2324 | ||
| 137 | 20년 전 | 1797 | ||
| 136 | 20년 전 | 1467 | ||
| 135 | 20년 전 | 1804 | ||
| 134 | 20년 전 | 2980 | ||
| 133 | 20년 전 | 2470 | ||
| 132 | 20년 전 | 1713 | ||
| 131 | 20년 전 | 1666 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기