series.median.dashType String (default: "solid")

The dash type of the median visual.

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

<div id="chart"></div>
<script>

  $("#chart").kendoChart({
    dataSource: {
      data: [{
        lower: 1,
        q1: 2,
        median: 3,
        q3: 4,
        upper: 5,
        mean: 3.5,
        outliers: [0,0,0.5,6,7,11]
      }]
    },
    series: [{
      type: "boxPlot",
      lowerField: "lower",
      q1Field: "q1",
      medianField: "median",
      q3Field: "q3",
      upperField: "upper",
      meanField: "mean",
      outliersField: "outliers",
      median: {
        color: 'yellow',
        width: 20,
        dashType: "dot"
      }
    }]
  });
</script>
In this article