xAxis.notes.icon Object

The icon of the notes.

xAxis.notes.icon.background String

The background color of the notes icon.

Example - set the x axis notes icon background

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

xAxis.notes.icon.border Object

The border of the icon.

Example - set the x axis notes icon border

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

xAxis.notes.icon.border.color String

The border color of the icon.

Example - set the x axis notes icon border color

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

xAxis.notes.icon.border.width Number

The border width of the icon.

Example - set the x axis notes icon border width

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

xAxis.notes.icon.size Number

The size of the icon.

Example - set the x axis notes icon size

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

xAxis.notes.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 notes icon shape

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

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

The icon visibility.

Example - set the x axis notes icon visibility

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