The dash type of line chart.

The dashType option is taken into consideration only if the series.type option is set to "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

Example - set the chart legend border dash type

<div id="stock-chart"></div>
<script>
    $("#stock-chart").kendoStockChart({
      series: [
        {
          dashType: "dashDot",
          type: "line",
          type: "candlestick",
          openField: "Open",
          highField: "High",
          lowField: "Low",
          closeField: "Close",
          data:[{
            "Date": "2016/01/01",
            "Open": 41.62,
            "High": 41.69,
            "Low": 39.81,
            "Close": 40.12,
            "Volume": 2632000
          }, {
            "Date": "2016/03/01",
            "Open": 40.62,
            "High": 39.69,
            "Low": 40.81,
            "Close": 39.12,
            "Volume": 2631986
          }
                ]
        }
      ],
      dateField: "Date"
    });
  </script>
In this article