Edit this page

seriesDefaults.notes.line Object

The line of the notes.

seriesDefaults.notes.line.dashType String (default: "solid")

The dash type of the note line.

The following dash types are supported:

  • "dash" - a line consisting of dashes
  • "dashDot" - a line consisting of a repeating pattern of dash-dot
  • "dot" - a line consisting of dots
  • "longDash" - a line consisting of a repeating pattern of long-dash
  • "longDashDot" - a line consisting of a repeating pattern of long-dash-dot
  • "longDashDotDot" - a line consisting of a repeating pattern of long-dash-dot-dot
  • "solid" - a solid line

seriesDefaults.notes.line.width Number

The line width of the notes.

Example - set the value axis notes line width

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  dataSource: {
    data: [{
      value: 1,
      noteText: "A"
    }]
  },
  seriesDefaults: {
    notes: {
      line: {
        width: 4
      }
    }
  },
  series: [{
    field: "value",
    noteTextField: "noteText"
  }]
});
</script>

seriesDefaults.notes.line.color String

The line color of the notes.

Example - set the seriesDefaults notes color width

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  dataSource: {
    data: [{
      value: 1,
      noteText: "A"
    }]
  },
  seriesDefaults: {
    notes: {
      line: {
        color: "#aa00bb"
      }
    }
  },
  series: [{
    field: "value",
    noteTextField: "noteText"
  }]
});
</script>

seriesDefaults.notes.line.length Number

The length of the connecting lines in pixels.

Example - set the seriesDefaults notes color width

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  dataSource: {
    data: [{
      value: 1,
      noteText: "A"
    }]
  },
  seriesDefaults: {
    notes: {
      line: {
        length: 20
      }
    }
  },
  series: [{
    field: "value",
    noteTextField: "noteText"
  }]
});
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy