As suggested by Bryan in a GH topic (https://github.com/bokeh/bokeh/issues/3193), I’m trying to build a custom TickFormatter. My goal is to plot financial times series with “broken” x axis (that is, the series has gaps on weekends and holidays which I wish not to be plotted, which is currently impossible with the Datetime plot).
I cloned & compiled the dev repo just fine. However, I’m having some issues defining a new TickFormatter. I just copied and pasted the PrintfTickFormatter class and the corresponding coffeescript file and renamed the copied code as “DateGapTickFormatter”. This is the JS console output when I try instantiating the new TickFormatter:
Module `DateGapTickFormatter’ does not exists. The problem may be two fold. Either a model was requested that’s available in an extra bundle, e.g. a widget, or a custom model was requested, but it wasn’t registered before first usage.
Is there anything else I need to do besides defining the TickFormatter class and the coffeescript?