删除图例颜色边界

问题描述:

我有以下实现.它的工作原理和功能.

I have the following implementation. It works and functional.

但是,我要删除黑色的图例颜色边界.我不知道怎么办?

However, I want to remove legend color boundary which is black. I could not able to figure out how?

 var marker = new kendo.drawing.Path({
    fill: {
        color: color
    }
  }).moveTo(10, 0).lineTo(10, 10).lineTo(0, 10).lineTo(0,0).close();

http://jsfiddle.net/1ost124j/3/

您可以将stroke(边框颜色)设置为与设置fill

You can set the stroke ( border color ) same as you set the fill

var marker = new kendo.drawing.Path({
  fill: {
    color: color
  },
  stroke: {
    color: color
  }
}).moveTo(10, 0).lineTo(10, 10).lineTo(0, 10).lineTo(0,0).close();

您还可以通过将stroke的颜色设置为无来删除它.

You could also remove the stroke by setting its color to none.

stroke: {
  color: "none"
}

stroke: {
  color: ""
}