xAxis.notes.data.icon Object

The icon of the note.

xAxis.notes.data.icon.background String

The background color of the note icon.

Example - set the x axis note icon background

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

xAxis.notes.data.icon.border Object

The border of the icon.

Example - set the x axis note icon border

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

xAxis.notes.data.icon.border.color String

The border color of the icon.

Example - set the x axis note icon border color

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

xAxis.notes.data.icon.border.width Number

The border width of the icon.

Example - set the x axis note icon border width

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

xAxis.notes.data.icon.size Number

The size of the icon.

Example - set the x axis note icon size

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

xAxis.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 x axis note icon shape

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

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

The icon visibility.

Example - set the x axis note icon visibility

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