echarts
echarts copied to clipboard
Flexibility to format value in the axis pointer tooltip[Feature]
What problem does this feature solve?
Looking for a way to format value in axis pointer tooltip along with label
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'
}
}
Hi,
Any update on this issue?
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.
Hi, any update on this issue?