vico
vico copied to clipboard
Arbitrary timestamps on X-Axis
Hello,
thank you for the library and the recent updates.
I would like to implement the following chart:
Temperature on the Y-Axis and timestamp of measurements on the X-Axis with different gaps between the events and ticks for days.
This is not possible right now, correct?
Hello! In simpler cases, this would be possible. For instance, you could set the tick spacing to 7 and display one tick per one week’s worth of data. For days with no data, you’d not include an entry with the corresponding x value in the data set. Vico would space out the points as expected. However, in your case, such an approach would require setting the tick spacing to 86,400 (the number of seconds in a day). This would most likely degrade performance and cause other issues. We’ll be looking into how your use case could be accommodated.
Hello! Vico 1.7.0 makes this possible.