1Chart::Manual::PropertiUesse(r3)Contributed Perl DocumenCthaatrito:n:Manual::Properties(3)
2
3
4

NAME

6       Chart::Manual::Properties - complete guide to Chart's changeable
7       properties
8

INTRO

10       Individual properties of a chart can be changed via method "set":
11
12           $chart_object->set( %properties);
13           $chart_object->set( key => 'value', ... );
14
15       This page documents all viable keys and values for this calls.
16
17       The first section lists the most common data types and their acceptable
18       values.
19
20       Please note that all chart type reacts only to a distinct subset of
21       properties. The section section therefore groups all properties by
22       chart type or set of types, where they have an effect. The descriptions
23       in this section are shortened to achive a tabular overview.
24
25       A fuller description of each property provides the third section, where
26       they are alpabetically sorted.
27
28       The general layout of a chart image:
29

DATA TYPES

31       Every key expects values of a certain data type. The more often
32       occurring types are sorted, enumerated and decibed in this section.
33
34   boolean
35       Yes or no decisions you can answer with the perlish 0 or 1 as well as
36       with 'true' or 'false', which might be shortened to 't' and 'T' or 'f'
37       and 'F'. 'none' as an alias of 'false' is also an option.
38
39   code
40       Anonymous subroutine that usually takes the first argument and returns
41       a transformed result:
42
43           sub { $_[0] + 1 }
44
45   color
46       The usual options are:
47
48         names:  'blue'
49
50       All names are tabulated visually and by name under "NAMES" in
51       Chart::Color::Constant.  You can also define a color with integer
52       values in the RGB or HSL space.  Acceptable ranges are for RGB: 3x
53       0..255 and for  HSL: 0..359, 2 x 0..100.
54
55         RGB triplets: [0,255,255]
56         RGB hashes: { Red =>   0,  Green => 255, Blue => 255 }
57         RGB hashes: { R   =>   0,  G     => 255, B    => 255 }
58         HSL hashes: { H   => 240,  S     => 100, L     => 50 }
59         HSL hashes: { hue => 240, saturation => 100, lightness => 50 }
60
61       Detailed explanation and even more options you find under Chart::Color.
62
63   font
64       There are a handful GD built in font object, than can be referenced:
65
66           GD::Font->Tiny
67           GD::Font->Small
68           GD::Font->MediumBold
69           GD::Font->Large
70           GD::Font->Giant
71
72   integer
73       Whole numbers (without decimals) to set position, size and alike.
74
75   positive integer
76       Integers greater or equal zero.
77
78   string
79       Short texts for title, sub_title and labels on axis, tics and legend.
80       Line breaks ("/n") are only acceptable inside single quotes and in the
81       "title".
82

BY CHART TYPE

84       Summary of all properties, grouped by chart type where there
85       applicable.  Sections are named after the Chart type in question,
86       except All and NoPie.
87
88       The format is: name, type, description, default value Click on name for
89       a longer explanation.
90
91   All
92       Properties available in all chart types:
93
94       colors-background ... "color" of whole image background ; 'white'
95
96       colors-datasetx ..... "color" of points/lines/bars of dataset number x
97       = 0..64
98
99       colors-grid_lines ... "color" of vertical and horizontal grid lines in
100       the plot background; 'black'
101
102       colors-x_grid_lines . "color" of vertical grid lines; 'black'
103
104       colors-y_grid_lines . "color" of horizontal grid lines; 'black'
105
106       colors-text ......... "color" of all text ; 'black'
107
108       colors-title ........ "color" of text above the graph ; 'black'
109
110       colors-x_label ...... "color" of x-axis label text; 'black'
111
112       colors-y_label ...... "color" of y-axis (left side) label text; 'black'
113
114       colors-y_label2 .... "color" of y-axis (right side) label text; 'black'
115
116       colors-misc ....... "color" of boxes, ticks, axis and alike; 'black'
117
118       "f_x_tick" ................ "code" that transforms "would have" into
119       actual tick label on left x-axis; "undef"
120
121       "f_y_tick" ............... "code" that transforms "would have" into
122       actual tick label on right y-axis; "undef"
123
124       "graph_border" .......... space between graph and title + legend in
125       pixel; 10
126
127       "grey_background" ...... bool: sets plot background to grey; 'true'
128
129       "imagemap" ............ bool: enable imagemap_dump(); 'false'
130
131       "label_font" .......... "font" of axis labels; GD::Font->MediumBold
132
133       "legend" .............. qw[left right top bottom none]: placement of
134       the legend; 'right'
135
136       "legend_font" ......... "font" of the text in the legend;
137       GD::Font->Small.
138
139       "legend_labels" ....... (array ref): labels of colors in legend;
140       "undef"
141
142       "png_border" .......... pos_int: space between graph parts and image
143       edge in pixel; 10
144
145       "sub_title" ........... "string": text below the "title" in smaller
146       letters; ''
147
148       "text_space" .......... pos_int: extra space around any text; 2
149
150       "title" ............... "string": text on top of a chart; ''
151
152       "title_font" .......... "font" of the title text; GD::Font->Large
153
154       "transparent" ......... bool: full image background transparency;
155       'false'
156
157       "x_label" ............. "string": x-axis label text; ''
158
159       "y_label" ............. "string":label on the standard, left y-axis; ''
160
161       "y_label2" ............ "string":label on right y-axis, if different;
162       ''
163
164   NoPie
165       Properties available in all chart types of kinda xy-plot, not "Pie":
166
167       "custom_x_ticks" ..... (array ref): [0,3,4] displays  0th, 3rd, and 4th
168       x-tick; "undef"
169
170       "grid_lines" ......... bool: draw vertical and horizontal grid lines;
171       'false'
172
173       "include_zero" ....... bool: forces y-axis to include zero; 'false'
174
175       "integer_ticks_only" . bool: draw x-axis ticks with label only on whole
176       values; 'false'
177
178       "max_val" ............ pos_int: maximum value on y-axis; "undef"
179
180       "max_x_ticks" ........ pos_int: maximum of ticks and labels to draw on
181       x-axis; 100
182
183       "max_y_ticks" ........ pos_int: maximum of ticks and labels to draw on
184       y-axis; 100
185
186       "min_val" ............ pos_int: maximum value on y-axis; "undef"
187
188       "min_x_ticks" ........ pos_int: minimum of ticks and labels to draw on
189       x-axis; 6 (min 2)
190
191       "min_y_ticks" ........ pos_int: minimum of ticks and labels to draw on
192       y-axis; 6 (min 2)
193
194       "precision" .......... pos_int: nr. of numerals after the decimal point
195       in axis labels; 3
196
197       "skip_int_ticks" ..... pos_int: draw only n'th tick on whole x-value; 1
198       (if "integer_ticks_only")
199
200       "skip_x_ticks" ....... pos_int: draw only every n'th tick with label; 1
201
202       "sort" ............... bool: sort data in ascending order; 'false'
203
204       "tick_label_font" .... "font" of tick labels;  GD::Font->Small
205
206       "tick_len" ........... pos_int: length of the x- and y-ticks in pixels;
207       4
208
209       "x_grid_lines" ....... bool: vertical grid lines matching x ticks;
210       'false'
211
212       "x_ticks" ............ qw[normal staggered vertical]: style of x-axis
213       labels; 'normal'
214
215       "xy_plot" ............ bool: forces x-y-graph, with numeric x-axis;
216       'false'
217
218       "y_axes" ............. ('left', 'right', 'both'): position of
219       y-axis;'left'
220
221       "y_grid_lines" ....... bool: horizontal grid lines matching y ticks;
222       'false'
223
224   Bars
225       This includes Bars StackedBars and HorizontalBars.
226
227       "spaced_bars" ........ bool: leave space between the groups of bars;
228       'true'
229
230   HorizontalBars
231       "skip_y_ticks" ....... pos_int: draw every n'th tick with label on
232       y-axis; 1
233
234   Composite
235       "brush_style1" ....... brush style of points associated with left
236       y-axis; "undef"
237
238       "brush_style2" ....... brush style of points associated with right
239       y-axis; "undef"
240
241       "composite_info" ..... (array of arrays) which data sets produce which
242       chart types; "undef"
243
244       "f_y_tick1" .......... "code" that transforms "would have" into actual
245       label on left y-axis; "undef"
246
247       "f_y_tick2" .......... "code" that transforms "would have" into actual
248       label on right y-axis; "undef"
249
250       "legend_example_size"  Length of the color example line in legend in
251       pixel; 20
252
253       "max_val1" ........... "code" maximum y value on the left axis; "undef"
254
255       "max_val2" ........... "code" maximum y value on the right axis;
256       "undef"
257
258       "min_val1" ........... "code" minimum y value on the left axis; "undef"
259
260       "min_val2" ........... "code" minimum y value on the right axis;
261       "undef"
262
263       "same_y_axes" ........ "code" both y-axis have same min and max;
264       "undef"
265
266       "y_ticks1" ........... pos_int: number of y ticks on left y-axis;
267       "undef"
268
269       "y_ticks2" ........... pos_int: number of y ticks on right y-axis;
270       "undef"
271
272   Direction
273       "angle_interval" ..... pos_int: angle between radial lines; 30
274
275       "arrow" .............. bool: paint points as arrows; 'false'
276
277       "brush_size" ......... pos_int: width of the lines in pixels; 6
278
279       "line" ............... bool: connected points with lines; 'false'
280
281       "max_circles" ........ pos_int: max nr. of coordinate grid circles; 100
282
283       "min_circles" ........ pos_int: min nr. of coordinate grid circles; 4
284       (min. 2)
285
286       "pair" ............... bool: use odd numbered data sets to build pairs
287       with the next; 'false'
288
289       "point" .............. bool: paint points at all (or only lines);
290       'false'
291
292       "polar" .............. bool: reverse x axis; 'false'
293
294       "pt_size" ............ pos_int: radius of points in pixels; 18
295
296   ErrorBars
297       "brush_size" ......... pos_int: width of the lines in pixels; 6
298
299       "pt_size" ............ pos_int: radius of points in pixels; 18
300
301       "same_error" ......... bool: same values for upper and lower error
302       bounds; 'false'
303
304   Lines
305       including chart type LinesPoints
306
307       "brush_size" ......... pos_int: width of the lines in pixels; 6
308
309   Points
310       including chart type LinesPoints
311
312       "brushStyle" ......... shape of the points; 'FilledCircle'
313
314       "pt_size" ............ pos_int: radius of points in pixels; 18
315
316   Pie
317       "label_values" ....... qw[percent value both none]: label content on
318       pie slice label; 'percent'
319
320       "legend_label_values"  qw[percent value both none]: label content in
321       the legend; 'value'
322
323       "legend_lines" ....... bool: draw lines connecting pie slices and
324       label; 'false'
325
326       "ring" ............... "real": percentage of visible radius; 1 (full
327       pie)
328
329   Split
330       "interval" ........... pos_int: interval of a plot segment; 'undef'
331
332       "interval_ticks" ..... pos_int: number of ticks on x-axis; 5
333
334       "scale" .............. "integer": factor for y-values; 1
335
336       "start" .............. "integer": start value of the first interval;
337       'undef'
338

ALPHABETICALLY

340   angle_interval
341       "Direction" only: how many radial lines should be drawn.  The default
342       value is 30, which means that a line will be drawn every 30 degrees.
343       Valid Values are: 0, 5, 10, 15, 20, 30, 45 and 60.  If you choose 0,
344       direction will draw no line.
345
346   arrow
347       "Direction" only: Bool that if 'true', chart will draw a arrow from the
348       center to the point. Defaults to 'false'.
349
350   brush_size
351       "Lines" only: Integer sets the width of the lines in pixels. Default is
352       6.
353
354   background
355       see "colors"
356
357   brushStyle
358       Sets the shape of points for Chart::Points, Chart::LinesPoints.
359
360       Possible values are: 'FilledCircle', 'circle', 'donut', 'OpenCircle',
361       'fatPlus', 'triangle', 'upsidedownTriangle', 'square', 'hollowSquare',
362       'OpenRectangle', 'FilledDiamond', 'OpenDiamond', 'Star', 'OpenStar'.
363       Default: 'FilledCircle'. Look at Demo at "Points" in
364       Chart::Manual::Types.
365
366   brush_style1
367       "Composite" only: brush style of points associated with left y-axis.
368
369   brush_style2
370       "Composite" only: brush style of points associated with right y-axis.
371
372   colors
373       The key "colors" is special, because there are a lot of things that
374       need to be colored. That's why its value is a hash with keys within,
375       which name what exactly needs to be colored. Their value has to be a
376       color definition (name, RGB array ref or HSL hash ref):
377
378           $obj->set('colors' => {'background' => [255,255,255]});
379
380       sets the background color to white (which is the default). Valid keys
381       are:
382
383           'background' (background color for the image)
384           'title' (color of the title)
385           'text' (all the text in the chart)
386           'x_label' (color of the x-axis label)
387           'y_label' (color of the first y axis label)
388           'y_label2' (color of the second y axis label)
389           'grid_lines' (color of the grid lines)
390           'x_grid_lines' (color of the x grid lines - for x axis ticks)
391           'y_grid_lines' (color of the y grid lines - for to left y axis ticks)
392           'y2_grid_lines' (color of the y2 grid lines - for right y axis ticks)
393           'dataset0'..'dataset63' (the different datasets)
394           'misc' (everything else, ie. axis, ticks, box around the legend)
395
396       NB. For composite charts, there is a limit of 8 datasets per component.
397       The colors for 'dataset8' through 'dataset15' become the colors for
398       'dataset0' through 'dataset7' for the second component chart.
399
400   composite_info
401       "Composite" only: information about which data set gets visualized by
402       which chart type. It should be a reference to an array of array
403       references, containing information like the following:
404
405           $obj->set ('composite_info' => [ ['Bars', [1,2]],
406                            ['Lines', [3,4] ] ]);
407
408       This example would set the two component charts to be a bar chart and a
409       line chart.  It would use the first two data sets for the bar chart
410       (note that the numbering starts at 1, not zero like most of the other
411       numbered things in Chart), and the second two data sets for the line
412       chart.  The default is undef.
413
414       NB. Chart::Composite can only do two component charts.
415
416   custom_x_ticks
417       Used in "Points", "Lines", "Linespoints", "Errorbars", and "Bars"
418       charts. This option allows you to you to specify exactly which x-ticks
419       and x-tick labels should be drawn.  It should be assigned a reference
420       to an array of desired ticks.  Just remember that I'm counting from the
421       0th element of the array.  (ie., if 'custom_x_ticks' is assigned
422       [0,3,4], then the 0th, 3rd, and 4th x-ticks will be displayed)
423
424   datasetx
425       see "colors"
426
427   f_x_tick
428       Needs a reference to a function ("code") which uses the x-tick labels
429       generated by the '@data[0]' as the argument. The result of this
430       function can reformat the labels. For instance
431
432          $obj -> set ('f_x_tick' => \&formatter );
433
434       An example for the function formatter: x labels are seconds since an
435       event.  The referenced function can transform this seconds to hour,
436       minutes and seconds.
437
438   f_y_tick
439       The same situation as for 'f_x_tick' but now used for y labels.
440
441   f_y_tick1
442       "Composite" only: "code" ref to a function which has one argument and
443       has to return a string which labels the first resp. second y axis.
444       Both default to undef.
445
446   f_y_tick2
447       "Composite" only: "code" ref to a function which has one argument and
448       has to return a string which labels the first resp. second y axis.
449       Both default to undef.
450
451   graph_border
452       "Pie" only: Sets the number of pixels used as a border between the
453       title/labels and the actual graph within the image.  Defaults to 10.
454
455   grey_background
456       Puts a nice soft grey background on the data plot area when set to
457       'true'.  Default is 'true'.
458
459   grid_lines
460       bool: draw grid lines matching up to x and y ticks.  Default is
461       'false'.
462
463   imagemap
464       Lets Chart know you're going to ask for information about the placement
465       of the data for use in creating an image map from the png.  This
466       information can be retrieved using the imagemap_dump() method.  NB.
467       that the imagemap_dump() method cannot be called until after the Chart
468       has been generated.
469
470   include_zero
471       If 'true', forces the y-axis to include zero if it is not in the
472       dataset range. Default is 'false'.
473
474       In general, it is better to use this, than to set the "min_val" if that
475       is all you want to achieve.
476
477   integer_ticks_only
478       bool specifies to draw the x- and y-ticks at floating point values (as
479       normal) or when set to 'true' only at integer values.  Default: 'false'
480
481   interval
482       "Split" only: Sets the interval of one partition of plot. Defaults
483       'undef'.
484
485   interval_ticks
486       "Split" only: Number of ticks for the x-axis. Defaults to 5.
487
488   label_font
489       This option changes the "font" of the axis labels.  Default is
490       GD::Font->MediumBold.
491
492   label_values
493       "Pie" only: What kind of value labels to show alongside the pie.  Valid
494       values are 'percent', 'value', 'both' and 'none'.  Defaults to
495       'percent'.
496
497   legend
498       Specifies the placement of the legend.  Valid values are 'left',
499       'right', 'top', 'bottom'.  Setting this to 'none' tells chart not to
500       draw a legend.  Default is 'right'.
501
502   legend_example_size
503       "Composite" only: Length of the example line in the legend in pixels.
504       Defaults to 20.
505
506   legend_font
507       This option changes the "font" of the text in the legend.  Default is
508       GD::Font->Small.
509
510   legend_labels
511       Array reference containing texts, which are the labels assigned to each
512       color in the legend. Amount has to correspond to the amount of data
513       sets.
514
515         @labels = ('foo', 'bar');
516         $obj->set ('legend_labels' => \@labels);
517
518       Default is empty, in which case 'Dataset 1', 'Dataset 2', etc. are used
519       as the labels.
520
521   legend_label_values
522       "Pie" only: What labels to draw in the legend. Valid values are
523       c<'percent'>, 'value', 'both' and 'none'. Defaults to 'value'.
524
525   legend_lines
526       "Pie" only: bool to decide if lines connecting pie slices and label are
527       drawn. Default is 'false'.
528
529   label_values
530       "Pie" only: Labels to draw beside the pie slices. Valid values are
531       'percent', 'value', 'both' and 'none'. Defaults to 'percent'.
532
533   line
534       "Direction" only: If you turn this option to 'true', then point will be
535       connected with lines. Defaults to 'false'.
536
537   max_circles
538       "Direction" only: Sets the maximum number of circles in the coordinate
539       system.  Default is 100. This limit is used to avoid plotting  an
540       unreasonable large number of ticks if non-round values are used for the
541       min_val and max_val.
542
543   max_val
544       Sets the maximum y-value on the graph, overriding the normal auto-
545       scaling.  Default is undef.
546
547   max_val1
548       "Composite" only: Maximum y-value for the first (left y-axis)
549       components.  Default to undef.
550
551   max_val2
552       "Composite" only: Maximum y-value for the second (right y-axis)
553       components.  Default to undef.
554
555   max_x_ticks
556       Work similar as 'max_y_ticks' and 'min_y_ticks'. Of course, only for a
557       xy_plot.
558
559   max_y_ticks
560       Sets the maximum number of y_ticks to draw when generating a scale.
561       Default is 100. This limit is used to avoid plotting an unreasonable
562       large number of ticks if non-round values are used for the min_val and
563       max_val.
564
565       The value for 'max_y_ticks' should be at least 5 times larger than
566       'min_y_ticks'.
567
568   min_circles
569       "Direction" only: Sets the minimum number of circles when generating a
570       scale for direction. Default is 4, minimum is 2.
571
572   min_val
573       Sets the minimum y-value on the graph, overriding the normal auto-
574       scaling.  Default is undef.
575
576       Caution: should be used when setting 'max_val' and 'min_val' to
577       floating point or non-round numbers. This is because the scale must
578       start & end on a tick, ticks must have round-number intervals, and
579       include round numbers.
580
581       Example: Suppose your data set has a range of 35-114 units. If you
582       specify them as the 'min_val' & 'max_val', the y_axis will be plotted
583       with 80 ticks every 1 unit.. If no 'min_val' & 'max_val', the system
584       will auto scale the range to 30-120 with 10 ticks every 10 units.
585
586       If the 'min_val' & 'max_val' are specified to excessive precision, they
587       may be overridden by the system, plotting a maximum 'max_y_ticks'
588       ticks.
589
590   min_val1
591       "Composite" only: Minimum y-value for the first (left y-axis)
592       component.  Default to undef.
593
594   min_val2
595       "Composite" only: Minimum y-value for the second (right y-axis)
596       component.  Default to undef.
597
598   min_x_ticks
599       Work similar as 'max_y_ticks' and 'min_y_ticks'. Of course, only for a
600       xy_plot.
601
602   min_y_ticks
603       Sets the minimum number of y_ticks to draw when generating a scale.
604       Default is 6, The minimum is 2.
605
606   no_cache
607       Adds Pragma: no-cache to the http header while output for CGI.  Be
608       careful with this one, as Netscape 4.5 is unfriendly with POST using
609       this method.
610
611   pairs
612       Direction only: bool if 'true', Chart uses the first dataset as a set
613       of degrees and the second dataset as a set of values.  Then, the third
614       set is a set of degrees and the fourth a set of values ...  If 'pairs'
615       is set to 'false', Chart uses the first dataset as a set of angels and
616       all following datasets as sets of values. Defaults to 'false'.
617
618   png_border
619       Sets the number of pixels used as a border between the graph and the
620       edges of the image.  Defaults to 10.
621
622   point
623       Indicates to draw points in a direction chart. 'true' or 'false'
624       possible. Defaults to 'true'.
625
626   polar
627       "Direction" only: If set 'true', the maximum x value is in the center
628       of the coordinate system. Defaults to 'false'.
629
630   precision
631       Sets the number of numerals after the decimal point. Affects in most
632       cases the y-axis. But also the x-axis if "xy_plot" was set and also the
633       labels in a pie chart. Defaults to 3.
634
635   pt_size
636       "Points" and "LinesPoints" only: Sets the radius of the points in
637       pixels.  Default is 18.
638
639   ring
640       "Pie" only: sets the "thickness" of the pie, the percentage of the
641       radius, which is visible. Defaults to 1 (full pie chart).  Good values
642       are between 0.2 and 0.4.
643
644   scale
645       "Split" only: Every y-value will be multiplied with that value, but the
646       scale won't change. Which means that split allows one to overdraw
647       certain  rows! Only useful if you want to give prominence to the
648       maximal amplitudes of the data. Defaults to 1.
649
650   same_error
651       "ErrorBars" only: It tells chart that you want use the same error value
652       of a data point if set to 'true'. Look at the documentation to see how
653       the module ErrorBars works. Default: 'false'.
654
655   same_y_axes
656       "Composite" only: Forces both component charts to use the same maximum
657       and minimum y-values if set to 'true'.  This helps to keep the
658       composite charts from being too confusing.  Default is "undef".
659
660   skip_int_ticks
661       If 'true' the labels and ticks will be drawn every nth tick. Of course
662       in horizontalBars it affects the x-axis. Default to 1, no skipping.
663
664   skip_x_ticks
665       Sets the number of x-ticks and x-tick labels to skip.  (ie.  if
666       'skip_x_ticks' was set to 4, Chart would draw every 4th x-tick and
667       x-tick label).  Default is "undef".
668
669   skip_y_ticks
670       "HorizontalBars" only: Draw only every n'th tick with label on y-axis.
671       does for other charts. Defaults to 1 (draw all).
672
673   sort
674       In a xy-plot, the data will be sorted ascending if set to 'true'.
675       (Should be set if the data isn't sorted, especially in Lines, Split and
676       LinesPoints) In a Pareto Chart the data will be sorted descending.
677       Defaults to 'false'.
678
679   spaced_bars
680       "Bars" only: Leaves space between the groups of bars at each data point
681       when set to 'true'.  This just makes it easier to read a bar chart.
682       Default is 'true'.
683
684   start
685       "Split" only: Sets the start value of the first interval.  If the x
686       coordinate of the first data point is zero, you should 'set' to zero.
687       Default is 'undef'.
688
689   sub_title
690       Write a sub-title under the "title" in smaller letters.  Default is
691       empty.
692
693   text_space
694       Sets the amount of space left on the sides (lext and right) of text,
695       (title, legend, label) to make it more readable.  Defaults to 2.
696
697   tick_label_font
698       This is the font for the tick labels. It also needs a GD font object as
699       an argument. Default is GD::Font->Small.
700
701   tick_len
702       Sets the length of the x- and y-ticks in pixels.  Default is 4.
703
704   title
705       Content of title text. If empty, no title is drawn.  It recognizes '\n'
706       as a newline, and acts accordingly.  Remember, if you want to use
707       normal quotation marks instead of single quotation marks then you have
708       to quote "\\n". Default is empty.
709
710   title_font
711       This option changes the "font" of the title. Default is
712       GD::Font->Large.
713
714   transparent
715       Makes the background of the whole image transparent if set to 'true'.
716       Useful for making web page images.  Default is 'false'.
717
718   x_grid_lines
719       Draws vertical grid lines matching up to x ticks if set to 'true'.
720       Default is 'false'.
721
722   x_label
723       Tells Chart what to use for the x-axis label.  If empty, no label is
724       drawn.  Default is empty.
725
726   x_ticks
727       Specifies how to draw the x-tick labels.  Valid values are 1: 'normal',
728       2: 'staggered' (alternating on upper and lower row - for very long
729       labels), and 3: 'vertical' (the labels are draw upwards in right
730       angle).  Default is 'normal'.
731
732   xy_plot
733       Forces Chart to plot a x-y-graph, which means, that the x-axis is also
734       numeric if set to 'true'. Very useful for mathematical graphs.  Works
735       for Lines, Points, LinesPoints and ErrorBars. Split makes always a
736       xy_plot. Defaults to 'false'.
737
738   y_label
739       Tells Chart what to use for labels on the standard, left y-axis.  If
740       empty, no label is drawn.  Default is empty ('').
741
742   y_label2
743       Text of the label on the second, right y-axis (if different from left).
744       If empty, no label is drawn.  Default is empty ('').
745
746   y_axes
747       Tells Chart where to place the y-axis. Has no effect on Composite and
748       Pie.  Valid values are 'left', 'right' and 'both'. Defaults to 'left'.
749
750   y_grid_lines
751       Draws horizontal grid lines matching up to y ticks if set to 'true'.
752       Default is 'false'.
753
754   y_ticks1
755       Composite only: number of y ticks to use on the first and second y-axis
756       (y_ticks2).  Please note that if you just set the 'y_ticks' option,
757       both axes will use that number of y ticks. Both default to undef.
758
759   y_ticks2
760       see "y_ticks1"
761
763       Copyright 2022 David Bonner, Herbert Breunung.
764
765       This program is free software; you can redistribute it and/or modify it
766       under same terms as Perl itself.
767

AUTHOR

769       David Bonner, <chartgrp@web.de>
770
771       Herbert Breunung, <lichtkind@cpan.org>
772
773
774
775perl v5.36.0                      2022-08-01      Chart::Manual::Properties(3)
Impressum