출처 : 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>
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 8230 | 9년 전 | 119 | ||
| 8229 | 9년 전 | 118 | ||
| 8228 |
커네드커네드
|
9년 전 | 158 | |
| 8227 | 9년 전 | 202 | ||
| 8226 | 9년 전 | 214 | ||
| 8225 | 9년 전 | 196 | ||
| 8224 | 9년 전 | 190 | ||
| 8223 | 9년 전 | 168 | ||
| 8222 |
|
9년 전 | 244 | |
| 8221 | 9년 전 | 151 | ||
| 8220 | 9년 전 | 185 | ||
| 8219 | 9년 전 | 143 | ||
| 8218 | 9년 전 | 191 | ||
| 8217 |
star3840
|
9년 전 | 160 | |
| 8216 | 9년 전 | 230 | ||
| 8215 | 9년 전 | 180 | ||
| 8214 | 9년 전 | 280 | ||
| 8213 | 9년 전 | 231 | ||
| 8212 | 9년 전 | 146 | ||
| 8211 | 9년 전 | 317 | ||
| 8210 | 9년 전 | 326 | ||
| 8209 | 9년 전 | 397 | ||
| 8208 | 9년 전 | 288 | ||
| 8207 | 9년 전 | 291 | ||
| 8206 |
|
9년 전 | 245 | |
| 8205 | 9년 전 | 231 | ||
| 8204 | 9년 전 | 198 | ||
| 8203 | 9년 전 | 278 | ||
| 8202 | 9년 전 | 194 | ||
| 8201 | 9년 전 | 243 | ||
| 8200 | 9년 전 | 236 | ||
| 8199 | 9년 전 | 260 | ||
| 8198 | 9년 전 | 227 | ||
| 8197 | 9년 전 | 219 | ||
| 8196 | 9년 전 | 614 | ||
| 8195 | 9년 전 | 217 | ||
| 8194 | 9년 전 | 333 | ||
| 8193 | 9년 전 | 232 | ||
| 8192 | 9년 전 | 253 | ||
| 8191 | 9년 전 | 207 | ||
| 8190 | 9년 전 | 204 | ||
| 8189 | 9년 전 | 262 | ||
| 8188 | 9년 전 | 196 | ||
| 8187 | 9년 전 | 197 | ||
| 8186 | 9년 전 | 201 | ||
| 8185 | 9년 전 | 370 | ||
| 8184 | 9년 전 | 154 | ||
| 8183 | 9년 전 | 381 | ||
| 8182 | 9년 전 | 234 | ||
| 8181 | 9년 전 | 192 | ||
| 8180 | 9년 전 | 770 | ||
| 8179 | 9년 전 | 538 | ||
| 8178 | 9년 전 | 390 | ||
| 8177 |
kiplayer
|
9년 전 | 393 | |
| 8176 | 9년 전 | 422 | ||
| 8175 | 9년 전 | 301 | ||
| 8174 | 9년 전 | 304 | ||
| 8173 | 9년 전 | 397 | ||
| 8172 | 9년 전 | 261 | ||
| 8171 | 9년 전 | 235 | ||
| 8170 | 9년 전 | 359 | ||
| 8169 |
커네드커네드
|
9년 전 | 310 | |
| 8168 | 9년 전 | 380 | ||
| 8167 | 9년 전 | 375 | ||
| 8166 | 9년 전 | 282 | ||
| 8165 | 9년 전 | 226 | ||
| 8164 | 9년 전 | 363 | ||
| 8163 | 9년 전 | 353 | ||
| 8162 | 9년 전 | 361 | ||
| 8161 | 9년 전 | 372 | ||
| 8160 |
|
9년 전 | 565 | |
| 8159 | 9년 전 | 507 | ||
| 8158 | 9년 전 | 316 | ||
| 8157 | 9년 전 | 430 | ||
| 8156 | 9년 전 | 314 | ||
| 8155 | 9년 전 | 306 | ||
| 8154 |
00년생용띠
|
9년 전 | 647 | |
| 8153 | 9년 전 | 285 | ||
| 8152 |
|
9년 전 | 472 | |
| 8151 | 9년 전 | 466 | ||
| 8150 | 9년 전 | 574 | ||
| 8149 |
Jangfolk
|
9년 전 | 421 | |
| 8148 | 9년 전 | 239 | ||
| 8147 | 9년 전 | 440 | ||
| 8146 | 9년 전 | 516 | ||
| 8145 | 9년 전 | 468 | ||
| 8144 | 9년 전 | 429 | ||
| 8143 | 9년 전 | 262 | ||
| 8142 | 9년 전 | 486 | ||
| 8141 | 9년 전 | 432 | ||
| 8140 | 9년 전 | 981 | ||
| 8139 | 9년 전 | 333 | ||
| 8138 |
전갈자리남자
|
9년 전 | 440 | |
| 8137 | 9년 전 | 475 | ||
| 8136 | 9년 전 | 805 | ||
| 8135 |
|
9년 전 | 841 | |
| 8134 |
PlayPixel
|
9년 전 | 582 | |
| 8133 |
|
9년 전 | 496 | |
| 8132 | 9년 전 | 520 | ||
| 8131 | 9년 전 | 881 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기