출처 : 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>
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 1530 |
1111111
|
18년 전 | 1969 | |
| 1529 |
행복속네잎크로버
|
18년 전 | 3467 | |
| 1528 |
행복속네잎크로버
|
18년 전 | 1853 | |
| 1527 |
1111111
|
18년 전 | 7652 | |
| 1526 |
1111111
|
18년 전 | 3286 | |
| 1525 |
행복속네잎크로버
|
18년 전 | 1270 | |
| 1524 |
행복속네잎크로버
|
18년 전 | 2309 | |
| 1523 |
행복속네잎크로버
|
18년 전 | 3511 | |
| 1522 |
행복속네잎크로버
|
18년 전 | 2366 | |
| 1521 |
행복속네잎크로버
|
18년 전 | 2144 | |
| 1520 |
행복속네잎크로버
|
18년 전 | 2766 | |
| 1519 |
행복속네잎크로버
|
18년 전 | 3722 | |
| 1518 |
행복속네잎크로버
|
18년 전 | 3488 | |
| 1517 |
행복속네잎크로버
|
18년 전 | 2572 | |
| 1516 |
행복속네잎크로버
|
18년 전 | 1920 | |
| 1515 |
행복속네잎크로버
|
18년 전 | 1945 | |
| 1514 |
행복속네잎크로버
|
18년 전 | 2515 | |
| 1513 |
행복속네잎크로버
|
18년 전 | 1990 | |
| 1512 | 18년 전 | 2881 | ||
| 1511 | 18년 전 | 1668 | ||
| 1510 | 18년 전 | 2208 | ||
| 1509 | 18년 전 | 1686 | ||
| 1508 | 18년 전 | 2140 | ||
| 1507 | 18년 전 | 2364 | ||
| 1506 | 18년 전 | 2299 | ||
| 1505 | 18년 전 | 2249 | ||
| 1504 | 18년 전 | 2178 | ||
| 1503 | 18년 전 | 3488 | ||
| 1502 | 18년 전 | 1671 | ||
| 1501 | 18년 전 | 3442 | ||
| 1500 | 18년 전 | 2029 | ||
| 1499 | 18년 전 | 5297 | ||
| 1498 | 18년 전 | 2162 | ||
| 1497 |
hsp1980
|
18년 전 | 2345 | |
| 1496 |
hsp1980
|
18년 전 | 1730 | |
| 1495 |
hsp1980
|
18년 전 | 2134 | |
| 1494 |
hsp1980
|
18년 전 | 3650 | |
| 1493 | 18년 전 | 1506 | ||
| 1492 | 18년 전 | 1749 | ||
| 1491 | 18년 전 | 4324 | ||
| 1490 | 18년 전 | 3707 | ||
| 1489 | 18년 전 | 3267 | ||
| 1488 | 18년 전 | 3372 | ||
| 1487 |
mixdesign
|
18년 전 | 3869 | |
| 1486 |
mixdesign
|
18년 전 | 4331 | |
| 1485 | 18년 전 | 4260 | ||
| 1484 | 18년 전 | 2702 | ||
| 1483 |
hsp1980
|
18년 전 | 2314 | |
| 1482 |
hsp1980
|
18년 전 | 3249 | |
| 1481 |
hsp1980
|
18년 전 | 3166 | |
| 1480 |
hsp1980
|
18년 전 | 3322 | |
| 1479 | 18년 전 | 3257 | ||
| 1478 |
|
18년 전 | 4926 | |
| 1477 |
|
18년 전 | 5217 | |
| 1476 | 18년 전 | 3410 | ||
| 1475 |
mixdesign
|
18년 전 | 2722 | |
| 1474 |
mixdesign
|
18년 전 | 2941 | |
| 1473 |
mixdesign
|
18년 전 | 2272 | |
| 1472 |
mixdesign
|
18년 전 | 2086 | |
| 1471 |
mixdesign
|
18년 전 | 2044 | |
| 1470 |
|
18년 전 | 3075 | |
| 1469 |
mixdesign
|
18년 전 | 2356 | |
| 1468 |
mixdesign
|
18년 전 | 2380 | |
| 1467 |
mixdesign
|
18년 전 | 2062 | |
| 1466 |
mixdesign
|
18년 전 | 2429 | |
| 1465 |
mixdesign
|
18년 전 | 3159 | |
| 1464 | 18년 전 | 4087 | ||
| 1463 | 18년 전 | 3383 | ||
| 1462 |
|
18년 전 | 2001 | |
| 1461 |
|
18년 전 | 1943 | |
| 1460 | 18년 전 | 2861 | ||
| 1459 | 18년 전 | 1658 | ||
| 1458 |
|
18년 전 | 2007 | |
| 1457 |
mixdesign
|
18년 전 | 2304 | |
| 1456 |
mixdesign
|
18년 전 | 2168 | |
| 1455 | 18년 전 | 2289 | ||
| 1454 | 18년 전 | 4048 | ||
| 1453 | 18년 전 | 1786 | ||
| 1452 | 18년 전 | 4404 | ||
| 1451 | 18년 전 | 2938 | ||
| 1450 | 18년 전 | 2222 | ||
| 1449 | 18년 전 | 3267 | ||
| 1448 | 18년 전 | 2904 | ||
| 1447 | 18년 전 | 2831 | ||
| 1446 | 18년 전 | 5639 | ||
| 1445 | 18년 전 | 2304 | ||
| 1444 | 18년 전 | 3414 | ||
| 1443 |
|
18년 전 | 3334 | |
| 1442 | 18년 전 | 3718 | ||
| 1441 | 18년 전 | 3271 | ||
| 1440 | 18년 전 | 2452 | ||
| 1439 | 18년 전 | 2093 | ||
| 1438 | 18년 전 | 2547 | ||
| 1437 | 18년 전 | 6117 | ||
| 1436 | 18년 전 | 2739 | ||
| 1435 | 18년 전 | 4548 | ||
| 1434 | 18년 전 | 2050 | ||
| 1433 | 18년 전 | 10045 | ||
| 1432 | 18년 전 | 2493 | ||
| 1431 |
Psychedelico
|
18년 전 | 1552 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기