Setting borderwidth to 0 still leaves a border on a sunburst graph

46 Views Asked by At

When setting the borderWidth of my sunburst graph to 0, there are still faint white lines that show and make it look unclean. Current appearance

Setting the bordercolor to something else (while the width is 0) doesn't change it. It appears that the faint white lines are actually because of the background colour being white.

My first thought was to set the border colour to the colour of the graph, but I will be using different colours across each set which makes this solution not applicable for me.

You can replicate this using the default code for a sunburst graph here. Just add the below code in this spot.

itemStyle: {
  borderWidth: 0,
  borderColor: transparent,
  },

Instead, does anyone have recommendations? Or should I post this as a bug on the github?

0

There are 0 best solutions below