Enables visual annotations on your graph, with its structure depending on the graphType. For network graphs, it is an array of node property names; for one-dimensional graphs, it is an object with primary keys like line, range, point, text, marker, or error; and for scatter plots, it is an object with primary keys such as linear, exponential, logarithmic, power, polynomial, nonlinearfit, regression, normal, line, text, label, point, range, image, or polygon. In the latter two cases, the value for each primary key is an array of objects, where each object specifies the properties of a decoration, for example, for a one-dimensional line: {line: [{value: 5, color: "#ff0000", width: 2, label: "Threshold", align: "right"}]}, or for a scatter plot linear fit: {linear: [{x: 1, y: 2, x2: 3, y2: 4, color: "#ff0000", width: 2, label: "Threshold", align: "right"}]}
object or array
Area,
AreaLine,
Bar,
BarLine,
Boxplot,
Bullet,
Contour,
Density,
DotLine,
Dotplot,
Dumbbell,
Histogram,
Line,
Lollipop,
Network,
Scatter2D,
Scatter3D,
ScatterBubble2D,
Stacked,
StackedLine,
StackedPercent,
StackedPercentLine,
Violin,
Waterfall