Graph gd installation ppm


















Create your free Platform account to download ActivePerl or customize Perl with the packages you require and get automatic updates. Note that although this page shows the status of all builds of this package in PPM, including those available with the free Community Edition of ActivePerl, manually downloading modules ppmx package files is possible only with a Business Edition license. For detailed instructions, please see this FAQ. ActivePerl Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Privacy Policy Contact Us Support. Value labels on the axes and ticks will also not be drawn, but axis lables are drawn. Default: undef. Use two separate axes for the first and second data set. The first data set will be set against the left axis, the second against the right axis.

The same goes for some other options starting with the letter 'y' and an underscore. If two y-axes are in use and more than two datasets are specified, set this option to an array reference containing a value of 1 or 2 for the left and right scales respectively for each dataset being plotted.

That is, to plot three datasets with the second on a different scale than the first and third, set this to [1,2,1]. If set to a true value, the axis for y values of 0 will always be drawn. This might be useful in case your graph contains negative values, but you want it to be clear where the zero value is.

The labels for X values will be placed on the zero axis. If it doesn't, the values will be adapted before attempting to draw the graph. By default 0 of the left axis is aligned with 0 of the right axis, it's not true if any of these options is defined. This space will be left open between text elements and the graph text elements are title and axis labels. If this attribute is set to a true value, the data sets will be cumulated. This means that they will be stacked on top of each other.

A side effect of this is that overwrite will be set to a true value. If you have negative values in your data sets, setting this option might produce odd results. Of course, the graph itself would be quite meaningless. If set to 0, bars of different data sets will be drawn next to each other. If set to 1, they will be drawn in front of each other.

Note: Setting overwrite to 2 to produce cumulative sets is deprecated, and may disappear in future versions of GD::Graph. Instead see the cumulate attribute. You probably never want to fiddle with this. When this value is true, you will need to make sure that the number of data points is smaller than the number of pixels in the plotting area of the chart. If you get errors saying that your horizontal size if too small, you may need to manually switch this off, or consider using something else than a bar type for your chart.

Sometimes you will want to plot the value of a data point or bar above the data point for clarity. GD::Graph allows you to control this in a generic manner, or even down to the single point.

Set this to 1 to display the value of each data point above the point or bar itself. No effort is being made to ensure that there is enough space for the text. Set this to a GD::Graph::Data object, or an array reference of the same shape, with the same dimensions as your data object that you pass in to the plot method.

The reason for this option is that it allows you to make a copy of your data set, and selectively set points to undef to disable plotting of them. If set to a true value, the values will be printed vertically, instead of horizontally. This can be handy if the values are long numbers. If set to a true value, the values that goes out of graph space are hidden. First of all: GD::Graph does not support numerical x axis the way it should. Data for X axes should be equally spaced. That understood: There is some support to make the printing of graphs with numerical X axis values a bit better, thanks to Scott Prahl.

If set to 'auto' , GD::Graph will attempt to format the X axis in a nice way, based on the actual X values. If set to a number, that's the number of ticks you will get. If set to undef, GD::Graph will treat X data as labels. The width of a bar in pixels. Number of pixels to leave open between bars.

This works well in most cases, but on some platforms, a value of 1 will be rounded off to 0. Which line types to use for lines and linespoints graphs. This should be a reference to an array of numbers:. For all other axes graph types, the default behaviour is by their nature to not draw a point when the Y value is undef.

Note that a line will not be drawn unless there are at least two consecutive data points exist that have a defined value. This option is useful when you have a consecutive gap in your data, or with linespoints charts. If you have data where you have intermittent gaps, be careful when you use this.

Default value: 0. This controls the order of markers in points and linespoints graphs. Available markers are: 1: filled square, 2: open square, 3: horizontal cross, 4: diagonal cross, 5: filled diamond, 6: open diamond, 7: filled circle, 8: open circle, 9: horizontal line, vertical line.

Note that the last two are not part of the default list. The size of the markers used in points and linespoints graphs, in pixels. Default: 4. A reference to an array with graph types, in the same order as the data sets. Possible values are:. The type of graph to draw for data sets that either have no type set, or that have an unknown type set.

Sets the keys for the legend. Default: GD::gdTinyFont. Where to put the legend. All of this is internal, and there are not that many new options. We return a GD object now. It's the user's responsibility to save the right format. Instead the package GDTextUtils is necessary. Since perl 5. Alternatively, you can email me, but I prefer it if you use the RT interface. When reporting a bug, please include the version of the module distribution you use, as well as your Perl version and platform perl -V output will do.

I only make this available as a standard tar on CPAN. I have emailed ActiveState to ask what I was supposed to do, and have, until today, not received any answers. I really didn't have the time to look at it, and he stepped in and fixed the headache that Unisys had given me. All rights reserved. Our experts volunteer their time to help other people in the technology industry learn and succeed. Plans and Pricing. Contact Us. Certified Expert Program.

Credly Partnership. Udemy Partnership.



0コメント

  • 1000 / 1000