Remove legend color boundary

后端 未结 1 1992
名媛妹妹
名媛妹妹 2021-01-26 09:49

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?

<
1条回答
  •  星月不相逢
    2021-01-26 10:32

    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();
    

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

    stroke: {
      color: "none"
    }
    

    or

    stroke: {
      color: ""
    }
    

    0 讨论(0)
提交回复
热议问题