Hello. I'm trying to make linear visualization with average workTime per document and max workTime throw all index. I have two dates: start and end process. So i created scripted field
doc['end_time'].value.toInstant().toEpochMilli() - doc['begin_time'].value.toInstant().toEpochMilli()
and made avg y-axes for this field.
But i can't understand how to draw max value of index.
I need chart like this:
Can u help me to understand how to make it?