File: AnnotatedTimeline.pm

package info (click to toggle)
libjifty-plugin-chart-perl 1.01%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 364 kB
  • sloc: perl: 2,614; sh: 48; makefile: 2
file content (16 lines) | stat: -rw-r--r-- 404 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package Jifty::Plugin::Chart::Renderer::GoogleViz::AnnotatedTimeline;
use strict;
use warnings;
use base 'Jifty::Plugin::Chart::Renderer::GoogleViz';

use constant packages_to_load => 'annotatedtimeline';
use constant chart_class => 'google.visualization.AnnotatedTimeLine';

sub draw_params {
    my $self = shift;
    my $opts = shift || {};
    return { displayAnnotations => 'true', %$opts };
}

1;