echarts icon indicating copy to clipboard operation
echarts copied to clipboard

Flexibility to format value in the axis pointer tooltip[Feature]

Open MNHarshitha opened this issue 3 years ago • 2 comments

What problem does this feature solve?

Looking for a way to format value in axis pointer tooltip along with label image Axis Pointer Value Formatter

What does the proposed API look like?

A valueFormatter in axis pointer

label:{
formatter: ()=>{
return 'custom label'
}
valueFormatter:()=>{
return  'custom formatter value'
}
}

MNHarshitha avatar Jun 22 '22 05:06 MNHarshitha

Hi, Any update on this issue? image With reference to the above image we are able to modify the label in the tooltip using axisPointer on the xAxis along with the label we also want to modify the data/values that are being displayed beneath it i.e email: 90, union adds 270 etc... we only want to display the info related to the series which is hovered.

MNHarshitha avatar Aug 03 '22 10:08 MNHarshitha

Hi, any update on this issue?

MNHarshitha avatar Sep 08 '22 05:09 MNHarshitha