problem description
there is a demand in actual production
fixed full-hour ticks from 22:00 to 10:00 on the horizontal axis, such as 22:00, 23 br.
but the background returns from 23:00 to 10:00, and the returned data is not specifically displayed on the horizontal axis
for example, 23:08 only needs to be between 22:00 and 23:00
the problem I can"t solve here is
1. How to design such a horizontal axis
2. How to match the data
the environmental background of the problems and what methods you have tried
I tried to generate 722 dots containing all the ticks from 22:00 to 10:00 (minutes)
and then encapsulated the data into ["10 br > "format
, but only one dot can be displayed, but the rest of the dots can not be displayed, but if the type of tooltip is the axis, guide line to the existing point, it will be displayed
related codes
/ / Please paste the code text below (do not replace the code with pictures)