Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

jifty::plugin::chart::renderer(3pm) [debian man page]

Jifty::Plugin::Chart::Renderer(3pm)			User Contributed Perl Documentation		       Jifty::Plugin::Chart::Renderer(3pm)

NAME
Jifty::Plugin::Chart::Renderer - Base class for chart rendering classes SYNOPSIS
In your config.yml: Plugins: - Chart: DefaultRenderer: MyApp::Renderer In lib/MyApp/Renderer.pm: package MyApp::Renderer; use base qw/ Jifty::Plugin::Chart::Renderer /; sub init { my $self = shift; # Handle any required initialization, like required CSS, JS, etc. } sub render { my $self = shift; my %args = @_; # Output your chart Jifty->web->out( #{ Output your chart here... } ); # You could also return it as a string... return; } METHODS
Your renderer implementation must subclass this package and implement the following methods: new This is the constructor. Don't override this directly. Instead implement "init". init $renderer->init(); This is called by "new" immediately after constructing the object. It is passed a param hash from the config file. Subclasses should implement this method to do any required initialization such as letting Jifty know about required CSS files, JS files, etc. render Jifty->web->out($renderer->render(%args)); See Jifty::Plugin::Chart::Web for the arguments. It must (at least) accept the arguments given to the "chart" in Jifty::Plugin::Chart::Web method. The "render" method may either return it's output or print it out using Jifty::Web::out. SEE ALSO
Jifty::Plugin::Chart::Web, Jifty::Plugin::Chart::Renderer::Chart AUTHOR
Andrew Sterling Hanenkamp "<andrew.hanenkamp@boomer.com>" COPYRIGHT AND LICENSE
Copyright 2007 Boomer Consulting, Inc. This is free software and may be modified and distributed under the same terms as Perl itself. perl v5.12.4 2009-03-09 Jifty::Plugin::Chart::Renderer(3pm)

Check Out this Related Man Page

Chart::Clicker::Renderer::Line(3pm)			User Contributed Perl Documentation		       Chart::Clicker::Renderer::Line(3pm)

NAME
Chart::Clicker::Renderer::Line - Line renderer VERSION
version 2.83 SYNOPSIS
my $lr = Chart::Clicker::Renderer::Line->new( brush => Graphics::Primitive::Brush->new({ #... }) ); DESCRIPTION
Chart::Clicker::Renderer::Line renders a dataset as lines. ATTRIBUTES
additive If true, the lines are drawn "stacked", each key accumulates based on those drawn below it. brush Set/Get a brush to be used for the lines. shape Set a shape object to draw at each of the data points. Adding a shape results in: shape_brush Set/Get the brush to be used on the shapes at each point. If no shape_brush is provided, then the shapes will be filled. The brush allows you to draw a "halo" around each shape. This sometimes help to separate the points from the lines and make them more distinct. METHODS
draw_point Called for each point encountered on the line. AUTHOR
Cory G Watson <gphat@cpan.org> COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Cold Hard Code, LLC. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.14.2 2012-06-22 Chart::Clicker::Renderer::Line(3pm)
Man Page

2 More Discussions You Might Find Interesting

1. Programming

Flow Chart

Any One help how to draw the flow chart for C programe ? If any usefull link's. (1 Reply)
Discussion started by: sabari
1 Replies

2. Web Development

Localization

I would like to know the methods or concept of how localization as made in regards to Web pages. I mean generally web servers render pages in different language but the content are same. How the translation are made? Thanks in advance (2 Replies)
Discussion started by: uunniixx
2 Replies