출처 : 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>
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 430 | 19년 전 | 4083 | ||
| 429 | 19년 전 | 3275 | ||
| 428 | 19년 전 | 4112 | ||
| 427 | 19년 전 | 3456 | ||
| 426 | 19년 전 | 3086 | ||
| 425 | 19년 전 | 3382 | ||
| 424 | 19년 전 | 2427 | ||
| 423 | 19년 전 | 2834 | ||
| 422 | 19년 전 | 2328 | ||
| 421 | 19년 전 | 3692 | ||
| 420 | 19년 전 | 4722 | ||
| 419 | 19년 전 | 3760 | ||
| 418 |
|
19년 전 | 1718 | |
| 417 | 19년 전 | 2726 | ||
| 416 | 19년 전 | 2370 | ||
| 415 | 19년 전 | 2598 | ||
| 414 | 19년 전 | 4390 | ||
| 413 |
|
19년 전 | 2562 | |
| 412 | 19년 전 | 3018 | ||
| 411 |
|
19년 전 | 2974 | |
| 410 |
|
19년 전 | 3648 | |
| 409 |
|
19년 전 | 3608 | |
| 408 |
|
19년 전 | 1826 | |
| 407 | 19년 전 | 2197 | ||
| 406 | 19년 전 | 2759 | ||
| 405 | 19년 전 | 2425 | ||
| 404 | 19년 전 | 4287 | ||
| 403 | 19년 전 | 3284 | ||
| 402 |
NeoGenesis
|
19년 전 | 4068 | |
| 401 | 19년 전 | 2581 | ||
| 400 |
|
19년 전 | 2464 | |
| 399 | 19년 전 | 2937 | ||
| 398 | 19년 전 | 2465 | ||
| 397 | 19년 전 | 2764 | ||
| 396 | 19년 전 | 2455 | ||
| 395 | 19년 전 | 3163 | ||
| 394 | 19년 전 | 1682 | ||
| 393 | 19년 전 | 2976 | ||
| 392 | 19년 전 | 2235 | ||
| 391 | 19년 전 | 2165 | ||
| 390 | 19년 전 | 2258 | ||
| 389 | 19년 전 | 2613 | ||
| 388 | 19년 전 | 2108 | ||
| 387 | 19년 전 | 4451 | ||
| 386 |
|
19년 전 | 2664 | |
| 385 |
|
19년 전 | 2446 | |
| 384 | 19년 전 | 2952 | ||
| 383 | 19년 전 | 3034 | ||
| 382 | 19년 전 | 3087 | ||
| 381 |
|
19년 전 | 2619 | |
| 380 |
|
19년 전 | 2997 | |
| 379 | 19년 전 | 2529 | ||
| 378 | 19년 전 | 2186 | ||
| 377 | 19년 전 | 2766 | ||
| 376 | 19년 전 | 2455 | ||
| 375 |
|
19년 전 | 2532 | |
| 374 | 19년 전 | 3786 | ||
| 373 | 19년 전 | 3251 | ||
| 372 | 19년 전 | 4971 | ||
| 371 |
세은아빠2
|
19년 전 | 2395 | |
| 370 | 19년 전 | 4488 | ||
| 369 | 19년 전 | 3088 | ||
| 368 | 19년 전 | 2871 | ||
| 367 | 19년 전 | 3711 | ||
| 366 | 19년 전 | 2625 | ||
| 365 | 19년 전 | 3709 | ||
| 364 | 19년 전 | 3982 | ||
| 363 | 19년 전 | 3413 | ||
| 362 | 19년 전 | 3464 | ||
| 361 | 19년 전 | 4084 | ||
| 360 |
hwatta
|
19년 전 | 2337 | |
| 359 | 19년 전 | 5071 | ||
| 358 | 19년 전 | 3627 | ||
| 357 | 19년 전 | 2575 | ||
| 356 |
sdesign1s
|
19년 전 | 2254 | |
| 355 | 20년 전 | 2717 | ||
| 354 | 20년 전 | 3010 | ||
| 353 | 20년 전 | 2778 | ||
| 352 |
|
20년 전 | 5760 | |
| 351 |
|
20년 전 | 2680 | |
| 350 |
|
20년 전 | 4260 | |
| 349 |
hwatta
|
20년 전 | 2143 | |
| 348 | 20년 전 | 7292 | ||
| 347 | 20년 전 | 2399 | ||
| 346 | 20년 전 | 3467 | ||
| 345 | 20년 전 | 4276 | ||
| 344 | 20년 전 | 2599 | ||
| 343 | 20년 전 | 3886 | ||
| 342 | 20년 전 | 3045 | ||
| 341 | 20년 전 | 4068 | ||
| 340 |
|
20년 전 | 5099 | |
| 339 |
|
20년 전 | 4206 | |
| 338 | 20년 전 | 5831 | ||
| 337 | 20년 전 | 2017 | ||
| 336 |
|
20년 전 | 3287 | |
| 335 |
|
20년 전 | 3521 | |
| 334 |
|
20년 전 | 2900 | |
| 333 |
hwatta
|
20년 전 | 2409 | |
| 332 | 20년 전 | 4639 | ||
| 331 | 20년 전 | 2251 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기