How can I give the already available color in my Echart Geomap

Discussão em 'Angular' iniciado por RAJARISHI B, Fevereiro 10, 2025.

  1. RAJARISHI B

    RAJARISHI B Guest

    series: [
    {
    name: map_name,
    type: "map",
    map: map_name,
    emphasis: {
    label: {
    show: true,
    },
    itemStyle: {
    areaColor: null
    },
    },
    roam: true,
    aspectScale: 0.9,
    scaleLimit: { min: 1, max: 1.3 },
    data: this.geo_map_data,
    select: {
    itemStyle : {
    areaColor: null
    }
    }
    },
    ],


    Here in this code the select : { itemStyle : { areaColor : null }} I tries entering null, inherit, transparent but none of them seems to give the actual color. I already have colors based on some configurations how can I get the actual color there

    I tried entering null, inherit, transparent. Is there any other keyword that I can use to get the actual color. When I don't put anything in there it will be default as yellow

    Continue reading...

Compartilhe esta Página