출처 : 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년 전 | 194 | ||
| 8229 | 9년 전 | 178 | ||
| 8228 |
커네드커네드
|
9년 전 | 215 | |
| 8227 | 9년 전 | 256 | ||
| 8226 | 9년 전 | 276 | ||
| 8225 | 9년 전 | 261 | ||
| 8224 | 9년 전 | 264 | ||
| 8223 | 9년 전 | 243 | ||
| 8222 |
|
9년 전 | 303 | |
| 8221 | 9년 전 | 201 | ||
| 8220 | 9년 전 | 245 | ||
| 8219 | 9년 전 | 218 | ||
| 8218 | 9년 전 | 262 | ||
| 8217 |
star3840
|
9년 전 | 221 | |
| 8216 | 9년 전 | 298 | ||
| 8215 | 9년 전 | 243 | ||
| 8214 | 9년 전 | 347 | ||
| 8213 | 9년 전 | 305 | ||
| 8212 | 9년 전 | 218 | ||
| 8211 | 9년 전 | 389 | ||
| 8210 | 9년 전 | 384 | ||
| 8209 | 9년 전 | 465 | ||
| 8208 | 9년 전 | 346 | ||
| 8207 | 9년 전 | 362 | ||
| 8206 |
|
9년 전 | 309 | |
| 8205 | 9년 전 | 281 | ||
| 8204 | 9년 전 | 270 | ||
| 8203 | 9년 전 | 349 | ||
| 8202 | 9년 전 | 256 | ||
| 8201 | 9년 전 | 299 | ||
| 8200 | 9년 전 | 303 | ||
| 8199 | 9년 전 | 330 | ||
| 8198 | 9년 전 | 294 | ||
| 8197 | 9년 전 | 287 | ||
| 8196 | 9년 전 | 709 | ||
| 8195 | 9년 전 | 292 | ||
| 8194 | 9년 전 | 400 | ||
| 8193 | 9년 전 | 317 | ||
| 8192 | 9년 전 | 318 | ||
| 8191 | 9년 전 | 279 | ||
| 8190 | 9년 전 | 259 | ||
| 8189 | 9년 전 | 322 | ||
| 8188 | 9년 전 | 255 | ||
| 8187 | 9년 전 | 272 | ||
| 8186 | 9년 전 | 271 | ||
| 8185 | 9년 전 | 439 | ||
| 8184 | 9년 전 | 222 | ||
| 8183 | 9년 전 | 428 | ||
| 8182 | 9년 전 | 299 | ||
| 8181 | 9년 전 | 250 | ||
| 8180 | 9년 전 | 827 | ||
| 8179 | 9년 전 | 605 | ||
| 8178 | 9년 전 | 464 | ||
| 8177 |
kiplayer
|
9년 전 | 461 | |
| 8176 | 9년 전 | 498 | ||
| 8175 | 9년 전 | 378 | ||
| 8174 | 9년 전 | 373 | ||
| 8173 | 9년 전 | 460 | ||
| 8172 | 9년 전 | 342 | ||
| 8171 | 9년 전 | 306 | ||
| 8170 | 9년 전 | 422 | ||
| 8169 |
커네드커네드
|
9년 전 | 370 | |
| 8168 | 9년 전 | 460 | ||
| 8167 | 9년 전 | 447 | ||
| 8166 | 9년 전 | 349 | ||
| 8165 | 9년 전 | 286 | ||
| 8164 | 9년 전 | 418 | ||
| 8163 | 9년 전 | 423 | ||
| 8162 | 9년 전 | 404 | ||
| 8161 | 9년 전 | 424 | ||
| 8160 |
|
9년 전 | 642 | |
| 8159 | 9년 전 | 588 | ||
| 8158 | 9년 전 | 384 | ||
| 8157 | 9년 전 | 508 | ||
| 8156 | 9년 전 | 379 | ||
| 8155 | 9년 전 | 391 | ||
| 8154 |
00년생용띠
|
9년 전 | 710 | |
| 8153 | 9년 전 | 352 | ||
| 8152 |
|
9년 전 | 527 | |
| 8151 | 9년 전 | 521 | ||
| 8150 | 9년 전 | 640 | ||
| 8149 |
Jangfolk
|
9년 전 | 500 | |
| 8148 | 9년 전 | 313 | ||
| 8147 | 9년 전 | 496 | ||
| 8146 | 9년 전 | 579 | ||
| 8145 | 9년 전 | 537 | ||
| 8144 | 9년 전 | 505 | ||
| 8143 | 9년 전 | 331 | ||
| 8142 | 9년 전 | 550 | ||
| 8141 | 9년 전 | 491 | ||
| 8140 | 9년 전 | 1063 | ||
| 8139 | 9년 전 | 397 | ||
| 8138 |
전갈자리남자
|
9년 전 | 510 | |
| 8137 | 9년 전 | 549 | ||
| 8136 | 9년 전 | 875 | ||
| 8135 |
|
9년 전 | 925 | |
| 8134 |
PlayPixel
|
9년 전 | 665 | |
| 8133 |
|
9년 전 | 565 | |
| 8132 | 9년 전 | 595 | ||
| 8131 | 9년 전 | 954 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기