Discontinuos data axes - tooltip management

Marco Berardi avatarMarco Berardi created an issue

Hi, I'm looking for a way to generate non continuous data axes. Since axis with breakpoints are currently implemented only for linear axis, I just used a little trick. My situation regards a large amount of data for the week, but no points for sat and sun; hence, each monday should start immediately after the previous friday. I was able to obtain this behavior modifying properly the input data and the creation of the label, in order to display the "fake" values (minus 2 days for each week after the first); however, I still haven't found a way to display such value from the tooltip and the highlighter (no matter what, they show the original value). Can you give me a hint for the right direction? In particular, at which point can I modify the value displayed from such elements? Haven't got any luck with the manual examination of the code. Thanks a lot and congrats for the awesome job!

Comments (0)

  1. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.