public interface PlotAdLabelOptions extends Any
graph
or an
area
.
Requires the series-label.js
module.Modifier and Type | Method and Description |
---|---|
Array<LabelIntersectBoxObject> |
getBoxesToAvoid()
(Highcharts, Highstock, Gantt) An array of boxes to avoid when laying out
the labels.
|
boolean |
getConnectorAllowed()
(Highcharts, Highstock, Gantt) Allow labels to be placed distant to the
graph if necessary, and draw a connector line to the graph.
|
double |
getConnectorNeighbourDistance()
(Highcharts, Highstock, Gantt) If the label is closer than this to a
neighbour graph, draw a connector.
|
boolean |
getEnabled()
(Highcharts, Highstock, Gantt) Enable the series label per series.
|
double |
getMaxFontSize()
(Highcharts, Highstock, Gantt) For area-like series, allow the font size
to vary so that small areas get a smaller font size.
|
double |
getMinFontSize()
(Highcharts, Highstock, Gantt) For area-like series, allow the font size
to vary so that small areas get a smaller font size.
|
boolean |
getOnArea()
(Highcharts, Highstock, Gantt) Draw the label on the area of an area
series.
|
CSSObject |
getStyle()
(Highcharts, Highstock, Gantt) Styles for the series label.
|
void |
setBoxesToAvoid(Array<LabelIntersectBoxObject> value)
(Highcharts, Highstock, Gantt) An array of boxes to avoid when laying out
the labels.
|
void |
setConnectorAllowed(boolean value)
(Highcharts, Highstock, Gantt) Allow labels to be placed distant to the
graph if necessary, and draw a connector line to the graph.
|
void |
setConnectorNeighbourDistance(double value)
(Highcharts, Highstock, Gantt) If the label is closer than this to a
neighbour graph, draw a connector.
|
void |
setEnabled(boolean value)
(Highcharts, Highstock, Gantt) Enable the series label per series.
|
void |
setMaxFontSize(double value)
(Highcharts, Highstock, Gantt) For area-like series, allow the font size
to vary so that small areas get a smaller font size.
|
void |
setMinFontSize(double value)
(Highcharts, Highstock, Gantt) For area-like series, allow the font size
to vary so that small areas get a smaller font size.
|
void |
setOnArea(boolean value)
(Highcharts, Highstock, Gantt) Draw the label on the area of an area
series.
|
void |
setStyle(CSSObject value)
(Highcharts, Highstock, Gantt) Styles for the series label.
|
@Nullable Array<LabelIntersectBoxObject> getBoxesToAvoid()
left
, right
, top
and bottom
property.void setBoxesToAvoid(Array<LabelIntersectBoxObject> value)
left
, right
, top
and bottom
property.boolean getConnectorAllowed()
void setConnectorAllowed(boolean value)
double getConnectorNeighbourDistance()
void setConnectorNeighbourDistance(double value)
boolean getEnabled()
void setEnabled(boolean value)
double getMaxFontSize()
void setMaxFontSize(double value)
double getMinFontSize()
void setMinFontSize(double value)
boolean getOnArea()
false
to draw it
next to the graph instead.void setOnArea(boolean value)
false
to draw it
next to the graph instead.@Nullable CSSObject getStyle()
onArea
.void setStyle(CSSObject value)
onArea
.Copyright © 2020. All rights reserved.