SVGGraph options tagged 'legend'
This page lists all the options currently available for use in the SVGGraph
constructor's $settings
array. The lists of graph types and tags
can be used to filter the list of options, and each option name is a link to
a page with further details about the option.
Graph type support: ArrayGraph Bar3DGraph BarAndLineGraph BarGraph BoxAndWhiskerGraph BubbleGraph CandlestickGraph CylinderGraph Donut3DGraph DonutGraph EmptyGraph ExplodedDonut3DGraph ExplodedDonutGraph ExplodedPie3DGraph ExplodedPieGraph ExplodedSemiDonut3DGraph ExplodedSemiDonutGraph FloatingBarGraph GanttChart GroupedBar3DGraph GroupedBarGraph GroupedCylinderGraph Histogram HorizontalBar3DGraph HorizontalBarGraph HorizontalFloatingBarGraph HorizontalGroupedBar3DGraph HorizontalGroupedBarGraph HorizontalStackedBar3DGraph HorizontalStackedBarGraph LineGraph MultiLineGraph MultiRadarGraph MultiScatterGraph MultiSteppedLineGraph Pie3DGraph PieGraph PolarArea3DGraph PolarAreaGraph PopulationPyramid RadarGraph ScatterGraph SemiDonut3DGraph SemiDonutGraph StackedBar3DGraph StackedBarAndLineGraph StackedBarGraph StackedCylinderGraph StackedGroupedBar3DGraph StackedGroupedBarGraph StackedGroupedCylinderGraph StackedLineGraph SteppedLineGraph
41 options with tag legend:
Option | Default | Summary |
---|---|---|
legend_autohide | false |
Makes the legend hide when the cursor is over it. |
legend_autohide_opacity | 0 |
Opacity of legend when hidden. |
legend_back_colour | "white" |
Colour of legend background. |
legend_colour | "black" |
Colour of legend entries text. |
legend_column_spacing | null |
Spacing between legend columns. |
legend_columns | 1 |
Number of columns in which to display entries. |
legend_draggable | true |
Makes the legend draggable with the mouse. |
legend_entries | NULL |
Array of entries for the legend. |
legend_entries_callback | null |
Allows modification of legend entries. |
legend_entry_height | 20 |
Height of legend entry box. |
legend_entry_spacing | null |
Spacing between legend entry text and shape. |
legend_entry_width | 20 |
Width of legend entry box. |
legend_font | "Arial" |
Font for legend entries. |
legend_font_adjust | 0.6 |
Ratio of font width to height. |
legend_font_size | 10 |
Font size for legend entries. |
legend_font_weight | "normal" |
Font weight for legend entries. |
legend_line_spacing | null |
Sets line spacing for legend entries. |
legend_order | "auto" |
Sets the order that entries appear in the legend. |
legend_padding | 5 |
Amount of spacing between entries in legend. |
legend_padding_x | null |
Sets padding at left and right sides of legend. |
legend_padding_y | null |
Sets padding at top and bottom of legend. |
legend_position | "top right" |
Position of the legend. |
legend_round | 0 |
Radius of rounded corners for legend border. |
legend_shadow_opacity | 0.3 |
Darkness of shadow. |
legend_show_empty | false |
Set to true to display legend entries for 0 or NULL values. |
legend_spacing | null |
Spacing between legend entries. |
legend_stroke_colour | "black" |
Colour of legend border. |
legend_stroke_width | 1 |
Thickness of legend border. |
legend_text_side | "right" |
Side on which to put entry text. |
legend_title | "" |
Title for legend. |
legend_title_colour | NULL |
Colour of legend title. |
legend_title_font | NULL |
Font for legend title. |
legend_title_font_adjust | NULL |
Ratio of font width to height. |
legend_title_font_size | NULL |
Font size for legend title. |
legend_title_font_weight | "bold" |
Font weight for legend title. |
legend_title_line_spacing | null |
Sets line spacing for legend titles. |
legend_title_link | null |
Sets a link for the legend title. |
legend_title_spacing | null |
Spacing between legend title and entries. |
legend_type | "all" |
Which data should have legend entries. |
legend_unique_fields | false |
Prevents duplicate legend entries. |
show_legend | true |
Enables displaying the legend. |