Image::Magick::Chart

Image::Magick::Chart is a Perl module that allows you to use Image::Magick to create charts.
Download

Image::Magick::Chart Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Ron Savage
  • Publisher web site:
  • http://search.cpan.org/~rsavage/

Image::Magick::Chart Tags


Image::Magick::Chart Description

Image::Magick::Chart is a Perl module that allows you to use Image::Magick to create charts. Image::Magick::Chart is a Perl module that allows you to use Image::Magick to create charts.Synopsis #!/usr/bin/perl use Image::Magick::Chart::HorizontalBars; Image::Magick::Chart::HorizontalBars -> new ( antialias => 0, # 0 => No antialias; 1 => Antialias. bar_width => 8, # Pixels. bg_color => 'white', colorspace => 'RGB', depth => 8, # Bits per channel. fg_color => 'blue', font => 'Courier', frame_color => 'black', frame_option => 1, # 0 => None; 1 => Draw it. height => 0, image => '', output_file_name => 'image-1.png', padding => , # . pointsize => 14, # Points. tick_length => 4, # Pixels. title => 'Percent (%)', width => 0, x_axis_data => , x_axis_labels => , x_axis_labels_option => 1, # 0 => None; 1 => Draw them. x_axis_ticks_option => 2, # 0 => None; 1 => Below x-axis; 2 => Across frame. x_data => , x_data_option => 1, x_pixels_per_unit => 3, # Horizontal width of each data unit. y_axis_data => , # 7 data points, plus 1 to make image pretty. y_axis_labels => , y_axis_labels_option => 1, # 0 => None; 1 => Draw them. y_axis_ticks_option => 1, # 0 => None; 1 => Left of y-axis; 2 => Across frame. y_pixels_per_unit => 20, ) -> draw();This code is part of examples/test-chart.pl.Note: You do not need to specify all the options above, of course, but only those you wish to differ from the defaults. I've included all options in examples/test-chart.pl just to save you the effort of having to type them in. Requirements: · Perl


Image::Magick::Chart Related Software