| Catalyst :: View :: Â÷Æ® :: ½ºÆ®¸³ Â÷Æ® :: ½ºÆ®¸³ ±×·¡ÇÈÀ»À§ÇÑ Ã˸ź¸±â |
Áö±Ý ´Ù¿î·Îµå |
Catalyst :: View :: Â÷Æ® :: ½ºÆ®¸³ ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À̸§:
- Brandon L Black
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~blblack/
Catalyst :: View :: Â÷Æ® :: ½ºÆ®¸³ ű×
Catalyst :: View :: Â÷Æ® :: ½ºÆ®¸³ ¼³¸í
Â÷Æ® :: ½ºÆ®¸³ ±×·¡ÇÈÀ»À§ÇÑ Ã˸ź¸±â Catalyst :: View :: Chart :: StripÀº Ã˸Ÿ¦ ÅëÇØ Â÷Æ® :: ½ºÆ®¸³ ½ºÆ®¸³ Â÷Æ® ±×·¡ÇÈÀÇ ¼ºùÀ» Çã¿ëÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù. ¿ø½Ã ¼ýÀÚ µ¥ÀÌÅÍ ¹× ´Ù¾çÇÑ Â÷Æ® ¿É¼ÇÀº Catalyst :: View :: Chart :: Strip, MyApp :: View :: À§ÀÇ ½Ã³ñ½Ã½º¿¡ Ç¥½ÃµÈ ChartStripÀº ±âº»ÀûÀ¸·Î ´ÙÀ½°ú °°ÀÌ »ý°¢ÇÒ ¼ö ÀÖ½À´Ï´Ù. ´Ù¾çÇÑ Â÷Æ® ¿É¼Ç¿¡ ´ëÇÑ ÀϹÝÀûÀÎ ±âº»°ª ¸ðÀ½ÀÔ´Ï´Ù. ¾Æ¸¶µµ Â÷Æ®ÀÇ °¢ Â÷Æ® ½ºÅ¸ÀÏ¿¡ ´ëÇØ º°µµÀÇ ºä Ŭ·¡½º¸¦ ¸¸µé¾î¾ßÇÕ´Ï´Ù. ÀÀ¿ë ÇÁ·Î±×·¥Àº ÀϹÝÀûÀ¸·Î »ý¼ºµË´Ï´Ù. Chart :: Strip¿¡¼ ¹®¼È µÈ Ç¥ÁØ »ý¼ºÀÚ Àμö´Â View Ŭ·¡½ºÀÇ -> ±¸¼º ¸Å°³ º¯¼ö·Î Áö¿øµÇ¸ç Â÷Æ® »ý¼º¿¡¼ ¹«½ÃÇÒ ¼ö ÀÖ½À´Ï´Ù. $ C-> stash -> {chart_opts}¸¦ ÅëÇÑ ½Ã°£ myApp :: View :: ChartStrip; ¾ö°ÝÇÑ »ç¿ë; ±âº» 'Catalyst :: View :: Chart :: Strip'À» »ç¿ëÇϽʽÿÀ. __package __-> config (cs_package => 'Chart :: strip', height => 192, width => 720, limit_factor => 1, transparent => 0, img_type => 'png', ÆÈ·¹Æ® => ; 1; # Â÷Æ®¸¦ »ý¼ºÇÏ´Â ÄÁÆ®·Ñ·¯ ¹æ¹ý : Sub TheChart : ·ÎÄà {My ($ self, $ c) = @_; $ c-> stash -> {chart_opts} = $ opts; $ C-> stash -> {chart_data} = $ µ¥ÀÌÅÍ; $ c-> ¾ÕÀ¸·Î ( 'myApp :: View :: ChartStrip'); } ¿ä±¸ »çÇ× : ¡¤ Perl.
Catalyst :: View :: Â÷Æ® :: ½ºÆ®¸³ °ü·Ã ¼ÒÇÁÆ®¿þ¾î