-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
Description
Bug report
When no data, annotations is shown
Codepen
https://codepen.io/pacocom/pen/xxVwgaQ
Explanation
- What is the behavior you expect?
When no data, all annotations should be hidden or add property show inside property "annotations" for show: false, example:
annotations: {
position: "front",
yaxis: [
{
show: !![].length, // Please, create/add this property
y: 3,
y2: null,
borderColor: "red",
fillColor: "red",
strokeDashArray: 0,
label: {
borderColor: "transparent",
style: {
color: "red",
background: "transparent"
},
text: "Annotation text",
textAnchor: "start",
position: "left"
}
}
]
},
-
What is happening instead?
When no data, annotations is shown -
What error message are you getting?
No error message.
julienperrault