출처 : 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년 전 | 4097 | ||
| 429 | 19년 전 | 3297 | ||
| 428 | 19년 전 | 4132 | ||
| 427 | 19년 전 | 3467 | ||
| 426 | 19년 전 | 3101 | ||
| 425 | 19년 전 | 3403 | ||
| 424 | 19년 전 | 2438 | ||
| 423 | 19년 전 | 2860 | ||
| 422 | 19년 전 | 2347 | ||
| 421 | 19년 전 | 3707 | ||
| 420 | 19년 전 | 4735 | ||
| 419 | 19년 전 | 3793 | ||
| 418 |
|
19년 전 | 1742 | |
| 417 | 19년 전 | 2743 | ||
| 416 | 19년 전 | 2387 | ||
| 415 | 19년 전 | 2605 | ||
| 414 | 19년 전 | 4407 | ||
| 413 |
|
19년 전 | 2596 | |
| 412 | 19년 전 | 3046 | ||
| 411 |
|
19년 전 | 2991 | |
| 410 |
|
19년 전 | 3680 | |
| 409 |
|
19년 전 | 3632 | |
| 408 |
|
19년 전 | 1853 | |
| 407 | 19년 전 | 2226 | ||
| 406 | 19년 전 | 2780 | ||
| 405 | 19년 전 | 2442 | ||
| 404 | 19년 전 | 4297 | ||
| 403 | 19년 전 | 3301 | ||
| 402 |
NeoGenesis
|
19년 전 | 4088 | |
| 401 | 19년 전 | 2605 | ||
| 400 |
|
19년 전 | 2491 | |
| 399 | 19년 전 | 2953 | ||
| 398 | 19년 전 | 2483 | ||
| 397 | 19년 전 | 2778 | ||
| 396 | 19년 전 | 2470 | ||
| 395 | 19년 전 | 3176 | ||
| 394 | 19년 전 | 1716 | ||
| 393 | 19년 전 | 2991 | ||
| 392 | 19년 전 | 2249 | ||
| 391 | 19년 전 | 2176 | ||
| 390 | 19년 전 | 2284 | ||
| 389 | 19년 전 | 2643 | ||
| 388 | 19년 전 | 2173 | ||
| 387 | 19년 전 | 4484 | ||
| 386 |
|
19년 전 | 2689 | |
| 385 |
|
19년 전 | 2480 | |
| 384 | 19년 전 | 3007 | ||
| 383 | 19년 전 | 3050 | ||
| 382 | 19년 전 | 3104 | ||
| 381 |
|
19년 전 | 2629 | |
| 380 |
|
19년 전 | 3014 | |
| 379 | 19년 전 | 2545 | ||
| 378 | 19년 전 | 2205 | ||
| 377 | 19년 전 | 2776 | ||
| 376 | 19년 전 | 2467 | ||
| 375 |
|
19년 전 | 2555 | |
| 374 | 19년 전 | 3815 | ||
| 373 | 19년 전 | 3264 | ||
| 372 | 19년 전 | 4985 | ||
| 371 |
세은아빠2
|
19년 전 | 2412 | |
| 370 | 19년 전 | 4495 | ||
| 369 | 19년 전 | 3109 | ||
| 368 | 19년 전 | 2899 | ||
| 367 | 19년 전 | 3722 | ||
| 366 | 19년 전 | 2648 | ||
| 365 | 19년 전 | 3734 | ||
| 364 | 19년 전 | 4009 | ||
| 363 | 19년 전 | 3434 | ||
| 362 | 19년 전 | 3474 | ||
| 361 | 19년 전 | 4106 | ||
| 360 |
hwatta
|
19년 전 | 2360 | |
| 359 | 19년 전 | 5099 | ||
| 358 | 19년 전 | 3654 | ||
| 357 | 19년 전 | 2594 | ||
| 356 |
sdesign1s
|
19년 전 | 2274 | |
| 355 | 20년 전 | 2749 | ||
| 354 | 20년 전 | 3027 | ||
| 353 | 20년 전 | 2787 | ||
| 352 |
|
20년 전 | 5768 | |
| 351 |
|
20년 전 | 2700 | |
| 350 |
|
20년 전 | 4289 | |
| 349 |
hwatta
|
20년 전 | 2180 | |
| 348 | 20년 전 | 7306 | ||
| 347 | 20년 전 | 2412 | ||
| 346 | 20년 전 | 3501 | ||
| 345 | 20년 전 | 4305 | ||
| 344 | 20년 전 | 2642 | ||
| 343 | 20년 전 | 3918 | ||
| 342 | 20년 전 | 3064 | ||
| 341 | 20년 전 | 4085 | ||
| 340 |
|
20년 전 | 5137 | |
| 339 |
|
20년 전 | 4231 | |
| 338 | 20년 전 | 5867 | ||
| 337 | 20년 전 | 2042 | ||
| 336 |
|
20년 전 | 3314 | |
| 335 |
|
20년 전 | 3536 | |
| 334 |
|
20년 전 | 2918 | |
| 333 |
hwatta
|
20년 전 | 2431 | |
| 332 | 20년 전 | 4653 | ||
| 331 | 20년 전 | 2267 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기