yAxis.notes.data.icon Object

The icon of the note.

yAxis.notes.data.icon.background String

The background color of the note icon.

Example - set the y axis note icon background

<div id="chart"></div>
<script>
  $("#chart").kendoChart({
    series: [{
      type: "scatter",
      data: [[1, 2], [2, 3]]
    }],
    yAxis: {
      notes: {
        data: [{
          value: 1.3,
          icon: {
            background: "red"
          }
        }]
      }
    }
  });
</script>

yAxis.notes.data.icon.border Object

The border of the icon.

Example - set the y axis note icon border

<div id="chart"></div>
<script>
  $("#chart").kendoChart({
    series: [{
      type: "scatter",
      data: [[1, 2], [2, 3]]
    }],
    yAxis: {
      notes: {
        data: [{
          value: 1.3,
          icon: {
            border: {
              width: 2,
              color: "red"
            }
          }
        }]
      }
    }
  });
</script>

yAxis.notes.data.icon.border.color String

The border color of the icon.

Example - set the y axis note icon border color

<div id="chart"></div>
<script>
  $("#chart").kendoChart({
    series: [{
      type: "scatter",
      data: [[1, 2], [2, 3]]
    }],
    yAxis: {
      notes: {
        data: [{
          value: 1.3,
          icon: {
            border: {
              color: "red"
            }
          }
        }]
      }
    }
  });
</script>

yAxis.notes.data.icon.border.width Number

The border width of the icon.

Example - set the y axis note icon border width

<div id="chart"></div>
<script>
  $("#chart").kendoChart({
    series: [{
      type: "scatter",
      data: [[1, 2], [2, 3]]
    }],
    yAxis: {
      notes: {
        data: [{
          value: 1.3,
          icon: {
            border: {
              width: 2
            }
          }
        }]
      }
    }
  });
</script>

yAxis.notes.data.icon.size Number

The size of the icon.

Example - set the y axis note icon size

<div id="chart"></div>
<script>
  $("#chart").kendoChart({
    series: [{
      type: "scatter",
      data: [[1, 2], [2, 3]]
    }],
    yAxis: {
      notes: {
        data: [{
          value: 1.3,
          icon: {
            size: 30
          }
        }]
      }
    }
  });
</script>

yAxis.notes.data.icon.type String (default: "circle")

The icon shape.

The supported values are:

  • "circle" - the marker shape is circle.
  • "square" - the marker shape is square.
  • "triangle" - the marker shape is triangle.
  • "cross" - the marker shape is cross.

Example - set the y axis note icon shape

<div id="chart"></div>
<script>
  $("#chart").kendoChart({
    series: [{
      type: "scatter",
      data: [[1, 2], [2, 3]]
    }],
    yAxis: {
      notes: {
        data: [{
          value: 1.3,
          icon: {
            type: "triangle"
          }
        }]
      }
    }
  });
</script>

yAxis.notes.data.icon.visible Boolean (default: "true")

The icon visibility.

Example - set the y axis note icon visibility

<div id="chart"></div>
<script>
  $("#chart").kendoChart({
    series: [{
      type: "scatter",
      data: [[1, 2], [2, 3]]
    }],
    yAxis: {
      notes: {
        data: [{
          value: 1.3,
          icon: {
            visible: false
          }
        }]
      }
    }
  });
</script>
In this article