I am using markPoint to show the min & max -values. Time is on the
x-axis so the param sent to the formatter is the Date. I also want to
show the categorical Y-value? Is there a way to access it?
Code is something like:
series: [
{
type: 'line',
markPoint: {
data: [
{ type: 'max'},
{ type: 'min'}
],
label: {
formatter: (p) => {
console.info(p)
return Number( new Date(p.value)) // also want the
Y-value here
}
}
}
}
Thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]