Hi Paulo,
The value property is the original item in your data array.
data: [ { value: [0, 0, 549], itemStyle: { borderColor: '#000' } }]
Regards
On Sun, Sep 26, 2021 at 3:07 AM Paulo <[email protected]> wrote:
> I'm using vue-echarts v5.0.0-beta.0/ echarts v4.9.0 with JS...
>
> I'm trying to change the border of the middle cell to give emphasis to it.
>
> I could change the border for the entire chart with
> series-heatmap.itemStyle but not for only one cell.
>
> the result i'm expecting looks like the image above:
> [image: image.png]
>
> I found in the docs that if customization was needed for some specific
> item, it could be setted up in data array:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *[ 12, 24, { value: [24, 32], // label style, only
> works in this data item. label: {}, // item style, only works
> in this data item. itemStyle:{} }, 33]// Or[ [12, 332],
> [24, 32], { value: [24, 32], // label style, only works in
> this data item. label: {}, // item style, only works in this
> data item. itemStyle:{} }, [33, 31]]*
>
> my array data serie is setted like:
>
> *data: [ [0, 0, 549], [0, 1, 571] , ...]*
>
> I already tried to change only the array with "653" in the middle
> following those examples but without success...
> *data: [..., ['X_position, Y_position, {value: "635", itemStyle:
> {borderColor: "#000"}], ...]*
>
> thanks in advance
>
> --
>
> Att.
> Paulo Lenz Junior
> Administrador de Redes
> Mob. (45) 9926-9899
>
--
Yi Shen
Apache ECharts PMC