Kendo 折线图 - 点之间的差距

Kendo line chart - gap between points

我使用的是最新版本的 Kendo 图表,我想要一个年份之间有间隔的折线图 - 每年有 3 个垂直轴点。

我试过的

    $("#chart").kendoChart({ series: [{
        colorField: "valueColor",
        data: [
         { value: 1, valueColor: "red" },
         { value: 2, valueColor: "green" },
         { value: 2, valueColor: "blue" }
        ]
      }],
      seriesDefaults: {
        type: "line",
        markers: {
           // background: "#da7633",
        },
        style: "smooth",
        missingValues: "gap" 
        //width: "3px"
      },
    });

有人能帮忙吗?

最后我发现单独数据源的方法(一个显示在图例中,其余隐藏)是根据 https://dojo.telerik.com/ILIYofED/18 实现此目的的最佳方法 - 注意 click/mouseover 事件允许整行(实际上包含单独的数据源)看起来像一个

...
series: [
  {
    field: "value",
    categoryField: "year",
    name: "United States",
    color: "orange"
  },
  {
    field: "expectedValue",
    dashType: "dash",
    color: "orange",
    name: "auxilliary",
    visibleInLegend: false

  }
],
legendItemClick: function(e){
  var chart = this;
  if(e.series.name === "United States"){
    chart.findSeriesByName("auxilliary").toggleVisibility(!e.series.visible);
  }
},
legendItemHover: function(e){
  var chart = this;
  if(e.series.name === "United States"){
    chart.findSeriesByName("auxilliary").toggleHighlight(e.series.highlight.visible);
  }
},          
legendItemLeave: function(e){
  var chart = this;
  if(e.series.name === "United States"){
    chart.findSeriesByName("auxilliary").toggleHighlight(!e.series.highlight.visible);
  }
}, 
...