NAME

Chart::GGPlot::Theme::Defaults - Pre-defined themes

VERSION

version 0.0009

SYNOPSIS

use Chart::GGPlot::Theme::Defaults qw(:all);

my $theme = theme_grey();

DESCRIPTION

Some predefined themes for the Chart::GGPlot library.

FUNCTIONS

theme_grey

theme_grey(:$base_size=11, :$base_family="",
    :$base_line_size=$base_size / 22, :$base_rect_size=$base_size / 22)

The signature ggplot2 theme with a grey background and white gridlines.

theme_gray

This is same as the theme_grey() method.

theme_bw

theme_bw(:$base_size=11, :$base_family="",
    :$base_line_size=$base_size / 22, :$base_rect_size=$base_size / 22)

The classic dark-on-light ggplot2 theme.

theme_linedraw

theme_linedraw(:$base_size=11, :$base_family="",
    :$base_line_size=$base_size / 22, :$base_rect_size=$base_size / 22)

A theme with only black lines of various widths on white backgrounds, reminiscent of a line drawings.

theme_light

theme_light(:$base_size=11, :$base_family="",
    :$base_line_size=$base_size / 22, :$base_rect_size=$base_size / 22)

A theme similar to theme_linedraw but with light grey lines and axes, to direct more attention towards the data.

theme_dark

theme_dark(:$base_size=11, :$base_family="",
    :$base_line_size=$base_size / 22, :$base_rect_size=$base_size / 22)

The dark cousin of theme_light, with similar line sizes but a dark background. Useful to make thin colored lines pop out.

theme_minimal

theme_minimal(:$base_size=11, :$base_family="",
    :$base_line_size=$base_size / 22, :$base_rect_size=$base_size / 22)

A minimalistic theme with no background annotations.

theme_classic

theme_classic(:$base_size=11, :$base_family="",
    :$base_line_size=$base_size / 22, :$base_rect_size=$base_size / 22)

A classic-looking theme, with x and y axis lines and no gridlines.

theme_void

theme_void(:$base_size=11, :$base_family="",
    :$base_line_size=$base_size / 22, :$base_rect_size=$base_size / 22)

A completely empyt theme.

SEE ALSO

Chart::GGPlot::Theme

AUTHOR

Stephan Loyd <sloyd@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2019 by Stephan Loyd.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.