SVGGraph options tagged 'data-label'
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
47 options with tag data-label:
Option | Default | Summary |
---|---|---|
data_label_align | null |
Data label text alignment. |
data_label_angle | 0 |
Text angle for data labels. |
data_label_back_colour | NULL |
Colour of label text border. |
data_label_back_colour_outside | NULL |
Alternative label text border colour. |
data_label_callback | NULL |
Callback function for data label text. |
data_label_click | false |
Enables click-to-show/hide for data labels. |
data_label_colour | "rgb(0,0,0)" |
Text colour for data labels. |
data_label_colour_outside | NULL |
Alternative text colour for data labels. |
data_label_datetime_format | "Y-m-d H:i:s" |
Date format for date/time keys in labels. |
data_label_fade_in_speed | 0 |
Fade in speed for data labels. |
data_label_fade_out_speed | 0 |
Fade out speed for data labels. |
data_label_fill | "white" |
Data label background colour. |
data_label_filter | NULL |
Limits the data labels displayed. |
data_label_font | "Arial" |
Font used for data labels. |
data_label_font_adjust | 0.6 |
Font adjust value for label text. |
data_label_font_size | 10 |
Font size for data labels. |
data_label_font_weight | "normal" |
Font weight for data labels. |
data_label_line_spacing | null |
Sets line spacing for data labels. |
data_label_max_count | 100 |
Maximum number of data labels to display. |
data_label_min_space | 0 |
Minimum space required for label. |
data_label_opacity | 1 |
Sets the opacity of data labels. |
data_label_outline_colour | "rgb(0,0,0)" |
Edge colour for data labels. |
data_label_outline_thickness | 1 |
Line thickness for data labels. |
data_label_padding | 3 |
Space inside data label boxes. |
data_label_padding_x | NULL |
Horizontal space in data label box. |
data_label_padding_y | NULL |
Vertical space in data label box. |
data_label_popfront | false |
Enables pop-to-front for data labels. |
data_label_position | "top" |
Position of data label. |
data_label_round | 0 |
Radius of data label corners. |
data_label_same_size | false |
Determines if all data labels should be the same size. |
data_label_shadow_opacity | 0.3 |
Opacity of data label shadows. |
data_label_space | 3 |
The space between the label and the data item. |
data_label_tail_end | "flat" |
Style of data label tail ending. |
data_label_tail_end_angle | 45 |
Angle of data label tail ending. |
data_label_tail_end_width | 10 |
Width of data label tail ending. |
data_label_tail_length | 3 |
Length of data label tails. |
data_label_tail_width | 5 |
Thickness of data label tails. |
data_label_type | "plain" |
The style of label to use. |
label | NULL |
Adds custom labels to the graph. |
label_percent_decimals | 2 |
Decimal places in label percentages. |
label_position | 0.75 |
Distance of label from centre. |
show_data_labels | false |
Displays labels for data items. |
show_label_amount | false |
Shows item amount in data label. |
show_label_key | true |
Shows item key in data label. |
show_label_percent | false |
Shows item percentage in data label. |
units_before_label | NULL |
String to display before value in data labels. |
units_label | NULL |
String to display after value in data labels. |