or

{ field: "ID", title: "Title", template: "#=TITLE#", editor: function () { if (RELATED) { MyEditor } else { } }
}.Notes(d => d.Position(ChartNotePosition.Top).Line(l => l.Width(0)).Label(m => m.Text("value"). Template("${value}").Position(ChartNoteLabelPosition.Outside)).Icon(i => i.Border(b=> b.Width(1)).Visible(true).Background("green").Type(ChartMarkerShape.Square)) )