Image in xAxis Echarts

49 Views Asked by At

Change the style of image rendered in xAxisLabel of ECharts

does anyone know how can i style images in xaxis label in ECharts. I used this example to render image in xAxisLabel richStyleExample But somehow i cannot style the image (i only want to change the radius of it), however in the documentation I found this :

enter image description here

Does anyone knows how can I assign HTMLImageElement to this or somehow change the radius or style of the image?

I tried borderRadius in rich style, but it only works if the backgroundColor is not assign an image source.

1

There are 1 best solutions below

1
Abhay Padamani On

you have to give border width.

EXAMPLE: