Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

114
Vistas
Is it possible to use gradient + background color for areaColor along with visualMap

thanks for your time! I am using a similar example to visualize my data. I want to improve the visualization of the map and make a gradient. More or less like this. After reading the documentation, I realized that apparently this is not possible:

inRange: {
 color: [
  new echarts.graphic.RadialGradient(0.5, 0.5, .5, [
   {
    offset: 0,
    color: 'green'
   },
   {
     offset: 0,
     color: 'rgb(35, 184, 116, 0.2)'
   }]), 
   'rgba(255, 88, 74, 0.7)'
   ]
}

I tried to play around with overlaying two equivalent series and different settings for them, but unfortunately it doesn't work.

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

I solved the problem. By adding a gradient like this.

const mapOptions = {
series: [
  ...,
  {..., itemStyled: {..., areaColor: gradient}},
 ] 
}

And I already created the information panel manually and added functionality through

mapInstance.setOptions(newSeriesOption)
about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda